HP-UX System Administrator's Guide: Routine Management Tasks

Determining What Data to Back Up............................................................................127
Defining What Files and Directories to Back Up...................................................127
Determining How Often to Back Up Data..................................................................128
Full Backups vs. Incremental Backups...................................................................128
Backup Levels.........................................................................................................128
Example of Setting Backup Levels.........................................................................130
Backing Up Your Data Using the fbackup Command ...............................................130
General Procedure for Using the fbackup Command...........................................131
Creating the Index File on the Local Device .........................................................131
Backing Up NFS Mounted Files with fbackup......................................................132
Examples of fbackup Commands................................................................................132
Backing Up Files on a Remote System........................................................................134
Remote Backup Using fbackup..............................................................................134
Remote Backup Using cpio....................................................................................134
Remote Backup Using tar.......................................................................................134
Setting Up an Automated Backup Schedule...............................................................134
Creating an Automated Backup Schedule..................................................................135
Displaying an Automated Backup Schedule...............................................................136
Activating an Automated Backup Schedule...............................................................136
Backing Up If You Are Using LVM.............................................................................137
Backing Up Large Files................................................................................................137
Backup Utilities that Support Large Files..............................................................137
Backup Utilities that Do Not (fully) Support Large Files......................................137
Restoring Large Files..............................................................................................137
Backing Up a JFS Snapshot File System......................................................................138
How to Create and Back Up a JFS Snapshot File System .....................................138
Restoring Your Data..........................................................................................................139
Determining What Data to Restore.............................................................................139
Before Restoring Your Data ........................................................................................140
Restoring Your Data Using HP SMH..........................................................................140
Restoring Your Data Using HP-UX Commands ........................................................140
Restoring Files that are NFS Mounted...................................................................140
Restoring Large Files .............................................................................................141
Examples of Restoring Data...................................................................................141
Examples of Restoring Data Remotely...................................................................141
Recovering From a System Crash ...............................................................................142
Backing Up and Recovering Directories: Quick Reference for tar...................................142
How To:.............................................................................................................................143
Determining What Version of the HP-UX Operating System is Running..................143
Checking the System’s Run Level................................................................................143
Scheduling a cron Job..................................................................................................144
Adding Users to a Workgroup....................................................................................144
Accessing Multiple Systems...................................................................................144
Sharing Remote Work Directories..........................................................................145
6 Table of Contents