Skip to content

can one do a diff with a live filesystem #244

Answered by aawsome
tshepang asked this question in Q&A
Discussion options

You must be logged in to vote

This is not completely possibe. There are two posibilites:

  1. The backup command automatically compares the parent snapshot with the live filesystem. If you want to compare with an arbitrary snapshot, you can manually set the parent using the --parent option.

To not backup but still see the changes, you can do a backup dry-run. If you also want to see, which files changed, use log-level debug:
rustic --log-level debug backup -n ...

This however has the limitation that files which do not exist in the live system, but exist in the snapshot, are not shown at all..

  1. The restore command also has a dry-run option. It knows which files are different, but so far only shows files which only exist i…

Replies: 2 comments 24 replies

Comment options

You must be logged in to vote
23 replies
@tshepang
Comment options

@aawsome
Comment options

@tshepang
Comment options

@aawsome
Comment options

@tshepang
Comment options

Answer selected by tshepang
Comment options

You must be logged in to vote
1 reply
@tshepang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants