From 259c1969184f9eed984d6c8cf3f7675c75dd4c5b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 21 Sep 2015 19:58:58 +0100 Subject: [PATCH] var directory --- src/freedombone | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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