0

I've got two servers, the second one being synced via rsync every now and then.

I've got some (few thousands ?) of big duplicate files on which I would like to use freedup to spare some space.

If I launch freedup on source, would an rsync -H replace real files on destination with hard links and save space there too ?

vincent.m
  • 85
  • 1
  • 1
  • 6

1 Answers1

1

Yes, however have these two considerations present:

  1. from freedup page "There are neither warranties nor guarantees for freedup working correctly"
  2. make sure to use --links as parameter for rsync, and not --copy-links or -a because (again from freedup page): "If hardlinking is not possible soft links are tried, except one of the paths is not starting at root (but can be forced)"
kamihack
  • 312
  • 1
  • 6