dbackup — AWIT-DBackup is a powerful per-directory backup utility.
Contents
Backup Options
--backup-upgrade
Upgrade backup to new dbackup version. This will cause all archives to be refreshed if they
were generated with an older version of AWIT DBackup.
--compress <gzip|bzip2|xz|lz|none>
Compression method to use. Defaults to using xz, or bzip2 if xz is unavailable. Parallel
versions of these Compression programs will be used if they exist. Here is the order
compression programs are looked for: gzip = pigz > gzip, bzip2 = pbzip2 > lbzip2 > bzip2, xz =
pxz > pixz > xz, lz = plzip > pdlzip > clzip.
--exclude-data
Exclude the most common data directories which contain temporary or state information or which
is not useful, a list of these is displayed by running dbackup--help.
--exclude-system
Exclude the most common system directories including /dev, /proc/, /sys, /run, for the complete
list see dbackup--help.
--exclude-pathPCRE
Exclude a path based on a Perl regular expression, this should include separators and can be
specified multiple times. eg. --exclude-path=',/old$,'
--exclude-filePCRE
Exclude files based on a regular expression, this should include separators and can be
specified multiple times. eg. --exclude-file='/.bak$/'
--exclude-fsFSTYPE
Exclude filesystem types from being transversed for backup. This can be specified multiple
times. eg. --exclude-fs=shm
--system-dirPATH
Add an additional system directory to exclude. The system defaults already include /dev, /run,
/tmp... etc. This can be specified multiple times.
--data-dirPATH
Add an additional data directory to exclude. The data directory defaults already include
/var/lib/mysql, /var/lib/pgsql, /var/amavis/tmp/, /var/spool/squid, /var/cache/yum,
/var/cache/apt/archives ... etc. This can be specified multiple times.
--system-basePATH
System base to apply the exclusions to. This can be specified multiple times.
--tar-ignore-failed-read
This is passed to tar only. It will not cause errors if files that cannot be read.
Description
This is a backup software package which creates one archive per directory it backs up. This makes
searching through the backup much easier as you can look for which files you're after in the directory
hierarchy. It will only backup directories which have changed, which makes it rsync friendly.
General Options
--configFILE
Configuration file to use.
--log-level
5 = debug, 4 = info, 3 = notice, 2 = warning, 1 = error
--backup Perform a backup operation.
--restore Perform a restore operation.
--tar Path to tar binary. This should almost never need to be specified, it is used to specify a
different tar binary to use other than the default system binary. Some versions of tar used to
have bugs preventing correct operation, this allowed specification of an alternative binary to
use.
--manifest-format
Manifest format to use, currently the two supported formats is "null" for \0 (null) termination
of entries or "newline" for \n (newline) termination of entries. This should not need to be
overridden.
--help Display commandline help.
Name
dbackup — AWIT-DBackup is a powerful per-directory backup utility.
Restore Options
--tar-keep-newer
Pass --keep-newer to tar. Don't replace existing files that are newer than their archive
copies.
--tar-keep-old-files
Pass --keep-old-files to tar. Don't replace existing files when extracting, rather throw an
error.
See Also
tar(1).
Synopsis
dbackup [GENERAL_OPTIONS] [--backup BACKUP_OPTIONS | --restore RESTORE_OPTIONS ] [SRC] [DST]
