borgmatic check archive filter flags #305

Closed
opened 2020-04-29 20:22:04 +00:00 by witten · 2 comments
Owner

What I'm trying to do and why

Suggestion from a user:

Maybe add an option like mentioned in the borg docs to check the last x archives. Or generally the option to only check an archive with a specific name.

See the --last --first options here(https://borgbackup.readthedocs.io/en/stable/usage/check.html)

The rationale I can imagine for this is: As a user with a lot of data and many archives, I want to run consistency checks on certain archive (say, the last n) so that checks don't take forever but I'm still fairly confident in the condition of my backups.

Other notes / implementation ideas

Probably can just add a bunch of new flag to borgmatic check and pass them through directly to Borg.

Alternatively, maybe this makes more sense as configuration file options, if they're the sort of thing that should always be passed through to borg check.

#### What I'm trying to do and why Suggestion from a user: > Maybe add an option like mentioned in the borg docs to check the last x archives. Or generally the option to only check an archive with a specific name. > See the --last --first options here(https://borgbackup.readthedocs.io/en/stable/usage/check.html) The rationale I can imagine for this is: As a user with a lot of data and many archives, I want to run consistency checks on certain archive (say, the last n) so that checks don't take forever but I'm still fairly confident in the condition of my backups. #### Other notes / implementation ideas Probably can just add a bunch of new flag to `borgmatic check` and pass them through directly to Borg. Alternatively, maybe this makes more sense as configuration file options, if they're the sort of thing that should always be passed through to `borg check`.

Thanks for creating a ticket for this "problem".

I would personally think it would be cool if i can specify the check that it would check the last x archives every time borgmatic is used.
This way i could reenable the check in my config, with a full check it is just not usable since my backup repo is way to big and i like to backup every day.

On the commandline i think it should be specified since every user would want to check a different amount of backups. So all as a default and if you want a specifc amount just specifie it.

Thanks for creating a ticket for this "problem". I would personally think it would be cool if i can specify the check that it would check the last x archives every time borgmatic is used. This way i could reenable the check in my config, with a full check it is just not usable since my backup repo is way to big and i like to backup every day. On the commandline i think it should be specified since every user would want to check a different amount of backups. So all as a default and if you want a specifc amount just specifie it.
witten added the
good first issue
label 2023-03-29 18:45:13 +00:00
Author
Owner

borgmatic has had a check_last option for a while, so I'm calling this done!

borgmatic has had a `check_last` option for a while, so I'm calling this done!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#305
No description provided.