Advanced SUSE Linux Enterprise Server Administration (Course 3038)
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
Enterprise Server
Administration (Course 3038)
Chapter 5
Manage Backup and Recovery
Objectives
Develop a Backup Strategy
Create Backup Files with tar
Copy Data with the dd Command
Objectives (continued)
Disadvantage
Time frame available to perform backups (Backup
window)
Advantage
Backup window can be much smaller
Disadvantage
Recovery time is longer
Advantage
To restore data from a differential backup, you need just
two backup media
Disadvantage
Amount of data to be backed up grows every day
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
10
11
12
13
Back up all files that are newer than the full backup
find /home -type f -newer /backup/backup_full.tar.gz -print0 | tar -cvf
-null /backup/backup_mon.tar.gz -TAdvanced SUSE Linux Enterprise Server Administration (Course 3038)
14
15
Copy a file
dd if=/etc/protocols of=protocols.org
16
17
18
19
20
21
22
23
24
25
26
27
Stages
Stage 1
Program code for stage 1 is installed in the master boot
record (MBR) of the hard disk
Stage 2
Usually contains the actual boot loader
Files of boot loader are located in the directory /boot
Advanced SUSE Linux Enterprise Server Administration (Course 3038)
28
GRUB Shell
Enables interactive control of the boot manager
29
Example
30