Linux Backup
sysrescCD
clonezilla LiveCD gParted LiveCD partimage ntfsclone partclone CD burner - CDburnerXP Linux Backup procedure.
Design of Disaster Recovery of Linux Server The Linux GNU software application “partimage” has been employed as the disaster recovery tools for the development system. To backup for disaster recovery, any update on the development system will be cloned by “partimage”, where all partitions will be copied. The partition table will also be saved by the tool “sfdisk”. Those images will be stored in tapes and placed in a different building where the development system located. When disaster recovery is required, a bootable Linux CD (the System Rescue CD version 0.2.15) will be employed to start a brand new system, mount the DDS5 tape drive, and then restore the saved partition table and partition images to the brand new system through “partimage”. After system partitions are restored, data restoration can be done in a straightforward manner. Design of Backup Scheme 1 System Backup 1.1 Use Linux ‘partimage’ utility to clone the system partitions on demand; 1.2 Use Linux ‘tar’ utility to archive the cloned system partitions image files to DAT72 (DDS5) tape. 2 Database Backup 2.1 Backup data partitions by IBM Tivoli client; 2.2 15 x daily backup; 2.3 6 x monthly backup; 2.4 1 yearly backup. Implementation Plan of Disaster Recovery 1 Prerequisite 1.1 Download utilities: 1.1.1 Rescue CD version 0.2.15: http://www./download.en.php1.2 Extract utilities 1.2.1 Burn the ISO file into CD if CDRW device is available2 Backup Procedure 2.1 Press F2 to change the BIOS accept boot from CDROM 2.2 Boot the system from “System Rescue CD” 2.3 Press enter at the “boot:” prompt 2.4 When the system prompt asking for speaker key map, type “41” and then press enter or just press enter to accept default key map 2.5 After the “System Rescue CD” booted, mount /u04 by “mkdir /u04; mount -t ex3 /dev/sdb5 /u04 on dbs2.6 run the “drbackup.sh” as “sh /u04/drbackup.sh”
3 Restore Procedure 3.1 Press F2 to change the BIOS accept boot from CDROM 3.2 Boot the system from “System Rescue CD” 3.3 Press enter at the “boot:” prompt 3.4 When the system prompt asking for speaker key map, type “41” and then press enter or just press enter to accept default key map 3.5 After the “System Rescue CD” booted, mount any volume to restore data from cartridge. For example, “mkdir /u04; mount -t ex3 /dev/sdb5 /u04” on dbs or “mkdir /u02; mount -t ex3 /dev/sdb2 /u02” on aps3.6 Restore partition table and images from tape cartridge: 3.7 cd /u04/dr on dbs or cd /u02/dr on aps; tar xvf /dev/st0 *; tar xvf /dev/st0 sda.out 3.8 run “sh /u04/dr/drrestore.sh”
|
|
來自: Tim You > 《Linux.Slim》