Add hubzilla restore to the backup menu
This commit is contained in:
parent
3d6fcec14c
commit
b4358f195c
|
@ -619,16 +619,17 @@ function menu_backup_restore {
|
|||
trap "rm -f $data" 0 1 2 5 15
|
||||
dialog --backtitle "Freedombone Control Panel" \
|
||||
--title "Backup and Restore" \
|
||||
--radiolist "Choose an operation:" 16 70 9 \
|
||||
--radiolist "Choose an operation:" 17 70 10 \
|
||||
1 "Backup data to USB drive" off \
|
||||
2 "Restore GPG key from USB keydrive" off \
|
||||
3 "Restore data from USB drive" off \
|
||||
4 "Configure remote backups" off \
|
||||
5 "Restore from remote backup" off \
|
||||
6 "Backup GPG key to USB (master keydrive)" off \
|
||||
7 "Backup GPG key to USB (fragment keydrive)" off \
|
||||
8 "Format a USB drive (LUKS encrypted)" off \
|
||||
9 "Back to main menu" on 2> $data
|
||||
4 "Restore Hubzilla data from USB drive" off \
|
||||
5 "Configure remote backups" off \
|
||||
6 "Restore from remote backup" off \
|
||||
7 "Backup GPG key to USB (master keydrive)" off \
|
||||
8 "Backup GPG key to USB (fragment keydrive)" off \
|
||||
9 "Format a USB drive (LUKS encrypted)" off \
|
||||
10 "Back to main menu" on 2> $data
|
||||
sel=$?
|
||||
case $sel in
|
||||
1) break;;
|
||||
|
@ -638,12 +639,13 @@ function menu_backup_restore {
|
|||
1) backup_data;;
|
||||
2) restore_gpg_key;;
|
||||
3) restore_data;;
|
||||
4) configure_remote_backups;;
|
||||
5) restore_data_remote;;
|
||||
6) create_keydrive_master;;
|
||||
7) create_keydrive_fragment;;
|
||||
8) format_drive;;
|
||||
9) break;;
|
||||
4) hubzilla_restore;;
|
||||
5) configure_remote_backups;;
|
||||
6) restore_data_remote;;
|
||||
7) create_keydrive_master;;
|
||||
8) create_keydrive_fragment;;
|
||||
9) format_drive;;
|
||||
10) break;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue