Skip to content

Added rsync options for better handling of sparse files and hard links#1

Open
joakimrydell wants to merge 1 commit intosnillevilla:masterfrom
joakimrydell:sparseFileHandling
Open

Added rsync options for better handling of sparse files and hard links#1
joakimrydell wants to merge 1 commit intosnillevilla:masterfrom
joakimrydell:sparseFileHandling

Conversation

@joakimrydell
Copy link
Copy Markdown

By including -aH, hard links are preserved in the backup copy. -S handles sparse files in a reasonable way (instead of creating large regular files with lots of zeros). For very large sparse files which changes regularly, one would actually want the first copy to specify -S, but subsequent copies should use "--inplace" instead (not both!). Oh well, this works for now. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant