diff --git a/src/freedombone b/src/freedombone index 4100f414..b65fa59c 100755 --- a/src/freedombone +++ b/src/freedombone @@ -3283,7 +3283,7 @@ function create_restore_script { echo 'fi' >> /usr/bin/$RESTORE_SCRIPT_NAME echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME - RESTORE_SUBDIR='root/' + RESTORE_SUBDIR='var/' if [[ $BACKUP_TYPE != 'obnam' ]]; then RESTORE_SUBDIR='usb/backup/xmpp/' fi @@ -4593,7 +4593,7 @@ function restore_from_friend { echo 'fi' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME - RESTORE_SUBDIR='root' + RESTORE_SUBDIR='var' if [[ $BACKUP_TYPE != 'obnam' ]]; then RESTORE_SUBDIR='remoterestore/backup/xmpp' fi