fix
This commit is contained in:
parent
9178b298d0
commit
46ef77ea0e
@ -820,8 +820,8 @@ menu() {
|
||||
echo "[Backup OS]"
|
||||
echo
|
||||
set-devices
|
||||
read -p 'Backup Home Directory? : ' -e -i 'y' home_backup
|
||||
read -p 'OS Backup Directory Location : ' -e -i "/install/\@$ROOT_NAME/var/backups" backup_directory
|
||||
read -p 'Backup Home Directory? : ' -e -i 'n' home_backup
|
||||
read -p 'OS Backup Directory Location : ' -e -i "/mnt" backup_directory
|
||||
if [[ $home_backup = *n* ]]; then
|
||||
os-backup "none" "$backup_directory" "$ROOT_NAME"
|
||||
else
|
||||
@ -833,7 +833,7 @@ menu() {
|
||||
echo
|
||||
echo
|
||||
set-devices
|
||||
read -p 'Restore Directory Image Source: ' -e -i "/var/backups" restore_directory
|
||||
read -p 'Restore Directory Image Source: ' -e -i "/mnt" restore_directory
|
||||
read -p 'Restore Home Directory? : ' -e -i 'n' home_restore
|
||||
read -p 'Backup file name to restore: ' -e -i 'debian' backup_name
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user