imbackup

imbackup is the utility used to back up stored messages.


Syntax

 
imbackup -f ( device | file | - ) | -n [ -d datefrom ]\ 
 
[ -b blocking_factor] [ -a ] [-l config_file_location] [ -u usernames_file | userlist ] 
 

The following options are used with imbackup:

-f  

Specify the file name or device to which the backup is written. For example:

-f ./backup.0515

-f /dev/rmt/0  

-f -  

This option writes to stdout (to pipe the backup to another tool.  

-n  

This option is for simulation only; nothing is written.  

-a  

Autoload tapes when end-of-tape is reached, for use with autoloading tape drives.  

-d datefrom  

This option specifies the date from which messages are to be backed up, expressed as yyyymmdd (see the following example). The default is to back up all messages, regardless of their date.  

-b blocking_factor  

This option indicates the blocking factor; all actual writes on the backup device are performed by blocks of the size 512 bytes x blocking_factor. The default is 20.  

userlist  

Used to back up only specified users. By default, all users are backed up.  

-u usernames_file  

Used exclusively with userlist to back up only some users whose names are in the file usernames_file.  

-l config_file_location  

Location of the Message Access Services configuration file (ims.cnf). If the -l option is not specified, the default location (/etc/opt/SUNWmail/ims/) will be used.  


Examples

The following examples show two different ways to use the -f option:

 
# imbackup -f ./backup.0515
 
# imbackup -f /dev/rmt/0
 

The following example describes usage of the -d option to specify a particular date from which to backup messages. In this example, a message store backup from 5/1/97 (specified yyyymmdd) to the present is performed.

 
# imbackup -d 19970501 -f /dev/rmt/0
 




Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.