From 3e071aca29f24a2e6641968a973435cf14688b28 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Fri, 28 Jan 2022 18:46:57 -0500 Subject: [PATCH] restic-do: No longer provide list of packages/ repos --- .restic/restic-do | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.restic/restic-do b/.restic/restic-do index 1c29095..cc9343f 100755 --- a/.restic/restic-do +++ b/.restic/restic-do @@ -58,18 +58,11 @@ case "$1" in backup) cd ~ || exit 1 - echo "exporting list of packages" - rm ~/.restore-info/packages-* # clear existing - # https://unix.stackexchange.com/questions/82880/how-to-replicate-installed-package-selection-from-one-fedora-instance-to-another - # install w/ < $file xargs dnf -y install - dnf repoquery --qf '%{name}' --userinstalled \ - | grep -v -- '-debuginfo$' \ - | grep -v '^\(kernel-modules\|kernel\|kernel-core\|kernel-devel\)$' \ - > ~/.restore-info/packages-${script_started}.txt + # No longer echo "exporting list of packages" + # clear existing: rm ~/.restore-info/packages-* - echo "exporting dnf repos list" - rm ~/.restore-info/dnfrepos-* # clear existing - dnf repolist enabled > ~/.restore-info/dnfrepos-${script_started}.txt + # No longer echo "exporting dnf repos list" + # clear existing rm ~/.restore-info/dnfrepos-* echo "starting backup" restic backup -r "$repo" \