Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Devices and File Systems Oracle Solaris 10 1/13 Information Library |
1. Managing Removable Media (Overview/Tasks)
2. Writing CDs and DVDs (Tasks)
4. Dynamically Configuring Devices (Tasks)
5. Managing USB Devices (Tasks)
6. Using InfiniBand Devices (Overview/Tasks)
9. Administering Disks (Tasks)
10. SPARC: Setting Up Disks (Tasks)
11. x86: Setting Up Disks (Tasks)
12. Configuring Oracle Solaris iSCSI Targets (Tasks)
13. The format Utility (Reference)
14. Managing File Systems (Overview)
15. Creating and Mounting File Systems (Tasks)
16. Configuring Additional Swap Space (Tasks)
17. Checking UFS File System Consistency (Tasks)
18. UFS File System (Reference)
19. Backing Up and Restoring UFS File Systems (Overview/Tasks)
Introduction to Backing Up and Restoring UFS File Systems
Why You Should Back Up File Systems
Planning Which UFS File Systems to Back Up
High-Level View of Backing Up and Restoring UFS File Systems (Task Map)
Considerations for Scheduling Backups
How Often Should You Do Backups?
Backup Interval Terms and Definitions
Guidelines for Scheduling Backups
Using Dump Levels to Create Incremental Backups
Example--Dump Levels for Daily, Cumulative Backups
Example--Dump Levels for Daily, Incremental Backups
Example--Daily Cumulative, Weekly Cumulative Backup Schedule
Tape Requirements for the Daily Cumulative, Weekly Cumulative Schedule
Example--Daily Cumulative, Weekly Incremental Backup Schedule
Tape Requirements for the Daily Cumulative, Weekly Incremental Backup Schedule
Example--Daily Incremental, Weekly Cumulative Backup Schedule
Tape Requirements for Daily Incremental, Weekly Cumulative Schedule
Example--Monthly Backup Schedule for a Server
Backing Up UFS Files and File System (Task Map)
Preparing for File System Backups
How to Find UFS File System Names
How to Determine the Number of Tapes Needed for a Full Backup
How to Back Up a UFS File System to Tape
Restoring UFS Files and File System Backups (Task Map)
Preparing to Restore UFS Files and File Systems
Determining the UFS File System Name
Restoring UFS Files and File Systems
How to Determine Which Tapes to Use
How to Restore UFS Files Interactively
How to Restore Specific UFS Files Noninteractively
How to Restore a Complete UFS File System
How to Restore a UFS root (/) and /usr File System
20. Using UFS Snapshots (Tasks)
21. Copying Files and File Systems (Tasks)
22. Managing Tape Drives (Tasks)
The ufsrestore command copies files to disk, relative to the current working directory, from backups that were created by using the ufsdump command. You can use the ufsrestore command to reload an entire file system hierarchy from a level 0 dump and incremental dumps that follow it. You can also use this command to restore one or more single files from any backup tape. If you run the ufsrestore command as superuser, files are restored with their original owner, last modification time, and mode (permissions).
Before you start to restore files or file systems, you need to know the following:
The tapes (or diskettes) you need to restore from
The raw device name on which you want to restore the file system
The type of tape device you will use
The device name (local or remote) for the tape device
If you have properly labeled your backup tapes, you should be able to use the file system name (/dev/rdsk/device-name) from the tape label. For more information, see How to Find UFS File System Names.
You must use a tape device that is compatible with the backup media to restore the files. The format of the backup media determines which drive you must use to restore files. For example, if your backup media is 8-mm tape, you must use an 8-mm tape device to restore the files.
You might have specified the tape device name (/dev/rmt/n) as part of the backup tape label information. If you are using the same drive to restore a backup tape, you can use the device name from the label. For more information on media devices and device names, see Chapter 22, Managing Tape Drives (Tasks).