From 7119fa386a87e59c05bb5f8775fda386ed2822ae Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sun, 5 Apr 2020 16:31:19 -0400 Subject: [PATCH] minor fixes --- btrbk-run | 12 +++++++----- distro-end | 5 +++++ .../btrbk/filesystem/etc/systemd/system/btrbk.timer | 2 +- system-status | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/btrbk-run b/btrbk-run index 2a15864..16dbcaf 100644 --- a/btrbk-run +++ b/btrbk-run @@ -194,6 +194,9 @@ if [[ ! -v targets && ! $source ]]; then targets+=(kw) fi ;; + frodo) + : # no targets + ;; *) die "error: no default targets for this host, use -t" ;; @@ -218,10 +221,9 @@ if [[ ${mountpoints[0]} ]]; then else # set default mountpoints case $HOSTNAME in - # no remote backups atm. note, if we do enable this, configuration below will need some changes. - # frodo) - # prospective_mps=(/i) - # ;; + frodo) + prospective_mps=(/i) + ;; *) prospective_mps=(/a /q) if [[ $source ]]; then @@ -374,7 +376,7 @@ snapshot_preserve 36h 14d 8w 24m snapshot_preserve_min 4h snapshot_dir btrbk -# so, total backups = ~89 +# so, total backups = ~75 target_preserve 36h 14d 8w 24m target_preserve_min 4h diff --git a/distro-end b/distro-end index 283c680..20ca7dc 100755 --- a/distro-end +++ b/distro-end @@ -923,6 +923,11 @@ fi ####### begin misc packages ########### +sudo debconf-set-selections <