I evaluate backup solution for common linux servers.
What happens if hard links are not preserved?
The only draw back I see: After the restore some MB more space is required. But this is no problem for my case.
I evaluate backup solution for common linux servers.
What happens if hard links are not preserved?
The only draw back I see: After the restore some MB more space is required. But this is no problem for my case.
Leaving aside the space problem....In the past I've come across applications where a single program is accessed via different filenames (and gives different behaviour) based on hard links (a quick look in my /usr/bin, I see enscript, gcc, perl, pyhton, sudo, zipinfo and others with multiple links) which makes we wonder what might happen when I install package upgrades (which may expect the link to already be there).
If hard links aren't preserved, I imagine you would use excess disk space, because a hard link is a link to an inode, so essentially, you would be copying the data rather than linking to it.
Note that this does have effects on restoring from the backup. If your backup solution unlinks the file before restoring it, then you can wind up with multiple copies of the file:
Suppose File A and File B are hard links to the same file. You recover File A from backup, so the backup software removes File A then restores from backup. You now have File A matching the backed up data and File B living on disk with the data you probably wanted overwritten.