You can perform a backup to a tape drive attached to a Solaris system.
The following command performs a backup to a tape drive on a Solaris system. The tape drive rewinds the tape.
dump 0f ritchie:/dev/rmt/0 /vol/vol1
The elements of this command line are described in the following table.
| Element | Description |
|---|---|
| 0 | Does a full backup. |
| f | Specifies that a tape device is supplied in the command line. |
| ritchie | The name of the Solaris machine to which the tape drive is connected. |
| /dev/rmt/0 | The name of the tape drive. Tape drive names vary according to the type of Solaris system you use. |
| /vol/vol1 | The volume to be backed up. |
The following command performs a backup to a tape drive on a Solaris system with a 2-GB limit. The size of the backup is greater than 2 GB but less than 4 GB, so the backup must be broken up into two tape files.
dump 0fB thompson:/dev/rmt/0n,/dev/rmt/0n 2097151 /vol/vol1
The elements of this command line are described in the following table.
| Element | Description |
|---|---|
| 0 | Does a full backup. |
| f | A tape device is supplied in the command line. |
| B | Specifies that the maximum tape file size allowed is supplied in the command line. |
| thompson | This is the name of the Solaris machine to which the tape drive is connected. |
| /dev/rmt/0n | This is the name of the remote tape drive. |
| 2097151 | The maximum tape file size allowed. This is equal to 2 GB. |
| /vol/vol1 | This is the volume to be backed up. |