SBackup: A Simple Backup Solution For Your Linux Desktop
SBackup, Simple Backup, is an Open Source, easy to use backup solution intended for desktop use. It can backup any subset of files and folders. All configuration is accessable via Gnome interface. File and paths can be included and excluded directly or by regex, It supports local and as well as remote backups. Though it looks simple, it has many features to meet the advanced backup functionality.
SBackup will do the following things for you:
- It creates both compressed and uncompressed backups.
– It can split uncompressed backups into multiple parts.
– It support of multiple backup profiles. You can create and edit the profiles as per your requirement, but you can’t delete the default profile.
– It has options such as logging, email notification and status icon presenting progress and notifications.
– It supports scheduled backups and manual backups.
– It can backup files either to local destinations (e.g. hard disk) or remote destinations (e.g. NAS over FTP).
Install SBackup On Ubuntu, Linux Mint and Debian
SBackup is available in the default repositories of Ubuntu, Debian and Linux Mint. So just install it using command:
sudo apt-get install sbackup
Open up SBackup either from Dash or Menu.
Initially SBackup won’t have any user profiles. Only “default profile” will be available. Be mindful that you can’t delete the default profile. To create a new profile, go to Tools -> Profile Manager. You will have a following like window.
Important Note: If you launch it from a normal user you can’t schedule the backup. To schedule your backup you must run SBackup as root user. As see you in the above screenshots, the schedule tab is greyed out, because i launched it from a normal user.
In this how-to tutorial, i am going to use default profile with root user privileges.
Open up your Terminal and run the following command to open SBackup with root user privileges.
The above command will open SBackup with default profile with administrative mode.
In General section you can define how often do you want to do a full backup. The default option is 7 days. By default SBackup will do full backup every 7 days. Then you can define the compression format for your backup file.
This tab pretty self-explanatory. You can include the files/folders that you want to backup using SBackup. Here you can either select individual files or entire folder to backup. I deleted all directories in the include section and added single directory called “Resume”.
Just like Include tab, we can define the files/folders path to exclude from being backed-up by SBackup. Just select the path of the files/folders that needs to be excluded from backup. By default SBackup will exclude the /media, /var/run/, /var/cache/, /var/spool/ and /vat/tmp/ directories.
Further more, you can add the file types that you want to exclude from backup such mp3 or avi etc. By default SBackup exclude files such as mp3, avi, mpeg, mkv, ogg and iso from backup. If you want to include them in your backup, just select and click remove to add them in your backup. Also if you want to add some other file types in the exclude list, just add them by clicking on the add button.
This is the path where you want to store your backup file. As i mentioned above, you can backup files/folders either in your local hard drive or to an external destination such as FTP, NAS etc. Here i am going to save my backups in /home/sk/My Backup directory.
In this section you can schedule the backups at a particular time. Click on the Simple radio button and select your schedule type such as hourly, daily, weekly and monthly.
sudo ls -l /etc/cron.daily/sbackup
lrwxrwxrwx 1 root root 33 Nov 8 15:34 /etc/cron.daily/sbackup -> /usr/share/sbackup/sbackup-launch
This section gives you the option to delete the backup files after a particular period. By default, your backup files will be deleted after 30 days.
Report is the final section. From here you can define to receive the mail notification directly in your inbox after the backups got finished. Enter your mail id, smtp server address, email username and password and click Test settings. Be mindful that, before test the mail settings save the configuration by clicking on the Save Configuration button on the Tool bar.
If you want to start backup immediately, click Make Backup now button on the SBackup tool bar.
After completing the backup, close SBackup and check for your backup in the destination directory. In my case my destination directory is /home/sk/My Backup.
From your Terminal run command:
In the SBackup restoration window, select the date to get the list of the available backups and select the any one of the available snapshots. Click on the any one of the files to restore on the Restoration management pane. Once you done, click restore to save them in the default location or click restore as to save the files in a custom location.