Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup and restore directory. now did not understand how to install the archive in the desired folder. #107

Open
ramanzes opened this issue Jun 24, 2021 · 0 comments

Comments

@ramanzes
Copy link

1.1)

[root@fedora /]# ls /home/vs/Downloads

sdd1_vmware_tools.fsa


1.2)
[root@fedora Downloads]# fsarchiver savedir /home/vs/Documents/dat1.fsa /home/vs/Downloads

Statistics for filesystem 0

  • files successfully processed:....regfiles=1, directories=1, symlinks=0, hardlinks=0, specials=0
  • files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0

2.1)
[root@fedora /]# ls /home/vs/Templates

[root@fedora /]#
(empty)

2.2)
[root@fedora Templates]# fsarchiver restdir /home/vs/Documents/dat1.fsa /home/vs/Templates
Statistics for filesystem 0

  • files successfully processed:....regfiles=1, directories=1, symlinks=0, hardlinks=0, specials=0
  • files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0

3.3)
[root@fedora /]# ls /home/vs/Templates
home

(/home/vs/Templates/home/vs/Downloads/sdd1_vmware_tools.fsa)

[root@fedora /]#

as a result I get all folders in the archive name twice. this is inconvenient and wrong I think.

A) my result now: /home/vs/Templates/home/vs/Downloads/sdd1_vmware_tools.fsa

B)the result I was counting on: /home/vs/Templates/sdd1_vmware_tools.fsa

Can you fix this? And is it possible to do to create an archive from files and not from directories? To unpack files directly to the desired directory without subdirectories...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant