|
@@ -99,7 +99,7 @@ function restore_directory_from_usb {
|
99
|
99
|
obnam restore -r $USB_MOUNT/backup/${2} --to ${1}
|
100
|
100
|
}
|
101
|
101
|
|
102
|
|
-function restore_configuration {
|
|
102
|
+function restore_config {
|
103
|
103
|
if [[ $RESTORE_APP != 'all' ]]; then
|
104
|
104
|
if [[ $RESTORE_APP != 'config' ]]; then
|
105
|
105
|
return
|
|
@@ -701,7 +701,7 @@ backup_mount_drive ${1} ${ADMIN_USERNAME} ${2}
|
701
|
701
|
check_backup_exists
|
702
|
702
|
check_admin_user
|
703
|
703
|
copy_gpg_keys
|
704
|
|
-restore_configuration
|
|
704
|
+restore_config
|
705
|
705
|
same_admin_user
|
706
|
706
|
restore_mariadb
|
707
|
707
|
restore_letsencrypt
|