You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I don't use autorestic right now, but restic with my own scripts. I'm planning on switching over when I find the time. Something I've found very useful is to be able to automatically find large files and then use restic rewrite command to remove them from my backups.
Describe the solution you'd like
Currently this is my workflow:
For each snapshot run restic ls --json -l ${snapshotId} and write it to a file
I do some light processing to produce sizes of directories
Then sort by the largest files and directories
At this point I manually look through for directories / files that are large and I didn't want to backup anyway. I add them to a list of files to clean.
Then run restic rewrite all --dry-run --exclude-file clean-excludes.txt --verbose=3 to spot check
Then run restic rewrite all --exclude-file clean-excludes.txt --verbose=3 --forget to remove them
This does require relying on a fork of restic, but I find this very useful for my backups. Would love if something like this was available in autorestic (maybe opt-in?).
The text was updated successfully, but these errors were encountered:
I think this is a bit of a niece case for an actual implementation on autorestic side.
However: you can run any restic command with autorestic with the exec command. This should enable your workflow
Is your feature request related to a problem? Please describe.
I don't use autorestic right now, but restic with my own scripts. I'm planning on switching over when I find the time. Something I've found very useful is to be able to automatically find large files and then use restic rewrite command to remove them from my backups.
Describe the solution you'd like
Currently this is my workflow:
restic ls --json -l ${snapshotId}
and write it to a filerestic rewrite all --dry-run --exclude-file clean-excludes.txt --verbose=3
to spot checkrestic rewrite all --exclude-file clean-excludes.txt --verbose=3 --forget
to remove themThis does require relying on a fork of restic, but I find this very useful for my backups. Would love if something like this was available in autorestic (maybe opt-in?).
The text was updated successfully, but these errors were encountered: