Presentation is loading. Please wait.

Presentation is loading. Please wait.

99 System Backup Version A.01 H3064S Module 13 Slides.

Similar presentations


Presentation on theme: "99 System Backup Version A.01 H3064S Module 13 Slides."— Presentation transcript:

1 99 System Backup Version A.01 H3064S Module 13 Slides

2 © 1999 Hewlett-Packard Co. H3064S A.01 100 Why Back Up?  How Much Data Can You Afford To Lose?  Data is sometimes lost by: File system corruption Accidental removal of files Hardware failures System crash  Regular backups: Minimize data loss Keep users happy Provide stability and order a669141

3 © 1999 Hewlett-Packard Co. H3064S A.01 101 What Do You Back Up? Backup the entire file system (full backup) Backup part of the file system – Files that have changed since the last backup (incremental or delta backups) – A subtree of the file system – Application data – Users' files Backup the database configuration Backup the LVM configuration a66955

4 © 1999 Hewlett-Packard Co. H3064S A.01 102 How Often Do You Back Up? a66956 Fri Mon Tues Wed Thurs 100 %

5 © 1999 Hewlett-Packard Co. H3064S A.01 103 How Do You Perform the Backup? Backups and Archives a66957 fbackup/frecover are the most flexible standard HP-UX backup utilities. Other utilities are available as well.

6 © 1999 Hewlett-Packard Co. H3064S A.01 104 Using fbackup a66958 Backing up a single Directory or File Examples fbackup -f /dev/rmt/0m -i /home -I index.home fbackup -f /dev/rmt/0m -i. -I index.pwd Full and Incremental Backups Examples cd /var/adm/fbackupfiles vi graph i / e /cdrom fbackup -f /dev/rmt/0m -u0g graph -I index.full fbackup -f /dev/rmt/0m -u1g graph -I index.incremental

7 © 1999 Hewlett-Packard Co. H3064S A.01 105 Using frecover Restoring Files and Directories Examples frecover -f /dev/rmt/0m -rv frecover -f /dev/rmt/0m -i /home/user1 -xv frecover -f /dev/rmt/0m -i /home/user2 -xv Extracting an Index Example frecover -f /dev/rmt/0m -I index a66959

8 © 1999 Hewlett-Packard Co. H3064S A.01 106 Network Backup and Recovery a66960 minniemickiedonald donald# vi ~root/.rhosts mickie minnie mickie# fbackup -f donald:/dev/rmt/0m -u0g graph -I index minnie# fbackup -f donald:/dev/rmt/0m -u0g graph -I index mickie# frecover -f donald:/dev/rmt/0m -rv minnie# frecover -f donald:/dev/rmt/0m -rv tape

9 © 1999 Hewlett-Packard Co. H3064S A.01 107 Being Prepared with make_recovery a66961 System Recovery Boot Tape The “System Recovery Boot Tape” can be used to recover from any disk failure in vg00. Boot LIF Area / /stand /usr vg00 60m

10 © 1999 Hewlett-Packard Co. H3064S A.01 108 Creating a Recovery Tape a66962 Recovery Tape Boot Area / filesystem vg00 List of files on Recovery Tape makerec.last Log File Create a recovery tape and log file. # make_recovery -C 60m

11 © 1999 Hewlett-Packard Co. H3064S A.01 109 Updating the Recovery Tape a66963 Boot Area / filesystem vg00 List of files on Recovery Tape makerec. last Log File Compare current OS files to recovery tape: # check_recovery


Download ppt "99 System Backup Version A.01 H3064S Module 13 Slides."

Similar presentations


Ads by Google