Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsync backups may create inconsistent backups with binNMU packages #45

Open
framps opened this issue Sep 22, 2024 · 0 comments
Open

rsync backups may create inconsistent backups with binNMU packages #45

framps opened this issue Sep 22, 2024 · 0 comments

Comments

@framps
Copy link

framps commented Sep 22, 2024

It's not an issue but a warning -> See this thread

Unfortunately rpi-clone doesn't support to pass any additional option for rsync. rsync uses the date and file size to decide whether a file was updated and will not backup binNMU files which keep the date and file size in new packages. You manually have to modify following line in rpi-clone:

rsync_options="--force -rltWDEHXAgoptx"

and add c if you want to use the checksum algorithm. Keep in mind this will have a serious performance impact.

I detected this issue when I restored a Raspberry 1B running with Bookworm and the NetworkManager didn't start any more. I described the fix here on my website. Actually I used raspiBackup to create and restore the backup but this is an issue for every backup tool which uses rsync as rpi-clone also does.

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

No branches or pull requests

1 participant