The current backup aproach compresses data to a safe location so it can be restored but the stock image has to be put in place and fine tuning changes done by hand. The Linux based solutions I've looked at do the backup part well but leave me a directory of dated tar.gz to restore manually or through backup software after the system reinstall.
My ideal is independent system install, user setup and user data. If a machine's software bakes, remotely reimage the machine then have the user setup synced back down from LDAP with user data hosed on the network by default.
Some expensive appliances do this already but what is available in the software realm? How do the articles backup solutions stand up to the benchmark of remote or boot disk reimaging followed by automated restore?
I've been looking at Bacula on test servers but it's pretty industrial software that really needs a dedicated backup server to do it right. Do the other's provide a good restore from metal approach?
Discussion on:
View:
Show:
Works great for keeping daily, weekly, and monthly backups without consuming tons of disk space.
http://rsnapshot.org/
http://rsnapshot.org/
I'll add it to my list. On initial scans, the restore process looks cumbersome in the same way as boxbackup. It's good to have another option on my list though should it fit a need best.
Bacula - been looking at it a while, industrial but feature rich.
Mondorescue - seems competitive with Bacula but I haven't read the information yet.
Amanda - reading it now, cross platform support is a benefit but I have to read the restore process docs.
Off the list for me:
Box Backup - looks good and cross platform but the restore process is my primary criteria since they all do the various scheduled backups.
Arkeia - enterprise pricing, will keep it in mind for future but looking for something to use at home and on client's systems.
fwbackup
back in time
kbackup - all gui only or meant for desktop local backups. Good programs but not fitting my needs.
simple backup solution - no restore
rsync - use it regularly now for file transfer and existing backup scripts but looking for a backup specific app.
Bacula - been looking at it a while, industrial but feature rich.
Mondorescue - seems competitive with Bacula but I haven't read the information yet.
Amanda - reading it now, cross platform support is a benefit but I have to read the restore process docs.
Off the list for me:
Box Backup - looks good and cross platform but the restore process is my primary criteria since they all do the various scheduled backups.
Arkeia - enterprise pricing, will keep it in mind for future but looking for something to use at home and on client's systems.
fwbackup
back in time
kbackup - all gui only or meant for desktop local backups. Good programs but not fitting my needs.
simple backup solution - no restore
rsync - use it regularly now for file transfer and existing backup scripts but looking for a backup specific app.
It's in the Ununtu repositories. I've used Simple Backup. It adds another program called Simple Backup Restore. Suits my needs for a desktop with a USB disk drive. Use it for both my laptop and desktop.
That sounds familiar as I went through backup options a while back looking for something. In my case, I need centralized backup preferably with a small client on each machine, cross platform support and, ideally, bare metal restores.
For general home use against a USB drive though, I did find a number of great options which should have included Simply Backup if it didn't.
For general home use against a USB drive though, I did find a number of great options which should have included Simply Backup if it didn't.
"Ghost for Linux." This has never let me down. Backup takes a while, 6-7 hours on a 250GB drive for eg, but the restore takes about half as long.
It's a bootable live CD (netBSD) that fires up an ftp client. Yes, you have to have an ftp server waiting for the image, but I have a system set up for this that is isolated.
One machine with an OS (Mandriva) running a DHCP and ftp server, into which I throw an extra hard drive sufficient to hold the .gz image, and a switch. No internet, no security concerns.
I even have it set up on a laptop that the ftp server uses a USB disk. Mobile backup lab. If I want to isolate I have to haul a switch with me and set up a DHCP server on the laptop.
As I say it has never failed me. I have need the images for a bare metal (emergency!) restore numerous times and not once has failed. Most of these restores were complex dual boot machines with 8-9 partitions or more and tons of original data.
The backup and restore commands are stupid-simple. They're displayed on the screen so it's really idiot proof. I can't recommend G4U enough.
The ONE drawback is sometimes it just won't boot on a given machine. But I get around that by removing the drive and slaving it in another. In that case I will consider using dd to image the drive rather than G4U, but I have both options.
I've used mondo rescue, and only gotten one good restore. I don't trust a system that breaks up the backup and spreads it over multiple writable DVDs. Too many places to fall down. I've gotten to #4 out of 5 only to have a read error, a bad spot on the DVD.
And good luck with bacula. 'nuff said. It'd be easier to dance with an octopus.
I agree the big consideration is the restore part. Unless you test you don't know if it'll be a godsend of a huge let down. But I've gotten to where I don't test most of the G4U backups anymore. It's that reliable.
It's a bootable live CD (netBSD) that fires up an ftp client. Yes, you have to have an ftp server waiting for the image, but I have a system set up for this that is isolated.
One machine with an OS (Mandriva) running a DHCP and ftp server, into which I throw an extra hard drive sufficient to hold the .gz image, and a switch. No internet, no security concerns.
I even have it set up on a laptop that the ftp server uses a USB disk. Mobile backup lab. If I want to isolate I have to haul a switch with me and set up a DHCP server on the laptop.
As I say it has never failed me. I have need the images for a bare metal (emergency!) restore numerous times and not once has failed. Most of these restores were complex dual boot machines with 8-9 partitions or more and tons of original data.
The backup and restore commands are stupid-simple. They're displayed on the screen so it's really idiot proof. I can't recommend G4U enough.
The ONE drawback is sometimes it just won't boot on a given machine. But I get around that by removing the drive and slaving it in another. In that case I will consider using dd to image the drive rather than G4U, but I have both options.
I've used mondo rescue, and only gotten one good restore. I don't trust a system that breaks up the backup and spreads it over multiple writable DVDs. Too many places to fall down. I've gotten to #4 out of 5 only to have a read error, a bad spot on the DVD.
And good luck with bacula. 'nuff said. It'd be easier to dance with an octopus.
I agree the big consideration is the restore part. Unless you test you don't know if it'll be a godsend of a huge let down. But I've gotten to where I don't test most of the G4U backups anymore. It's that reliable.
G4L is a linux program that is similar to G4U, and generally can support additional hardware with later kernels. It also include udpcast and ntfsclone as backup process, and can use ftp servers, ssh and cifs (windows) for saving images as well as external disks.
It can do backups using lzop compression, which is about twice as fast as gzip compressions, but makes images about 10% larger.
Uses Dialog GUI and has UDPCAST options as well.
It can do backups using lzop compression, which is about twice as fast as gzip compressions, but makes images about 10% larger.
Uses Dialog GUI and has UDPCAST options as well.
That one's a winner for me. No opening an FTP port when I can just stick with the existing ssh.
Well, again it depends on the circumstance. If you're talking over a public network, then indeed ssh is the way to go. But as I've said I have a machine set up to serve whatever destination (internal or external HD in the server) that is totally isolated.
I have seen sshfs crap out on huge file transfers. Never seen ftp do so, it's a very reliable protocol.
So long as I have the luxury of hauling the machine into my lair, there's zero risk of using ftp. Actually I can do it on site as well, isolating the system with a laptop as the destination for the image.
I have seen sshfs crap out on huge file transfers. Never seen ftp do so, it's a very reliable protocol.
So long as I have the luxury of hauling the machine into my lair, there's zero risk of using ftp. Actually I can do it on site as well, isolating the system with a laptop as the destination for the image.
For me it's a budget priced NAS box that only provides samba and ftp. It was the first machine in my router's "no internet access" rule which limits risk to things already inside my network.
I've not used sshfs with large files so I've been lucky in not seeing it break badly. most of my transfers are scp or more often rsync over ssh for large or multiple files. G4L supporting ssh is even better than sshfs but I'll have to test and see how it manages a 36 gig system; transfer and disk spanning ISO images.
I've not used sshfs with large files so I've been lucky in not seeing it break badly. most of my transfers are scp or more often rsync over ssh for large or multiple files. G4L supporting ssh is even better than sshfs but I'll have to test and see how it manages a 36 gig system; transfer and disk spanning ISO images.
I went through Mondorescue and Bacula yesterday afternoon and evening. Mondo's limitation is that it only supports the *nix stuff well. You have to mount your Windows partitions to capture them as blob files which means a dualboot system at minimum. You also have to stop your database servers and similar daemons to avoid data file curruption. As a *nix only system imager, it is easy to install and use though. It writes to various destinations though sftp/ssh is not supported. The ISO boots and lets you compare the image, restore in part or restore in full.
Bacula is a monster to setup but supports multiple OS. I still have to get a client workstation setup and run through the backup process then try a restore. It seems better for doing a full system image followed by incremental backups.
G4L is not in the Debian Lenny repositories but neither was Mondo so it may simply be a matter of getting the .debs or a liveCD. I think I was looking between it and Clonezilla in the past before other projects got in the way. I'll have to look at G4L today and give it a proper run. It means shutting down the system to take an image but may trump Mondo for doing recovery disks that anyone can through at one of our servers instead of my build scripts that take a little knowledge followed by the dev's restoring there layers that run on top of mine.
Bacula is a monster to setup but supports multiple OS. I still have to get a client workstation setup and run through the backup process then try a restore. It seems better for doing a full system image followed by incremental backups.
G4L is not in the Debian Lenny repositories but neither was Mondo so it may simply be a matter of getting the .debs or a liveCD. I think I was looking between it and Clonezilla in the past before other projects got in the way. I'll have to look at G4L today and give it a proper run. It means shutting down the system to take an image but may trump Mondo for doing recovery disks that anyone can through at one of our servers instead of my build scripts that take a little knowledge followed by the dev's restoring there layers that run on top of mine.
G4L like G4U is a program that runs on its own OS from Ram to be able to image the disk or partitions. They can backup any OS. G4U can boot from CD or Floppies. G4L can not do a floopy boot, but can do a boot from CD, or usign other boot loader. The kernel and ramdrive.gz can be added to grub and/or grub4dos. It then loads the kernel and filesystem in ram, and can then image the disks. With grub4dos, it can even be loaded from an ntfs partition.
I have it as an option on my classrom grub menu.
I have it as an option on my classrom grub menu.
I should have expected a liveCD from the start along the same theme as the Clonezilla disk. Found the website, hit the download ftp and it was .ISO only. Perfect though, it's in my library to try out with a VM. It means shutting the server down during the backup but like Mondorescue, it's a good way to do complete images.
I use MONDO all the time for cloning and bare metal restores. I use BACULA and some custom scripts for nightly backups. Have a failure - boot from MONDO media and reimage existing or new hardware, restore latest nightly backup and go.
When it comes to backing up the entire OS. I use Remastersys. It only works on Debian based distributions though. The great thing is it can do both a live-cd backup (all user accounts, settings and documents are maintained) or a custom distro (all root settings maintained) that can be installed on multiple machines.
Normally it has to be run manually. Which is fine if you are looking to create a custom image for multiple machines or want to do a quick backup before attempting a potentially system breaking change. I'm sure it would not be that difficult to set up a script with custom options and a cron job, if you wanted a regular OS backup.
If I happen to totally bork a system, It's as easy as burning a DVD and reinstalling. It's also great for creating systems in a virtual environment like VirtualBox, so things can be tested before deployment.
As for incremental document backups...well thats why I'm checking out this post.
Normally it has to be run manually. Which is fine if you are looking to create a custom image for multiple machines or want to do a quick backup before attempting a potentially system breaking change. I'm sure it would not be that difficult to set up a script with custom options and a cron job, if you wanted a regular OS backup.
If I happen to totally bork a system, It's as easy as burning a DVD and reinstalling. It's also great for creating systems in a virtual environment like VirtualBox, so things can be tested before deployment.
As for incremental document backups...well thats why I'm checking out this post.
In terms of backup, I like the Unitrends appliances (http://www.unitrends.com) - in particular, the hot BareMetal. I also like the fact that these things are running Linux (CentOS.)
I've used mkCDrec for bare-metal, disaster recovery type of restores. It's FOSS and, once you get the dependencies worked out, pretty simple. It's command-line, so it's easy to setup in a bash script and throw in your crontab. Basically, it just makes a an ISO, or a series of ISOs, depending on the size of your server and if you use DVDs or not. You burn those to disk and just boot off the first one, run one shell script and follow the instructions. It was amazingly easy, really.
I wrote a brief review of it on my blog back in the day, here:
http://www.ryumaou.com/hoffman/netgeek/2004/10/mkcdrec-linux-restores/
I wrote a brief review of it on my blog back in the day, here:
http://www.ryumaou.com/hoffman/netgeek/2004/10/mkcdrec-linux-restores/
I've tried a good number of these but haven't heard of a few. Fwbackups is by far the most feature complete but I like Kbackup the best for the easy ability to be able to add files/folders. Too bad Kbackup only compresses files inside the archive. I still use tar with a couple helper scripts:
http://linuxtidbits.wordpress.com/2009/07/18/backup-configurations-with-tar-helpers/
http://linuxtidbits.wordpress.com/2009/07/18/backup-configurations-with-tar-helpers/
Anyone here tried RESTORE, a Linux distro that does not much else bu enterprise backups?
mirror? 
use the usually included mirror script / cron job to automatically back up across the network.
[rsync, ftp, ssh, sftp, rcp, scp all supported in this usage. ]
use the usually included mirror script / cron job to automatically back up across the network.
[rsync, ftp, ssh, sftp, rcp, scp all supported in this usage. ]
Try Microlite Backup Edge. Can create bare metal disaster recovery backups to tape or DVD that can be restored to new hard drive(s) - not simply file backup/restore. When paired with HP Proliant servers, can boot from the disaster recovery media and restore entire system simply (OBDR). Been using it for years with SCO Openserver 5, Caldera, SLES9, and SLES10.
Do some/most/all of these work with backing up to an external USB drive?
If so, I am going to be buying some more externals and prepping.
ugh...if Cedega was just built-in to Linux
If so, I am going to be buying some more externals and prepping.
ugh...if Cedega was just built-in to Linux
If you want to get clever, you can set up an ftp server to use a USB drive then use G4U as I mentioned above.
One backup utility I tried, can't recall the name now but it's a popular one, has an option to write to USB directly. But I could never get that one to restore. "Image may be corrupt" every single time I tried, and I was testing on very simple, extremely small partitions. (a single 20GB Linux install in one partition)
One backup utility I tried, can't recall the name now but it's a popular one, has an option to write to USB directly. But I could never get that one to restore. "Image may be corrupt" every single time I tried, and I was testing on very simple, extremely small partitions. (a single 20GB Linux install in one partition)
G4L works with USB hard disks, but make sure you have USB 2 for both the device and port on computer. Recently had a co-worker that had a USB 2.0 drive, but her computer only had USB 1 ports, so it took forever to backup.
I've checked out G4L, much like G4U but nicer interface and a few more options. Thanks for the tip. This place rocks! =D
I'm gonna try and boot Kubuntu tonight and see what happens. I might be putting Linux on my gaming machine soon.
I think I have space to spare with 500GBs on the 2nd drive lol
I think I have space to spare with 500GBs on the 2nd drive lol
All my recent boxes (including 2 laptops) have USB 2.0.
I even have eSATA on them. I am gettin ansy. If I have any time in the near future, I'll be working with that.
Maybe I will get into using Cedega...as long as their phone support is toll-free and good.
I even have eSATA on them. I am gettin ansy. If I have any time in the near future, I'll be working with that.
Maybe I will get into using Cedega...as long as their phone support is toll-free and good.
A worthy article and lots of information. SMB & Enterprise customers are running databases and mail servers on various Linux flavours, have you got list of backup tools for these too namely Symantec Netbackup, Netbackup Puredisk, Symantec Backup Exec.
the name might let you think it's only used to backup PC's, but you can use it to backup servers, cross-platform, using rsync, ssh, smb, ..
It's a truly great tool, worth a try.
It's a truly great tool, worth a try.
I use rsnapshots. very effective backup utility and works the same as the snapshot mechanisem of NetApp.
Further SEP Sesam backup is also very good with a front-end and very suitable for large enterprises.
http://www.sep.de/home.php
Further SEP Sesam backup is also very good with a front-end and very suitable for large enterprises.
http://www.sep.de/home.php
Try GnomeEasyBackup (https://wiki.ubuntu.com/GnomeEasyBackup) It make use of Nautilus Emblems. Once setup (https://launchpad.net/gnomeeasybackup/+download), it is easy to use as you mark files to be backup with emblems. It is still in beta but it works well. I've been using it for months now.
None of these backup tools seem to support point in time snapshots of an entire file system. Which is very important for fast moving environment.
Synbak! GPL3, HTML results, E-mail notification, MySQL backup, Rsync, CIFS, ...
http://www.initzero.it/products/opensource/synbak/
http://www.initzero.it/products/opensource/synbak/
There's one of them in every comment section, but I've never been that guy. Here's my comment:
If you guys were real men, you would use a 'tar+cp' program/script that you wrote yourself, or maybe 'rsync' in a pinch.
If you guys were real men, you would use a 'tar+cp' program/script that you wrote yourself, or maybe 'rsync' in a pinch.
Actually enthdegree, your suggested solution is the one I was using. However I recently discovered storebackup - http://savannah.nongnu.org/projects/storebackup - and I am currently giving that a shot. It seems to do pretty much what I was trying to do, and more, and do it better.
Of course, this is not an enterprise backup solution.
Of course, this is not an enterprise backup solution.
simple enough to drop on a box and setup in no time. Local backup plus remote backup over common transfer protocols.
I hope it matures out of the monthly beta versioning soon and expands to provide support for other platforms.
I hope it matures out of the monthly beta versioning soon and expands to provide support for other platforms.
How about FOG ?
If you need to image a lot of desktops, this seems a usefull tool, comparable to Ghost enterprise, but completely free
If you need to image a lot of desktops, this seems a usefull tool, comparable to Ghost enterprise, but completely free
BackupPC is one very good backup utility.
http://backuppc.sourceforge.net/
http://backuppc.sourceforge.net/
Acronis works well if you want to do an image backup that works with Windows as well.
One that is cross platform and a great application for us is SEP Sesam. It is truly enterprise capable.
A backup is no better than it's restore. I've been looking at D?j? Dup. It's nice feature is its integration into Nautilus. It has a Restore to Previous Version option when you right-click that lets you restore a folder or record from its backup.
Great article. I think the list of apps reviewed still stand up as the some of the best Linux backup utilities. I'd like to suggest one more -- Kleo Bare Metal Backup for Servers http://www.kleobackup.net.
Kleo is graphical wrapper around the excellent open source program partimage. Partimage has always been one of the best open source image backup programs around, but it suffers from a complicated user interface.
For example, if you wanted to store your partimage backup on the network, you'd first need to manually find the target, and manage mounting the remote share.
Kleo is a wizard interface that makes the job of running partimage simple without trading away any of the power. Kleo will scan the network and list possible targets. You pick your destination, and Kleo handles the job of connecting to the network share and invoking partimage with exactly the right set of command line options.
We bundled Kleo with the Carroll-Net Server Rescue Kit. A LiveCD jam packed with with 100s of specialized server recovery tools. All the best tools we like to have at hand when attempting server recovery -- Gparted, NTpasswd, Dd_rescue, install-mgr, grub, and many more.
Both Kleo & the Carroll-Net Server Recovery kit are free for any use, personal or business. The Server Recovery Kit is released as GPLv2 and Kleo is released as Freeware.
You download a copy of Kleo or read more information online at http://www.kleobackup.net
Jim C.
http://www.carroll.net
Kleo is graphical wrapper around the excellent open source program partimage. Partimage has always been one of the best open source image backup programs around, but it suffers from a complicated user interface.
For example, if you wanted to store your partimage backup on the network, you'd first need to manually find the target, and manage mounting the remote share.
Kleo is a wizard interface that makes the job of running partimage simple without trading away any of the power. Kleo will scan the network and list possible targets. You pick your destination, and Kleo handles the job of connecting to the network share and invoking partimage with exactly the right set of command line options.
We bundled Kleo with the Carroll-Net Server Rescue Kit. A LiveCD jam packed with with 100s of specialized server recovery tools. All the best tools we like to have at hand when attempting server recovery -- Gparted, NTpasswd, Dd_rescue, install-mgr, grub, and many more.
Both Kleo & the Carroll-Net Server Recovery kit are free for any use, personal or business. The Server Recovery Kit is released as GPLv2 and Kleo is released as Freeware.
You download a copy of Kleo or read more information online at http://www.kleobackup.net
Jim C.
http://www.carroll.net
Really that's the great information.I will definitely try all these.http://www.magicbackup.com/
You mention Arkeia, but no Storix? Arkeia sucks when it comes to Bare-metal because it does not support LVM. There is also Microlite, but they are a little buggy.
I found RSYNC to be a little more annoying to use (I'm not good at LINUX). Also, there was a problem writing the script because Godaddy wants something just below the shebang:
TERM=linux
export TERM
I think the problem was linked possibly to me using Godaddy as a hosting provider. I know they suck at times.
There is a tutorial @ http://www.fortasse.com/2010/01/tutorials/tutorial-automatic-backup-script/ which describes a Godaddy working script. So far, it hasn't caused me issues. It doesn't use RSYNC, but I will try to adapt it to do so.
Nothing like having your whole years worth of site in super compressed GZIP files. It's not as space costly as some would think (my whole year is perhaps 1 GB).
Anyway, is there any way to make a script that is compliant all the time?
For example, will the commands I pasted above work on every server? I have some sites not on Godaddy.
Martha D.
TERM=linux
export TERM
I think the problem was linked possibly to me using Godaddy as a hosting provider. I know they suck at times.
There is a tutorial @ http://www.fortasse.com/2010/01/tutorials/tutorial-automatic-backup-script/ which describes a Godaddy working script. So far, it hasn't caused me issues. It doesn't use RSYNC, but I will try to adapt it to do so.
Nothing like having your whole years worth of site in super compressed GZIP files. It's not as space costly as some would think (my whole year is perhaps 1 GB).
Anyway, is there any way to make a script that is compliant all the time?
For example, will the commands I pasted above work on every server? I have some sites not on Godaddy.
Martha D.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle

































