Remove keyserver log files before backup
This commit is contained in:
parent
a03db43778
commit
9ce7e29174
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue