psy0rz / zfs_autobackup

ZFS autobackup is used to periodicly backup ZFS filesystems to other locations. Easy to use and very reliable.
https://github.com/psy0rz/zfs_autobackup
GNU General Public License v3.0
583 stars 62 forks source link

Preventing local snapshots #238

Closed ozgurkazancci closed 8 months ago

ozgurkazancci commented 8 months ago

Hi.

Is it possible to NOT keep snapshots locally? Or automatically delete snapshots after they're posted to the remote server?

"--keep-source=0" did not help.

Full command that I use:

zfs-autobackup -v --clear-mountpoint --ssh-target mybackupsrv offsite1 zroot/backup --strip-path=1 --keep-source=0 --keep-target=3 --no-holds

Thanks.

psy0rz commented 8 months ago

You always need atleast one snapshot (or bookmark but we dont suppoort that yet)

See https://github.com/psy0rz/zfs_autobackup/wiki/Common-snapshots-and-holds