-b blocking_factor
|
This option indicates the blocking factor; all actual reads on the device are performed by blocks of the size 512 x blocking factor. The default is 20. Note: This number needs to be the same blocking factor that was used for the backup.
|
-f device | file | -
|
Specify the file name or device from which the backup data is read. For example:
-f ./backup.0515
-f /dev/rmt/0
|
-f -
|
This option reads from standard in (stdin) to pipe the restore from another tool (not possible in interactive mode).
|
-i
|
Interactive mode (see the following section on interactive mode).
|
-t 1 | 2 | 3
|
Designates the type of restore to be performed:
1=regular restore (default)-To help a user who accidentally expunged a folder to recover messages. The username should be specified on the command line. If the original folder exists, folders are restored using their names, followed by the date of the backup. For example, the folders will be in the form: mailbox.date. If mailbox.date already exists, imrestore uses mailbox.date.001, then mailbox.date.002, and so on.
2=recover-To be used when the message store has been corrupted and was reinitialized. A recover should be done on the last full backup, plus every incremental backup since that full backup, in chronological order. Folders are restored to their original names whenever possible.
3=migrate-Used to migrate users from one message store to another. The username needs to be specified on the command line.
|
-c continuation_filename
|
Used when restoring from multiple backups that were made from the same message-store. Allows the restored messages' identifiers to be loaded from and saved to the specified file so that subsequent restores from continuation backups don't create multiple copies of identical messages.
When this option is not used, an in-memory table is created for the lifetime of this restore session. This option should only be used for backups made on the same message-store when no full restore has occurred between backups. If in doubt, do not use this option.
|
-u usernames_file | userlist
|
Used only to restore or migrate users whose names are in the usernames_file or specified users (userlist). By default, all users on the back up tape are restored or migrated.
|
-l config_file_location
|
Location of Message Access Services configuration file (ims.cnf). If the -l option is not specified, the default location (/etc/opt/SUNWmail/ims/) will be used.
|