I have a large directory called
servers, which contains many hard-links made by
rsnapshot. That means that the structure is more or less like:
./servers ./servers/daily.0 ./servers/daily.0/file1 ./servers/daily.0/file2 ./servers/daily.0/file3 ./servers/daily.1 ./servers/daily.1/file1 ./servers/daily.1/file2 ./servers/daily.1/file3 ...
The snapshots were created with
rsnapshot in a space-saving way: if
/servers/daily.0/file1 is the same as
/servers/daily.1/file1, they both point to the same inode using hard-link, instead of just copying a complete snapshot every cycle./servers/daily.0/file1/servers/daily.0/file1
I've tried to copy it with the hard links structure, in order to save space on the destination drive, using:
nohup time rsync -avr --remove-source-files --hard-links servers /old_backups
After some time, the rsync freezes - no new lines are added to the
nohup.out file, and no files seem to move from one drive to another. Removing the
nohup didn't solve the problem.
Any idea what's wrong?