fdupoux/fsarchiver

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

ramanzes opened this issue · 0 comments

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...