Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

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 particula the restore is very easy: You get a list of all existing backups and can select which one to use for the restore.

 

 

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 --select Start a restore. The backupdirectory will be presented in a list to select the backup to restore.

sudo raspiBackupDialog --last Start a restore from most current backup.

sudo raspiBackupDialog --backup Start a backup

sudo raspiBackupDialog --delete Allows to delete a backup

sudo raspiBackupDialog --mountfs "fstab" Backupdirectory will be mounted according contents in /etc/fstab

sudo raspiBackupDialog --mountfs "*.mount" Backupdirectory will be mounted with systemctl start *.mount

If the backup driectory 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
 

 

Add comment

*** Note ***

Comments are welcome. But in order to reject spam posts please consider following rules:
  1. Comments with string http are rejected with message You have no rights to use this tag
  2. All comments are reviewed by hand and thus it usually takes one day until a comment will be published.