LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   OS File System Backup (https://www.linuxquestions.org/questions/linux-newbie-8/os-file-system-backup-897633/)

vishwaadiga 08-16-2011 11:15 AM

OS File System Backup
 
Hi,

Aa on RHEL 5.6

Could anyone tell what are the different method to take OS file System backup and which is the best method?


Thanks
Vishwa

tommylovell 08-17-2011 09:12 AM

Well, this is a pretty open ended and subjective question; and you didn't say, so I'll assume x86-based.

By OS file System backup do you mean a file level backup (allowing subsequent incremental backups), or a monolithic backup of the entire filesystem? Do you want a canned solution (either Open Source or paid Commercial) or are you willing to do it yourself?

So, it depends. And the best method is highly dependent on your situation (are you backing up just one system or a thousand?), and your goals (ease of use, commercial support, file level recovery, bare metal restoration following a failure, cost?).

Amanda/Zmanda, and Bacula are two backup systems that I've tried, but are real overkill for the half a dozen systems I have at home. As I remember, both worked well. There are lots of others besides these two.

In work we back up about a six hundred Linux systems with IBM's Tivoli Storage Manager. It's expensive. And since TSM does file level backups and restores, it is unsuitable for Disaster Backup bare metal restores. But it allows our users (thousands of them) to do self service file restores.

For bare metal restoration we use 'tar'. Each file system is first "snapped" (if LVM), then tar'd across the network to a system that archives all of the backups. If a full system restoration is needed it is done in rescue mode: the disk is prep'd; the filesystems are tar'd back across the network; and the bootloader is rewritten to the boot disk, if necessary. It's cheap, simple and effective, but not really state of the art. Linux dump and restore commands are also an option. (Both tar and restore allow you to do individual file extracts if you have to.)

One thing that is highly desirable is to be able to snapshot your filesystems prior to back up so they are not changing as you back them up. Our /boot filesystem is not LVM, but there are no changes to it while the backup is taking place; all other filesystems are on LVM logical volumes.

szboardstretcher 08-17-2011 03:38 PM

Good answer.

I'd like to mention that if you are using Virtual Machines, in place copies are possible as well -- using snapshots and cloning commands (Vmware)

salemeni 08-18-2011 03:41 AM

Try Clonezilla live-CD

generics array


All times are GMT -5. The time now is 06:14 PM.