diff --git a/backup-server.sh b/backup-server.sh index df98e2d..8fa1672 100644 --- a/backup-server.sh +++ b/backup-server.sh @@ -87,6 +87,9 @@ if [ $ip6tables = true ]; then $IP6TABLESEXEC > "$temp/ip6tables" fi +# save names of installed packages +dpkg --get-selections | awk '!/deinstall|purge|hold/ {print $1}' > "$temp/packages.list" + ### Backup if [ $ALGO ]; then