SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So this is my question: what you guys use to take a full bare metal backup ?
Quote:
Originally Posted by henca
My main method to backup my Slackware installation is to make sure that every extra software and every custom configuration is saved to my own custom Slackware packages which can be restored upon a fresh install to get the system back.
Yes, that is my approach too. I don't see the point in backing up the OS, when it can easily be reinstalled. Of course, customisations are saved, but not much else.
For the family fileshare, with photos, documents, etc., I use rsnapshot. It is a set of scripts which uses rsync to do proper, versioned backups. I've set it to do daily, weekly, monthly and annual backups. The version of "that file from last week before I made the changes" is still there.
I don't use compression at any point. Storage is cheap.
Just to let you know ( and for anyone reading ), after a day and night figthing I probably have found the problem.
I've done an rsync, just to be sure I had all the relevant files, and then I've upgraded dump binary from a very old dump-0.4b39 to a newer one dump-0.4b46
The first dump has gone well, and I've been able to restore some files that where not corrupted.
Really strage I had the old one, as in every other slackware machine I have aroung there is a newer version and also I'm sure I've used this (old) one when passing from the previous machine to this new one.
Probably the real difference lies in some really big files that wheren't present in the first move, or, more likely, in a very high number of inodes and small files that are now present on this one ( I moved a mail server from a solaris machine to this slackware with 25gb of mail imap files )
Should give Changelog (from dump) a really good read to find some eventually problems tied to one of this two things.
Now back on topic: rsync and rsnapshot seems a very promising way to get versioning of files ( backups ) in case needed, but restoring a dumped filesystem can get you back in less han an hour if you have a catastrophic crash, without never thinking of what was installed and how it was configured.
When the machine is a production one and you need to be up and running in a very small amount of time, my experience says that's the way.
Any way, I will finish my tests ( I mean I will create a new machine from this very last dump ) and let you know the results but a big thanks to everyone made his suggestions.
I've learned a lot.
And yes, I've also probably find the problem with the garbled dump: in 0.4b41 it has been added the support for ext4 ( which I'm on now )
Previously I've always used ext3, so my dumps were fine.
In this machine I decided to go with ext4 so the restore from a previous ext3 backup was fine but a dump was not.
At least this seems to be the most plausible cause to my problem.
BTW I'm now studing rsnapshot as, together with a level 0 dump seems a great improvement to my backup strategies
Kudos to those who informed me on this !
BTW I'm now studing rsnapshot as, together with a level 0 dump seems a great improvement to my backup strategies
Kudos to those who informed me on this !
@Pigi_102. That be me. As I said in my post I have been using rsnapshot for years. At one time I was remotely backing up my sons computer via ssh, he have moved out, so he is on his own.
I have daily, weekly, and monthly backups setup via cronjobs. I have rsnapshot configured to do 7 dailies, 4 weeklies, 3 monthlies. If you would like I can post my configuration as an example (cron setup, rsnapshot.conf and an exception list).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.