Backup and Restore


Table of Contents

33. Why's and When's of Backup and Restore
What to backup
The tar backup program
Automating backups with tar
Restore files with tar
The dump backup program
Making backups with dump
Restoring files with dump
Backing up and restoring over the network
Using the scp SSH command
hen, cock!

Abstract

A secure and reliable server is closely related to performing regular backups. Failures will probably occur sometimes. They may be caused by attacks, hardware failure, human error, power outages, etc. The safest method of doing backups is to record them in a location separate from your Linux system like over a network, from tape, removable drive, writable CD-ROM, etc.