Use rsnapshot for backups #7711
Replies: 1 comment 1 reply
-
There are a lot of great backup tools out there, each with its pros and cons, depending on use case and needs. But I do not aim to replace I had a look into their hard link usage, which is indeed clever for multiple backups, and easy to implement out end as well: https://manpages.debian.org/rsync#compare-dest=DIR [[ -d $FP_TARGET/data_2 ]] && aRSYNC_RUN_OPTIONS_BACKUP+=("--link-dest=$FP_TARGET/data_2") So if a file did not change between last and current backup iteration, the target file is created as hard link to the one in the last iteration. And this applies recursively over all iterations, i.e. if a file did not change at all between all daily backup iterations, they are all hard links to the same inode. There is a notice at the
Not such an easy sentence, and a little confusing in this context. But actually pretty natural and perfectly fine:
Now I wonder why this is mentioned in to
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've used
dietpi-backup
to have two days of backups available. I was looking into setting up an additional remote backup and came acrossrsnapshot
(https://rsnapshot.org/). This usesrsync
and hard links to make space saving backups, and sets up daily, weekly, monthly or whatever copies. It's a neat setup, and I was wondering whether this should be the default for DietPi.Beta Was this translation helpful? Give feedback.
All reactions