diff --git a/src/freedombone-app-keyserver b/src/freedombone-app-keyserver index 2e888df4..96f0743c 100755 --- a/src/freedombone-app-keyserver +++ b/src/freedombone-app-keyserver @@ -125,6 +125,10 @@ function upgrade_keyserver { } function backup_local_keyserver { + # remove any unused log files + cd /var/lib/sks/DB + db_archive -d + source_directory=/etc/sks if [ -d $source_directory ]; then systemctl stop sks @@ -189,6 +193,10 @@ function restore_local_keyserver { } function backup_remote_keyserver { + # remove any unused log files + cd /var/lib/sks/DB + db_archive -d + source_directory=/etc/sks if [ -d $source_directory ]; then systemctl stop sks