Skip to content

Latest commit

History

50 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

borgwrap

borgwrap is yet another thin wrapper around borgbackup.

It depends only on Python >= 3.9 and PyYAML.

Usage

borgwrap [-h] --config CONFIG [--dry-run] {create,list,prune,nagios-check-age,cmd} ...
borgbackup wrapper
positional arguments:
{create,list,prune,nagios-check-age,cmd}
create Create a backup archive
list List backup archives
prune Prune archives according to the config settings
nagios-check-age Check last backup age, usable as a Icinga/Nagios check
cmd Run a borgbackup command. Exports the remote archive as BORG_REPO so it can be referenced as "::".
optional arguments:
-h, --help show this help message and exit
--config CONFIG, -c CONFIG
Path to the config file
--dry-run, -n Perform a trial run with no changes made

See also the example config

Examples

Create a backup according to the config settings:

borgwrap -c borgbackup.yaml create --stats

Mount the backup archives:

borgwrap -c borgbackup.yaml cmd -- mount :: /mnt

About

Yet another borgbackup wrapper

Topics

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages