Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-12-2010, 11:09 AM
|
#1
|
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Rep:
|
Complete Backup Solution
Hi all!
I have been looking for a complete backup solution like "Acronis True Image Backup and Recovery" on Windows for Slackware a while.
Do you guys have any recommendations?
Thanks.
|
|
|
|
06-12-2010, 11:21 AM
|
#2
|
|
Member
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware
Posts: 906
|
Perhaps you could list the features provided by that particular bit of Windows software which you want in your backup solution.
|
|
|
|
06-12-2010, 01:34 PM
|
#3
|
|
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189
Rep: 
|
Disk imaging and recovery isn't really the same as a complete backup solution. They address different issues. Acronis ( http://www.acronis.com/backup-recovery/) does disk imaging for disaster recovery. If you search the linuxquestions forums for the past year on Acronis, you will find a variety of recommendations, for example, Partimage ( http://www.partimage.org/Main_Page) or Clonzilla ( http://linuxgravity.com/creating-and...with-clonzilla).
General backup solutions are a different sort of thing. Scan through http://www.linuxquestions.org/bookmarks/tags/backup, and you will find examples of both. Amanda is my choice for general network backup of multiple machines. If you're dealing with a smaller situation, you might want something different, say, rsnapshot or backuppc or . . .
For general background and learning on backup and recovery, see the O'Reilly book "Backup and Recovery" by W. Curtis Preston - http://oreilly.com/catalog/9780596102463, or check out the companion web site http://www.backupcentral.com/.
|
|
|
1 members found this post helpful.
|
06-12-2010, 05:06 PM
|
#4
|
|
Member
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249
Rep:
|
Have a look at the packages here:
http://www.easeus.com/
'Disk Copy' works with any OS.
Bill.
|
|
|
|
06-12-2010, 05:17 PM
|
#5
|
|
LQ Newbie
Registered: May 2010
Distribution: Ubuntu desktop 9.04
Posts: 5
Rep:
|
It's surprising that Ubuntu does not come up with a decent backup and recovery tool -- probably the greatest shortcoming of Ubuntu at this time. I have successfully created system recovery discs with remastersys, but the software is flaky (limited to 4 gb) and sparsely documented.
Another option (which I have not yet installed) is bubakup.
Last edited by libssd; 06-12-2010 at 05:22 PM.
|
|
|
|
06-12-2010, 05:32 PM
|
#6
|
|
Member
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 513
Rep: 
|
Personally, I just use tar to back up my system, but that's probably not kind of solution you're looking for.
Quote:
Originally Posted by libssd
It's surprising that Ubuntu does not come up with a decent backup and recovery tool -- probably the greatest shortcoming of Ubuntu at this time. I have successfully created system recovery discs with remastersys, but the software is flaky (limited to 4 gb) and sparsely documented.
Another option (which I have not yet installed) is bubakup.
|
This is the Slackware forum 
|
|
|
|
06-12-2010, 07:08 PM
|
#7
|
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
Thanks a lot guys!I can't imagine there are many replies from my question in such a short time!
choogendyk, thanks for your recommendation on partimage and Clonzilla.But isn't it that the system must be rebooted and boot from the cd/dvd to do the backup? I just want a software which will do the backup without booting from cd/dvd.
Toods, I will take a look at it and try it.
Thanks all again.
|
|
|
|
06-12-2010, 07:16 PM
|
#8
|
|
LQ Newbie
Registered: May 2010
Distribution: Ubuntu desktop 9.04
Posts: 5
Rep:
|
Quote:
Originally Posted by piratesmack
This is the Slackware forum 
|
I mentioned Ubuntu only because I didn't have personal experience with Slackware, although the OP suggests that Slackware, like most (all?) Linux distros doesn't come with a pre-packaged backup solution. Backing up data is pretty straightforward, but restoring a trashed system from a recovery image is more challenging (and essential). Typical situation is, "Help! I just upgraded to XXX, and now my computer won't boot."
|
|
|
|
06-13-2010, 08:17 AM
|
#9
|
|
LQ Newbie
Registered: May 2010
Distribution: Ubuntu desktop 9.04
Posts: 5
Rep:
|
Choogendyk, thank you so much for the pointer to Clonezilla, which seems to be exactly what I've been looking for. Especially nice that their documentation consists of a video tutorial.
|
|
|
|
06-14-2010, 07:18 AM
|
#10
|
|
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189
Rep: 
|
Quote:
Originally Posted by Swift&Smart
choogendyk, thanks for your recommendation on partimage and Clonzilla.But isn't it that the system must be rebooted and boot from the cd/dvd to do the backup? I just want a software which will do the backup without booting from cd/dvd.
|
(a bit long and tutorial like, but hopefully useful and informative)
Although most sysadmins can't afford the downtime (or to be there in the middle of the night all the time) and don't follow the recommendation, the official line on backing up an OS is that you should at least take it down to single user to run backups. You'll find this in Sun's documentation for ufsdump, for example. The reason is that a running OS and running applications can have data in memory that hasn't been flushed to disk at the instant that the backup software wants to read that portion of disk. In itself that might not be an issue, but there may be different pieces of data at different points in time and position on the disk that end up not being backed up in a consistent way because of lack of coordination between the live OS, live applications, and the backup software. This is particularly an issue with database software like Oracle or MySQL, which have their own procedures for locking tables/transactions and dumping data.
When a backup runs over a lengthy period of time, the exposure to inconsistencies increases. The use of snapshots radically reduces (but does not eliminate) exposure to inconsistencies. Using LVM snapshots, or Solaris fssnap with ufsdump, or ZFS snapshots, can reduce the exposure to seconds. They make it feasible to shut down an application, take the snapshot, restart the application, and then backup the snapshot. This kind of procedure is routinely incorporated into backup software like Amanda. However, it's not foolproof. I've been doing this with Amanda for years. I don't often have to recover an OS. Usually, I'm recovering someone's lost or corrupted file. Of the times when I have had to recover an OS, I have had one that simply would not boot after the recovery. The backup seemed to be good, and the recovery went without any complaints, but the system would not boot. I did an update install over the top of the recovered system and it was alright. But that is the risk that is taken backing up live systems.
This problem with inconsistencies in an OS backup is one of the reasons for keeping multiple backups or using multiple methods of backup. For example, you might use something like clonzilla to backup the OS (and do it from a system booted off CD/DVD), and then run regular data backups using something else that runs off cron on the live system. If you need to recover the OS, do it from the clonzilla backup and then recover data files from the other backup system.
Another alternative that a lot of people have adopted is to simply backup partitions that will have data in them (e.g. /home, /var, /usr/local, and /etc), and don't bother with the OS. If there is a problem with the OS and it needs to be restored, just reinstall it and then recover the data partitions.
Whatever method is used, databases need particular attention. Look up specifics on the support sites for the particular database engine. Oracle has RMAN. MySQL has it's own methods - http://dev.mysql.com/doc/refman/5.0/...-recovery.html, and can have a completely integrated backup using ZRM for MySQL - http://www.zmanda.com/backup-mysql.html. Database backups can then be pushed to tape if desired by something like Amanda.
Bottom line is that while you might want to run backups of your data on a regular (daily) basis, something like clonzilla is intended for periodic use after a fresh install or a significant update. The inconvenience of taking the system down should be infrequent, but it should provide some level of confidence that the OS backup is consistent and good.
|
|
|
|
06-14-2010, 07:30 AM
|
#11
|
|
Member
Registered: Dec 2008
Location: New York
Distribution: Slack -current, Aptosid, Squeeze
Posts: 207
Rep:
|
Check out Clonezilla. It has performed admirably for me.
|
|
|
|
06-15-2010, 03:36 PM
|
#12
|
|
Member
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 513
Rep: 
|
|
|
|
|
06-16-2010, 08:22 AM
|
#13
|
|
LQ Newbie
Registered: May 2010
Distribution: Ubuntu desktop 9.04
Posts: 5
Rep:
|
Thank you for the pointer to Bacula; it looks promising and well documented. No matter what I tried, I could not get Clonezilla to backup to the device of my choosing. Bubakup doesn't support grub2, and aa1backup (which is very small and elegant) doesn't support ext4.
Reading the Bacula docs, I especially appreciate this:
Quote:
|
The old bare metal recovery project is essentially dead. One of the main features of it was that it would build a recovery CD based on the kernel on your system. The problem was that every distribution has a different boot procedure and different scripts, and worse yet, the boot procedures and scripts change from one distribution to another. This meant that maintaining (keeping up with the changes) the rescue CD was too much work.
|
Last edited by libssd; 06-16-2010 at 08:27 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:05 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|