π
-
How-to guides
- π₯ Install borgmatic
- π Set up backups
- ποΈ Make per-application backups
- π Provide your passwords
- βοΈ Make backups redundant
- π Deal with very large backups
- π Inspect your backups
- π¨ Monitor your backups
- π€ Extract a backup
- ποΈ Backup your databases
- πΈ Snapshot your filesystems
- π§Ή Add preparation and cleanup steps
- πΎ Backup to a removable drive/server
- π§ Run arbitrary Borg commands
- π₯ Customize warnings/errors
- π¦ Upgrade borgmatic/Borg
- ποΈ Develop on borgmatic
-
Reference guides
- βοΈ Configuration
- π» Command-line
- π Source code
Here's the command-line help for this action in the most recent version of
borgmatic.
If you're using an older version, some of these flags may not work (or the action
may be missing entirely). You should instead run the action with --help to see
the flags and actions specific to your borgmatic version.
usage: borgmatic prune [--repository REPOSITORY] [-a PATTERN] [--stats]
[--quick-stats] [--list] [--from TIMESTAMP] [-h]
Prune archives according to the retention policy (with Borg 1.2+, you must run
compact afterwards to actually free space)
prune arguments:
--repository REPOSITORY
Path of specific existing repository to prune (must be
already specified in a borgmatic configuration file),
quoted globs supported
-a PATTERN, --match-archives PATTERN, --glob-archives PATTERN
When pruning, only consider archives with names,
hashes, or series matching this pattern
--stats Display statistics of the pruned archive [Borg 1 only]
--quick-stats Display statistics of the pruned archive, skipping
repository-wide "All archives" and chunk index
statistics [Borg >= 1.4.5 and < 2 only]
--list List archives kept/pruned
--from TIMESTAMP Only consider archives that are older than the given
timestamp [Borg 2.x+ only]
-h, --help Show this help message and exit
Improve this documentation
Have an idea on how to make this documentation even better? Use our issue tracker to send your feedback!