growisofs -Z /dev/dvd -RJz /tmp/zftree /system-*
# Eject the disc
eject
else
echo 'Skipping burn: snapshot or file compression failed.'
fi
# Delete the zftree
rm -rf /tmp/zftree 2>/dev/null
) 2>&1|mail -s 'Backup Log $(hostname)' backup-alert
Each LV to be backed up must have a mount point identified in
6.3.3.2. ...putting more than one backup on a tape?
The device node
In order to position the tape, Fedora provides the
Table 6-7. mt tape control commands
mt command | Description |
---|---|
mt rewind | Rewinds the tape |
mt fsf | Forward-skips a file |
mt fsf | Forward-skips |
mt bsf | Backward-skips a file |
mt bsf | Backward-skips |
mt status | Displays the drive status |
mt offline or mt eject | Rewinds and ejects the tape (if possible) |
The
# ln -s /dev/nst
You can now create a multibackup tape:
# mt rewind
# tar cvzf /dev/tape
# tar cvzf /dev/tape
# mt rewind
To read a specific backup on a multibackup tape, rewind to the beginning (just to be sure you're at the start), and then skip any files (backups) necessary to reach the archive you want. These commands will access the table of contents for the second archive, for example:
# mt rewind
# mt fsf
# tar tvzf /dev/tape
etc/
etc/smrsh/
etc/smrsh/mailman
etc/group-
etc/gnopernicus-1.0/
etc/gnopernicus-1.0/translation_tables/
...(Lines snipped)...
6.3.3.3. ...backing up multiple systems onto a central tape archive?
Fedora Core includes