Backup your Linux desktop with Simple Backup

Jack Wallen
Aug 14, 2010
Updated • Nov 29, 2012
Backup, Linux
|
2

There are tons of possible backup solutions for the Linux desktop (and/or server). I have covered a number of possible solutions here on Ghacks. One of my favorite (and the one I use most often) is Luckybackup (see my article "Luckybackup: Linux backup made easy"), but that doesn't mean there aren't plenty of really good solutions. One of these solutions (and one that really lives up to its name) is Simple Backup (or sbackup). This backup tool offers very similar features to other solid backup options: local backups, remote backups via SSH or FTP, scheduled backups, include/exclude, and restore.

Simple Backup works to make the backup process simple. In this article I am going to show you how to install and use this handy Linux backup tool.

Installation

As you have grown to expect, sbackup is easy to install as it is included in the standard repositories. To install sbackup follow these steps:

  1. Open up your Add/Remove Software tool.
  2. Search for "sbackup" (no quotes).
  3. Mark Simple Backup for installation.
  4. Click Apply to install.

That's it! You will now find two new entries in your System > Administration menu: Simple Backup Config and Simple Backup Restore. As you can probably guess, the former is used to set up and run your backups whereas the latter is used to restore your backups. Now, let's see how simple it is to set up a scheduled backup.

Scheduling a backup

Figure 1

Click on System > Administration > Simple Backup Config which will open up the main sbackup config window (see Figure 1). In order to set up a fairly straight-forward backup make sure you hit these sections:

General: You can use this to do standard, automatic, or manual backups. Note: Standard backups will backup all user files, /etc, /usr/local, and /var. That's a pretty good basic backup scheme.

Include: The particular directories you want to include in your backup.

Exclude: Any particular directories you want to exclude from your backup.

Destination: Where the backup will be stored. By default the backup is in /var/backup. You will probably want to go with an external drive for this. NOTE: You might want to check the box for "Abort backup if destination directory doe not exist". This will keep the backup from running if you have forgotten to plug in your external drive.

Time: Here you can precisely schedule your backup.  What this actually does is create a cron job for your backup.

Purging: This is a very critical section as it will ensure your backup directory doesn't get full. Here you can choose either Simple or Logarithmic purging. Simple allows you to just declare how old a backup can be before it is removed. Logarithmic uses an algorithm for keeping various backups. The Logarithmic backup is the recommended choice.

Once you have made all of your choices, click Save and then, if you want, you can run your backup immediately by pressing Backup Now! When you press Backup Now! the process will begin and remain in the background. If you have configured sbackup for a time, the first backup will run at the time you configured.

Restoring a backup

Because the restore is a part of Simple Backup, it will know where you have placed your backups. Until you have actually had a successful backup, there will be nothing to restore (so Simple Backup Restore will find nothing to restore). Once you do have a successful backup all you have to do is follow these steps:

  1. Click System > Administration > Simple Backup Restore
  2. From the Restore GUI, select which backup you want to restore.
  3. Click Restore.

That's it. Now the process of restoring your files will be begin!

Final thoughts

Between LuckyBackup and Simple Backup you will be hard pressed to find an easier, more reliable backup solution for the Linux desktop. But regardless of what backup solution you use, make sure you DO use a backup or else you stand to lose all of your precious data.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Claude LaFrenière said on September 14, 2012 at 5:52 pm
    Reply

    Hi Martin Brinkmann :)

    In my Windows 7 this is already done in the Task Scheduler by the default installation… The command line is:

    %windir%\system32\rundll32.exe /d srrstr.dll,ExecuteScheduledSPPCreation

    :)

    1. Martin Brinkmann said on September 14, 2012 at 6:22 pm
      Reply

      Thanks for posting that, easier than my way. Have not tried it yet though but will. Wonder why I do not have it.

    2. ilev said on September 14, 2012 at 8:31 pm
      Reply

      I have it as well but it was configured to run only when the PC is idle.

      Task Scheduler > Task Scheduler Library > Microsoft > Windows > System Restore.
      There are 2 triggers : at 00:00 every day, at startup.

      1. Rich said on September 15, 2012 at 4:07 am
        Reply

        Much easier and simpler method is at tweaking.com Registry Backup. It runs at startup and invokes VSS to copy registry and keeps last 30 days for restores. Can be invoked within MSFT Recovery Console so better suited to non-boot situations. No authority issues either.

  2. Michael said on September 16, 2012 at 4:57 am
    Reply

    My task scheduler is also configured this way. But it doesn’t work. My system does NOT make a restore point every time it boots. Its typically not running at midnight.

  3. Achilles Khalil said on September 16, 2012 at 6:57 am
    Reply

    Hi this is achilles Seo Expert and website designer and developer. I am here to tell you if need help or need any seo expert contact me I can design any kind of site for any country and Optimize with search engin also can bring your site at TOP. Please feel free to contact me. Whoever your work is great awesome. Be Happy.

  4. Frantic said on September 16, 2012 at 10:33 pm
    Reply

    How is this done in Windows XP, I wonder?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.