System Administration Guide: Basic Administration

High-Level View of Backing Up and Restoring File Systems (Task Map)

Use this task map to identify all the tasks for the backing up and restoring of file systems. Each task points to a series of additional tasks such as determining the type of backup to perform.

Task 

Description 

For Instructions 

1. Identify the file systems to back up 

Identify which file systems need to be backed up on a daily, weekly, or monthly basis. 

Planning Which File Systems to Back Up

2. Determine the type of backup  

Determine the type of backup you need for the file systems at your site. 

Choosing the Type of Backup

3. Create the backup 

Use one of the following methods: 

 

 

If you want to have full and incremental backups of your file systems, use the ufsdump command.

Chapter 46, Backing Up Files and File Systems (Tasks)

 

If you would like to create a snapshot of file system while it is active and mounted, consider using the fssnap command.

Chapter 47, Using UFS Snapshots (Tasks)

 

If you just want to have full backups of your personal home directory or smaller, less-important file systems, use the tar, cpio, or pax commands.

Chapter 50, Copying UFS Files and File Systems (Tasks)

3. Restore a file system 

(Optional) 

Select the restoration method that is based on the command used to back up the files or file system. 

 

 

Restore a file system backup that was created with the ufsdump command.

Chapter 48, Restoring Files and File Systems (Tasks)

 

Restore a file system that was created with the tar, cpio, or pax command.

Chapter 50, Copying UFS Files and File Systems (Tasks)

4. Restore the root (/) or /usr file system

Optional 

Restoring the root (/) or /usr file system is more complicated than restoring a non-critical file system because you need to boot from a local CD or from the network while these file systems are being restored.

How to Restore the root (/) and /usr File Systems