Your
computer’s data is very critical and losing it can occur due to variety of
reasons. A complete or may be partial backup of your system is always a good
idea. SBackup is a tool that let you backup and restores data on your Ubuntu
machine with utmost ease.
SB Backup:
SBackup
is a simple backup solution for the Ubuntu desktop. It allows you to backup
selected files and directories, define the file size limit, use regular
expressions to exclude files and folders, and much more. These backups can then
be saved locally, on removal media or even on remote directory. Let’s see how
to install and configure SBackup for creating a backup and restore solution for
an Ubuntu machine.
Install SBackup:
Type
the following command to install SBackup on your Ubuntu machine:
- Sudo apt-get install sbackup
Backing up using SBackup:
Once installed SBackup will be available under System \ Administration \ Simple Backup Config.
Fig1: Simple backup Config Option Window
SBackup
window will look like the one below:
Fig2: Backup Properties Windows
As
you can see on the first tab “General”, there are 3 options for making backup.
Depending on your need you can choose the one that you want to use. It can be
used in 3 modes.
1. Use recommended backup settings:
Have
all the default settings. All you have to do is click “Backup now” button to
backup the default files and folders.
2. Use custom backup settings:
This
one is for custom backups where the user can define what she/he wants to backup
on a regular basis. This setting can be configured for automatic backups
3. Manual backups only:
This
option should be used if you do not want to have regular automatic backups. You
can backup manually whenever you think you need backups. However, for the sake
of this demo let’s use “Use custom backup settings”.
The
next tab is “include” which lets you define the folders and files you want to
include while creating a backup. You can click add a file or folder by clicking
the respective buttons.
Fig3:Include Tab(Backup Properties window)
The
third tab is “Exclude”. Here you can define, path, file types, regex and maximum
size for exclusion criteria. For example you have added a directory included
for backup, but you don’t want to backup files larger than 50 MB, you can use
the exclude tab to define it.
Fig4:Exclude Tab(Backup Properties window)
The
fourth tab is “Destination”. This one is used to define the destination
location where you want to save the backup file.
Fig5:Destination Tab(Backup Properties window)
As
you can see there are 3 options for setting up destination backup location. The
first one is the default location /var/backup/.
The second option can be used to define the custom backup destination. The
third option is used when you want the backup destination on a remote location.
The
fifth tab is to set up schedule of backup. This one is pretty self explanatory.
Fig6:Time Tab(Backup Properties window)
The
last tab “purging” is about how the old backup files will be handled. You can
choose from one of the 2 options. In my case I am leaving it as the default
selection which is Logarithmic
(Recommended).
Fig7:Purging Tab(Backup Properties window)
We
are done with configuring all the settings. All that is left is to click the
“Save” button for the backup settings to be effective. However, you can also
click “Backup Now!” button to make an instant backup.
Fig8:Save box
Restoring from a backup:
In order to restore from an existing backup go to System \ Administration \ System Backup Restore.
Fig9:Restore And Backup Option
Select
from the available backups, the one that you want to restore.
Fig10:Resource Source Folder
Which Ubuntu version you have used?
ReplyDeleteSir,
DeleteI have tried installing this tool on Ubuntu-12.10.
Sir,
DeleteI have tried installing this tool on Ubuntu-12.10.
GOOD.........VERY USEFULL INFO..
ReplyDeleteMam,
ReplyDeleteI have tried installing this tool on my Ubuntu 12.10 system..It works very efficiently.This is very useful tool for backing up of data.Gr8 work keep it up!!!