This commit is contained in:
Edwin Eefting 2020-03-17 23:52:57 +01:00
parent 7c1546fb49
commit 231f41e195

View File

@ -294,17 +294,18 @@ Here you find all the options:
usage: zfs-autobackup [-h] [--ssh-config SSH_CONFIG] [--ssh-source SSH_SOURCE] usage: zfs-autobackup [-h] [--ssh-config SSH_CONFIG] [--ssh-source SSH_SOURCE]
[--ssh-target SSH_TARGET] [--keep-source KEEP_SOURCE] [--ssh-target SSH_TARGET] [--keep-source KEEP_SOURCE]
[--keep-target KEEP_TARGET] [--other-snapshots] [--keep-target KEEP_TARGET] [--other-snapshots]
[--no-snapshot] [--no-send] [--allow-empty] [--no-snapshot] [--no-send] [--min-change MIN_CHANGE]
[--ignore-replicated] [--no-holds] [--resume] [--allow-empty] [--ignore-replicated] [--no-holds]
[--strip-path STRIP_PATH] [--clear-refreservation] [--resume] [--strip-path STRIP_PATH]
[--clear-mountpoint] [--clear-refreservation] [--clear-mountpoint]
[--filter-properties FILTER_PROPERTIES] [--filter-properties FILTER_PROPERTIES]
[--set-properties SET_PROPERTIES] [--rollback] [--set-properties SET_PROPERTIES] [--rollback]
[--ignore-transfer-errors] [--raw] [--test] [--verbose] [--destroy-incompatible] [--ignore-transfer-errors]
[--debug] [--debug-output] [--progress] [--raw] [--test] [--verbose] [--debug] [--debug-output]
[--progress]
backup_name target_path backup_name target_path
zfs-autobackup v3.0-rc6 - Copyright 2020 E.H.Eefting (edwin@datux.nl) zfs-autobackup v3.0-rc8 - Copyright 2020 E.H.Eefting (edwin@datux.nl)
positional arguments: positional arguments:
backup_name Name of the backup (you should set the zfs property backup_name Name of the backup (you should set the zfs property
@ -334,7 +335,11 @@ optional arguments:
uncompleted backups, or cleanups) uncompleted backups, or cleanups)
--no-send Dont send snapshots (usefull for cleanups, or if you --no-send Dont send snapshots (usefull for cleanups, or if you
want a serperate send-cronjob) want a serperate send-cronjob)
--min-change MIN_CHANGE
Number of bytes written after which we consider a
dataset changed (default 200000)
--allow-empty If nothing has changed, still create empty snapshots. --allow-empty If nothing has changed, still create empty snapshots.
(same as --min-change=0)
--ignore-replicated Ignore datasets that seem to be replicated some other --ignore-replicated Ignore datasets that seem to be replicated some other
way. (No changes since lastest snapshot. Usefull for way. (No changes since lastest snapshot. Usefull for
proxmox HA replication) proxmox HA replication)
@ -363,9 +368,12 @@ optional arguments:
List of propererties to override when receiving List of propererties to override when receiving
filesystems. (you can still restore them with zfs filesystems. (you can still restore them with zfs
inherit -S) inherit -S)
--rollback Rollback changes on the target before starting a --rollback Rollback changes to the latest target snapshot before
backup. (normally you can prevent changes by setting starting. (normally you can prevent changes by setting
the readonly property on the target_path to on) the readonly property on the target_path to on)
--destroy-incompatible
Destroy incompatible snapshots on target. Use with
care! (implies --rollback)
--ignore-transfer-errors --ignore-transfer-errors
Ignore transfer errors (still checks if received Ignore transfer errors (still checks if received
filesystem exists. usefull for acltype errors) filesystem exists. usefull for acltype errors)