I need to back up my LINUX data, what is the best solution?
Posted: Tue May 03, 2005 2:25 pm
This is a "re-hosting" of the thread in the T Series forum just for us Linux folks.
I've been tweaking my Ubuntu install for a week or so now, and have got most stuff working to my satisfaction. I'm getting ready to try some more potentially damaging experiments (i.e. trying to get some Windows stuff running under WINE), but before I do that I'd like to backup my current install.
Under Windows I use a combination of IBM R&R (to do "pseudo-image" backups) and MS Backup (to do file and settings backups). Both of them save the backups to a Buffalo Tech LinkStation NAS - a small box with a 160 GB HDD running embedded Linux that sits on my home network.
The first task was to get the Linux install talking to the Linkstation, and that turned out to be considerably harder than I expected. While I could see and browse the Linkstation in Nautalis (as smb:name) it stubbornly refused to mount as a Samba share from the command line using mount -t smbfs.
I finally found (in a dim corner of a site devoted to hacking Liinkstations) a brief note that Ubuntu users needed to apt-get install smbfs before they could hack it because Ubuntu for some unholy reason does not include Samba file system support in the default install. The fact that Nautalis is able to browse Samba shares is simply a red herring thrown in to confuse newbies such as myself because Nautalis doesn't actually mount the devices?!
So after installing smbfs I can now mount the Linkstation. BTW - if anyone has one of these and is feeling the need to turn it into a full fledged Linux server there is quite an active hacking community devoted to installing everything from client-server backup software to video streaming tools on them. Google for Linkstation Hacking.
I've been searching and reading and playing around with Linux backup tools, and I haven't really found anything I entirely happy with yet.
For file and settings backup I found the simplebashbu.sh script in the Universe reporitory, which is intended to run as a cron job nightly. I don't leave my laptop on overnight but you can invoke it from the command line. It basically TARs a bunch of directores to a device - you can configure the directories and the backup location in the script, and it accepts the mount point for the Linkstation with no problem. I tried it out last night and it is S.L.O.W. I killed it after about 5 minutes, it had done about 200 MB worth of data. I've got around 20 GB to backup. At that rate it will take about 500 minutes, or 8 hours for a full backup.
For image backup I found a description in "Linux Desktop Hacks" of how to boot into a command line interface, load some tools, set the system partition as Read Only, and then use Dump to image it. I haven't tried it yet but it seems like a lot of work and cumbersome to use on a regular basis - plus it has no provision for incrementals. I could boot from the Live CD and do the Dump from there, but my Linux drive is currently residing in my Ultrabay so I don't have a CD-ROM drive available without doing drive swaps.
Some of the other tools out there look neat but are really much more than I need or can implement. Amanda looks cool and it's in the Ubuntu repository, but it's client-server and I'd rather not have to hack my Linkstation and try to figure out how to get the Amanda server software running on it.
So I thought I'd throw it out to those with more experience than I. What backup system are you using, and how satisfied are you with it?
Ed Gibbs
I've been tweaking my Ubuntu install for a week or so now, and have got most stuff working to my satisfaction. I'm getting ready to try some more potentially damaging experiments (i.e. trying to get some Windows stuff running under WINE), but before I do that I'd like to backup my current install.
Under Windows I use a combination of IBM R&R (to do "pseudo-image" backups) and MS Backup (to do file and settings backups). Both of them save the backups to a Buffalo Tech LinkStation NAS - a small box with a 160 GB HDD running embedded Linux that sits on my home network.
The first task was to get the Linux install talking to the Linkstation, and that turned out to be considerably harder than I expected. While I could see and browse the Linkstation in Nautalis (as smb:name) it stubbornly refused to mount as a Samba share from the command line using mount -t smbfs.
I finally found (in a dim corner of a site devoted to hacking Liinkstations) a brief note that Ubuntu users needed to apt-get install smbfs before they could hack it because Ubuntu for some unholy reason does not include Samba file system support in the default install. The fact that Nautalis is able to browse Samba shares is simply a red herring thrown in to confuse newbies such as myself because Nautalis doesn't actually mount the devices?!
So after installing smbfs I can now mount the Linkstation. BTW - if anyone has one of these and is feeling the need to turn it into a full fledged Linux server there is quite an active hacking community devoted to installing everything from client-server backup software to video streaming tools on them. Google for Linkstation Hacking.
I've been searching and reading and playing around with Linux backup tools, and I haven't really found anything I entirely happy with yet.
For file and settings backup I found the simplebashbu.sh script in the Universe reporitory, which is intended to run as a cron job nightly. I don't leave my laptop on overnight but you can invoke it from the command line. It basically TARs a bunch of directores to a device - you can configure the directories and the backup location in the script, and it accepts the mount point for the Linkstation with no problem. I tried it out last night and it is S.L.O.W. I killed it after about 5 minutes, it had done about 200 MB worth of data. I've got around 20 GB to backup. At that rate it will take about 500 minutes, or 8 hours for a full backup.
For image backup I found a description in "Linux Desktop Hacks" of how to boot into a command line interface, load some tools, set the system partition as Read Only, and then use Dump to image it. I haven't tried it yet but it seems like a lot of work and cumbersome to use on a regular basis - plus it has no provision for incrementals. I could boot from the Live CD and do the Dump from there, but my Linux drive is currently residing in my Ultrabay so I don't have a CD-ROM drive available without doing drive swaps.
Some of the other tools out there look neat but are really much more than I need or can implement. Amanda looks cool and it's in the Ubuntu repository, but it's client-server and I'd rather not have to hack my Linkstation and try to figure out how to get the Amanda server software running on it.
So I thought I'd throw it out to those with more experience than I. What backup system are you using, and how satisfied are you with it?
Ed Gibbs