Securing-Optimizing-RH-Linux-1_2_457
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
457
7
6
2
1, 2, 5, 7
8
9
1
1, 2, 5, 7, 8
9
8
2
1, 2, 5, 7, 9
10
9
1
1, 2, 5, 7, 9, 10
Making backups with dump
It is interesting to use dump backups program if you want to take advantage of his several levels
of backup procedures. Bellow, I show you a procedure to have a longer backup history and to
keep both the backup and restore times to a minimum. In the following example bellow, we
assume that we write the backup to a tape drive named (/dev/st0) and we backup the home
directory (/home) of our system.
It is important to always start with a level 0 backup, for example:
·
Friday 1, (use tape 1 for the first full backup).
[root@deep /]# dump -0u -f /dev/st0 /home
DUMP: Date of this level 0 dump: Fri Jan 28 21:25:12 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/sda6 (/home) to /dev/st0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 18582 tape blocks on 0.48 tape(s).
DUMP: Volume 1 started at: Fri Jan 28 21:25:14 2000
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 18580 tape blocks on 1 volumes(s)
DUMP: finished in 4 seconds, throughput 4645 KBytes/sec
DUMP: Volume 1 completed at: Fri Jan 28 21:25:18 2000
DUMP: Volume 1 took 0:00:04
DUMP: Volume 1 transfer rate: 4645 KB/s
DUMP: level 0 dump on Fri Jan 28 21:25:12 2000
DUMP: DUMP: Date of this level 0 dump: Fri Jan 28 21:25:12 2000
DUMP: DUMP: Date this dump completed: Fri Jan 28 21:25:18 2000
DUMP: DUMP: Average transfer rate: 4645 KB/s
DUMP: Closing /dev/st0
DUMP: DUMP IS DONE
·
Monday, (use tapes 2 for the incremental backups).
[root@deep /]# dump -3u -f /dev/st0 /home
·
Tuesday, (use tapes 3 for the incremental backups).
[root@deep /]# dump -2u -f /dev/st0 /home
·
Wednesday, (use tapes 4 for the incremental backups).
[root@deep /]# dump -5u -f /dev/st0 /home
·
Thursday, (use tapes 5 for the incremental backups).
[root@deep /]# dump -4u -f /dev/st0 /home
·
Friday 2, (use tape 6 for the incremental backups).
[root@deep /]# dump -7u -f /dev/st0 /home
·
Monday, (use tapes 2 for the incremental backups).
[root@deep /]# dump -3u -f /dev/st0 /home
·
Tuesday, (use tapes 3 for the incremental backups).
[root@deep /]# dump -2u -f /dev/st0 /home