An agile user of raspiBackup - Franjo-G - wrote a very convenient tool called raspiBackupDialog. In a dialog driven way the most used options for backup and restore are queried. raspiBackup snapshots are supported. In particular the restore is very easy: You get a list of all existing backups and can select which one to use for the restore.
Attention
There exists now a complete new raspiBackup documentation that replaces all raspiBackup documention on this website.
Installation and invocation
raspiBackupDialog is available in the github repository. Use following command to download it into your current directory:
curl -s https://raw.githubusercontent.com/framps/raspiBackup/master/scripts/raspiBackupDownloadFromGit.sh | bash -s -- master helper/raspiBackupDialog.sh
Now you can invoke it with
sudo ./raspiBackupDialog.sh
If you don't want to download it every time make it available on your system with following command:
sudo mv ./raspiBackupDialog.sh /usr/local/bin
sudo chown root:root /usr/local/bin/raspiBackupDialog.sh
Now you can invoke it with
sudo raspiBackupDialog.sh
Invocationoptions
sudo raspiBackupDialog.sh --select Start a restore. The backupdirectory will be presented in a list to select the backup to restore.
sudo raspiBackupDialog.sh --last Start a restore from most current backup.
sudo raspiBackupDialog.sh --backup Start a backup
sudo raspiBackupDialog.sh --delete Allows to delete a backup
sudo raspiBackupDialog.sh --mountfs "fstab" Backupdirectory will be mounted according contents in /etc/fstab
sudo raspiBackupDialog.sh --mountfs "*.mount" Backupdirectory will be mounted with systemctl start *.mount
If the backup directory was already mounted it's not umounted at script end. Otherwise it's kept mounted.
Dynamic mount also works with cron:
* * * /usr/local/bin/raspiBackupDialog.sh --mountfs "backup.unit" oder "fstab" --cron

