SNAPS(8) System Manager's Manual SNAPS(8)

NAME

snapseasy and secure remote snapshots

SYNOPSIS

snaps [-fhnqvV] [-c configfile] [-s filter]

DESCRIPTION

The snaps utility takes snapshots of remote locations using ssh(1) and hrsync(1), which is a hardened version of rsync. Each location is being isolated from other locations that are being backed up in order to mitigate against a compromised remote host.
The following arguments are supported:
 
 
-f
Force taking a new snapshot, even if the last snapshot has not yet expired.
 
 
-h
Print the synopsis of snaps.
 
 
-n
Only check the syntax of the config file and exit.
 
 
-q
Be quiet, except for errors.
 
 
-v
Be more verbose. Multiple occurrences increase the verbosity level.
 
 
-V
Print the current version of snaps and exit.
 
 
-c configfile
Use an alternate configuration file. The default config file used is /etc/snaps.conf.
 
 
-s filter
Only backup locations in the config file that match filter. Each configured location is canonicalized to user@host:path and can be filtered on any substring. This option can be passed multiple times so that more locations are matched.
snaps runs as an unprivileged user. This user must have access to a public/private key pair that is used by ssh(1) to login to each remote location.

FILES

/etc/snaps.conf
Default configuration file.

EXIT STATUS

The snaps utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

hrsync(1), ssh(1), snaps.conf(5)

AUTHORS

Tim Kuijsten <tim@netsend.nl>
May 22, 2018 OpenBSD 6.3