DragonFly On-Line Manual Pages
charon.local(1) charon.local(1)
NAME
charon.local - remove backup files that exceed a certain age from a
local directoy
SYNOPSIS
charon.local --dir directory --maxage days (--profile identifier |
--all) [--dry-run] [--verbose] [--help]
The program charon.local removes backup archives created by tartarus
from a local directory once they reach a certain age and expire. Files
that are older than the number of days specified on the command line
are considerer candidates for removal unless other, non-expired backups
are based on them, so full backups may survive longer than expected.
OPTIONS AND ARGUMENTS
--dir
Specify the directory the backups files are stored in.
--maxage n
Set the maximum number of days after which a backup is expired.
--profile name
Set the profile name to process. This is mandatory unless --all is
supplied.
--all
When this is set, charon.local operates on all files disregarding
the profile name.
--dry-run
This option prevents charon from actually deleting files.
--verbose
This option makes charon more verbose about the actions made
--help
This parameter shows a brief command reference.
EXAMPLE
The following command will remove alle files inside the directory
/var/backups/tartarus/ created by Tartarus with the profile name "home"
which exceed the age of 7 days:
$ charon.local --dir /var/tartarus/backups/ --profile home --maxage 7 --verbose
AUTHOR
Stefan Tomanek <stefan.tomanek@wertarbyte.de>
0.9.8 2016-02-19 charon.local(1)