Tag: Backup

Link: Setup Backup Server Using Bacula And Webmin On Ubuntu 14.04

Bacula is an open source network backup solution that permits you to backup and restore the data’s from a local or group of remote networked computers. It is very easy in terms of installation and configuration with many advanced storage management features.

In this tutorial, let us see how to install and configure Bacula on Ubuntu 14.04 server.

Full article here:
Setup Backup Server Using Bacula And Webmin On Ubuntu 14.04 (Unixmen)

Link: Grsync And GAdmin-Rsync: The Graphical Front-end Applications For Rsync Tool

In our previous article about rsync, we have shown you how to install and use rsync. Working in command line mode is better than GUI mode, however it will be bit difficult to newbies and novice users. Today, I will introduce some graphical front-end tools called Grsync and Gadmin-rsync which will help to ease the usage of rsync tool.

Full article here:
Grsync And GAdmin-Rsync: The Graphical Front-end Applications For Rsync Tool (Unixmen)
Previous article on this subject:
Link: Grsync : Graphical rsync backup tool on Ubuntu (12.10 / 13.04 / 13.10) (TechNotes)

Link: The Non-Beginner’s Guide to Syncing Data with Rsync

The rsync protocol can be pretty simple to use for ordinary backup/synchronization jobs, but some of its more advanced features may surprise you.  In this article, we’re going to show how even the biggest data hoarders and backup enthusiasts can wield rsync as a single solution for all of their data redundancy needs.

Warning: Advanced Geeks Only

If you’re sitting there thinking “What the heck is rsync?” or “I only use rsync for really simple tasks,” you may want to check out our previous article on how to use rsync to backup your data on Linux, which gives an introduction to rsync, guides you through installation, and showcases its more basic functions.  Once you have a firm grasp of how to use rsync (honestly, it isn’t that complex) and are comfortable with a Linux terminal, you’re ready to move on to this advanced guide.

Full article here:
The Non-Beginner’s Guide to Syncing Data with Rsync (How-To Geek)
Syncronize Files Between Servers With RSYNC (Ma-No)

Alternatives to the OS X “Time Machine” program for Ubuntu and other Linux users

Make Tech Easier has a few articles online that mention programs that Ubuntu users (and possibly users of other varieties of Linux) can install that more or less emulate the “Time Machine” feature of Mac OS X. The first article is from back in 2008:

Time machine For Ubuntu? Try Timevault and Flyback

The problem with the software mentioned in that article is that neither has been updated in years. However there is a much newer option, that would probably be the best choice for many users:

Automate Your System Backup With Back In Time

That one backs up your entire system, or anything you tell it to. The is one additional newer option:

Restore Your Linux System to Earlier Date with TimeShift

The problem with that one is that as the article explains, it will “…only backup and protect system files and settings. It doesn’t handle your data and document…” and apparently that’s by design. So if that’s what you’re looking for – and it could be useful, particularly if you like to try the latest and greatest versions of your system software – then go for it.

And yes, we are aware that some experienced Linux users will skip the GUI’s and just create their own backup schedules using rsync, but the problem with that is that a lot of newer Linux users just can’t seem to grasp rsync, nor do they want to. They just want a convenient backup program that’s at least somewhat akin to Time Machine on the Mac. And we’ve previously posted articles or links related to Grsync : Graphical rsync backup tool on Ubuntu (12.10 / 13.04 / 13.10), Redo Backup and GPartEd Live to backup a working system and restore it to a new (possibly larger) drive, and Disaster recovery with MondoRescue. So, there are many options out there for Linux users, and if you have a favorite one that we’ve missed (non-commercial only, please), feel free to leave a comment and let us know!

EDIT: Some additional links we’ve created or come across since this article was originally published:

Easy Linux backup software with Time Machine like functionality | Nuxified.org (TechNotes)
Link: Time Machine for every Unix out there (TechNotes)
Attic – Deduplicating backup program (Ubuntu Geek)
Backing Up on Linux with Duplicity (Linux.com)
Disk ARchive (dar) – “dar is a shell command that backs up directory trees and files, taking care of hard links, Extended Attributes, sparse files, MacOS’s file forks, any inode type (including Solaris Door inodes), etc. It has been tested under Linux, Windows, Solaris, FreeBSD, NetBSD, MacOS X and several other systems, it is released under the GNU General Public License (GPL).”
Relax-and-Recover – “Relax-and-Recover is a setup-and-forget Linux bare metal disaster recovery solution. It is easy to set up and requires no maintenance so there is no excuse for not using it.”
Rsnapshot (Rsync Based) – A Local/Remote File System Backup Utility for Linux (Tecmint)
Time rsYnc Machine (tym) – “A backup utility with the approach popularized by the Time Machine of Apple.”

Link: Grsync : Graphical rsync backup tool on Ubuntu (12.10 / 13.04 / 13.10)

grsync is a graphical rsync tool in ubuntu linux. It provides a graphical user interface to backup or sync important files & directories to remote machine or in local machine using rsync. It currently supports only a limited set of the most important rsync features, but can be used effectively for local directory synchronization.

Full article here:
Grsync : Graphical rsync backup tool on Ubuntu (12.10 / 13.04 / 13.10) (NextStep4it)
How to Install Grsync : Graphical rsync backup tool on Ubuntu ( 12.10 / 13.04 / 13.10) (KBTECHWORLD)

Link: Back up your Raspberry Pi to your Google drive

Being able to back up data to the cloud is very useful. It means that even if your Raspberry Pi dies or your SD card gets corrupted, your data is still safe. It also means that you can access your data from any where in the world.

If you have a Google drive account, you can use the grive program to sync a folder on your Pi with your Google drive.

Full article here:
Back up your Pi to your Google drive (Raspberry Web Server)

Link: How to Clone Your Raspberry Pi SD Card for Super Easy Reinstallations

If you’ve ever turned a Raspberry Pi into a media center or retro gaming station, you know how frustrating it can be when it crashes and corrupts your SD card. Here’s a little trick to making that a little less painful.

Full article here:
How to Clone Your Raspberry Pi SD Card for Super Easy Reinstallations (Lifehacker)

Disaster recovery with MondoRescue


This is an edited version of a post that originally appeared on a blog called The Michigan Telephone Blog, which was written by a friend before he decided to stop blogging. It is reposted with his permission. Comments dated before the year 2013 were originally posted to his blog.
The Great Desktop Fire
Image by mattbraga via Flickr

Many of us face the problem of having a server that we know we should backup frequently, but we don’t do it because it’s either too difficult to figure out how, or the backup solutions offered don’t actually restore the entire system if it crashes, so we figure, “why bother?”  If your system crashes, the thing you really need is a way to restore the entire system from some recent point in time.

Well, here’s one possible solution for you, assuming your server runs some form of Linux, and it’s from the fine folks at Sunshine Networks in Brisbane, Australia. I refer you to their article:

Disaster Recovery with Elastix 2.0

Now, don’t let the title throw you – there’s nothing Elastix-specific in this article.  The instructions should work with just about anything running under the CentOS operating system, and with minor tweaks to the installation process, under other versions of Linux.  What this software is supposed to do is give you an ISO file that can be burned to CD’s or DVD’s, or stored on a network share on another machine.  If the worst happens, you fix the hardware problems and then reinstall from the ISO file, and the way it’s supposed to work is that you get back to exactly where you were at the time of the last backup.  Now, I haven’t personally ever had to attempt a restore, but apparently others have and consider this a great piece of software. Obviously, I’m not making any guarantees, but it’s got to be better than no backup at all, right?

EDIT: Since I originally wrote this article, I’ve actually had the opportunity to use MondoRescue to restore a failed system (in this particular case, one that runs on a virtual machine). To say it worked great is an understatement. You just boot from the .iso file and it installs EVERYTHING back as it was. The only issue I had was that it couldn’t communicate with the network because the name of the network adapter was apparently different on the original and new systems — once I reconfigured the network settings to select a valid adapter (eth0, for example) it appeared to work just as it had on the day of the backup. And the restore process was surprisingly fast (much faster than the original installation, in fact)! Of course I cannot guarantee it will work that well for you, but I was blown away by the speed of the restoration, and I’m not that easily impressed!

I must also note that the article on the original Sunshine Networks site seems to have disappeared, so I changed the link to point to an archived copy on the Wayback Machine. However, in case that fails at some point, here is how I installed MondoRescue. Their instructions gave three different ways to do it, and I used this one, which (with perhaps a change in the file used) should work on any Red Hat or Centos based system (this was noted as “Tested on Elastix 2.0 32-bit” — if you are running something else, don’t just follow these instructions because you may need a different file):

cd /root/
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm -Uhv rpmforge-release-0.5.1-1.el5.rf.i386.rpm
yum install mondo

after mondo installed correctly, you should disable the RPMForge repository, just to be on the safe side :
nano /etc/yum.repos.d/rpmforge.repo
change “enabled = 1” to “enabled = 0”

(They used vi to edit the repository; I changed it to nano. Use whichever text editor you like).

However, the file shown here is probably NOT the right one for your system. So, first go to http://packages.sw.be/rpmforge-release/ and read the descriptions for each file, and be careful to select the right one for your system, and substitute that filename in the two lines where it is used above.

After installation, you can start the program by running /usr/sbin/mondoarchive, which will bring up a GUI (of sorts). The original article notes that:

your full iso will ( under default settings ) be created in the following directory :
there is a small recovery CD here :


The article has you use the mondoarchive GUI to make the backups (well, they actually say mondorescue, but when I downloaded the software the program was called mondoarchive), and that’s fine to start with.  But eventually, you’re going to want to automate the process so you can use it in a cron job to do unattended scheduled backups on a regular basis.  I have this running on one machine and send copies of the backups to another, like this (cut and paste from this article to get the full lines without wrapping) :

mondoarchive -OVi -d "/var/cache/mondo" -E "/asterisk_backup" -N -9 -G -s 4G
ssh myaccount@server2.net rm /home/myaccount/server1backup/mondo/mondorescue-1-old.iso
ssh myaccount@server2.net mv /home/myaccount/server1backup/mondo/mondorescue-1.iso /home/myaccount/server1backup/mondo/mondorescue-1-old.iso
scp /var/cache/mondo/mondorescue-1.iso myaccount@server2.net:~/server1backup/mondo
ssh myaccount@server2.net rm /home/myaccount/server1backup/mindi/mondorescue-old.iso
ssh myaccount@server2.net mv /home/myaccount/server1backup/mindi/mondorescue.iso /home/myaccount/server1backup/mindi/mondorescue-old.iso
scp /var/cache/mindi/mondorescue.iso myaccount@server2.net:~/server1backup/mindi

The first line calls the mondoarchive program to create the backup – the -E argument excludes any directories you don’t wish to back up (I have a directory of backups made using another method that I didn’t want backed up) and you can read about the other arguments in the documentation (also see the full HOWTO).  The remaining lines connect to the external server and delete the oldest backups, rename the previous backup, and then copy the new backups over.  To do it the way I’ve done it here, you must have ssh access to the other server and you must be able to connect without using a password, using public/private key authentication.  You may also have to log into the remote server and create the directories (/home/myaccount/server1backup/mindi/ and /home/myaccount/server1backup/mindi/ in this example – obviously you can call the directories whatever you wish, it’s entirely up to you).

There is, of course, more than one way to remove the pelt from a deceased feline, and you’ll probably have your own method for moving the files to another server.  In some situations it appears that MondoRescue could do it for you (look at the n option), but it doesn’t include a provision to remove the oldest file and rename the previous one (not that I could see, anyway), so that’s why I did it in a shell script.

The folks at Sunshine Networks have several other great how-tos – you might want to give them a look! And for more useful information on MondoRescue, particularly how to perform a restore, see Configure IT Quick: Use Mondo Rescue to back up Linux servers (but please realize that article was written in 2003, and the install has apparently been made less complicated since then, so don’t use their installation instructions).

Related Articles:
How to Clone/Backup Linux Systems Using – Mondo Rescue Disaster Recovery Tool (TecMint.com)
Redo Backup and Recovery Tool to Backup and Restore Linux Systems (TecMint.com)

Recent Posts

Recent Comments




GiottoPress by Enrique Chavez

%d bloggers like this: