Hi,
I have tried with S-tar but somehow it doesn't work as expected.
I created a simple testbackup directory with 1 dir inside and 1 file: (/testbackup/tdir.1/testfile)
then i used the command :
Code:
cp -al /testbackup/tdir.1 /testbackup/tdir.0
to make a hardlink copy.
Then i used the following s-tar command from the new server to copy the files from the old server to the new one:
Code:
ssh root@172.16.1.2 star -c -artype=xustar -p -acl /backup/testbackup/tdir.* | star -x -acl -p
This seemed to work just fine on the new backup server.
I checked with "
ls -li /backup/testbackup/tdir.0/testfile" and same file in tdir.1 and the inode number (or whatever its called) is the same so linked files are copied fine.
However when i try the exact same command on my whole 4.5TB data spread accross different directories (backup.0, backup.1, backup.2, etc) it doesn't see the hardlinks. I checked during the process and i can not see hardlinks.
This is driving me nuts!
Any other suggestions anyone?
Thx