From 704777556746309a1d5ab3137ace84a991f05bfa Mon Sep 17 00:00:00 2001 From: Ralf Zerres Date: Mon, 25 Jun 2018 20:01:32 +0200 Subject: [PATCH] dsnap-sync: handle postfix to be appended to config - snapper config will be created with given postfix - make postfix a sectable option --- bin/dsnap-sync | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/dsnap-sync b/bin/dsnap-sync index a9276ee..ee14d25 100755 --- a/bin/dsnap-sync +++ b/bin/dsnap-sync @@ -64,7 +64,9 @@ selected_subvol='none' snapper_snapshots=".snapshots" # hardcoded in snapper snapper_snapsync_template="dsnap-sync" snapper_config_type='none' -snapper_config_postfix="."`hostname` +#snapper_config_postfix="."`hostname` +snapper_config_postfix= +snap_cleanup_algorithm="timeline" verbose=0 # ascii color @@ -1285,7 +1287,7 @@ Options: -c, --config Specify the snapper configuration to use. Otherwise will perform for each snapper configuration. Can list multiple configurations within quotes, space-separated (e.g. -c "root home"). - --config-postfix Specify a postfix to be appended the the destination snapper config name. + --config-postfix Specify a postfix that will be appended to the destination snapper config name. -n, --noconfirm Do not ask for confirmation for each configuration. Will still prompt for backup --batch directory name on first backup" --nonotify Disable graphical notification (via dbus)