|
@@ -3206,7 +3206,7 @@ function create_restore_script {
|
3206
|
3206
|
echo 'fi' >> /usr/bin/$RESTORE_SCRIPT_NAME
|
3207
|
3207
|
echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME
|
3208
|
3208
|
|
3209
|
|
- RESTORE_SUBDIR='root/'
|
|
3209
|
+ RESTORE_SUBDIR='etc/'
|
3210
|
3210
|
if [[ $BACKUP_TYPE != 'obnam' ]]; then
|
3211
|
3211
|
RESTORE_SUBDIR='usb/backup/ssl/'
|
3212
|
3212
|
fi
|
|
@@ -4524,7 +4524,7 @@ function restore_from_friend {
|
4524
|
4524
|
echo 'fi' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
|
4525
|
4525
|
echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
|
4526
|
4526
|
|
4527
|
|
- RESTORE_SUBDIR='root'
|
|
4527
|
+ RESTORE_SUBDIR='etc'
|
4528
|
4528
|
if [[ $BACKUP_TYPE != 'obnam' ]]; then
|
4529
|
4529
|
RESTORE_SUBDIR='remoterestore/backup/ssl'
|
4530
|
4530
|
fi
|