cbackup(ADM)


cbackup -- perform unattended incremental backup

Syntax

/usr/lib/sysadmin/cbackup level len device filesystem

Description

cbackup allows unattended incremental backups to be made by calling it from the crontab file (see crontab(C)).

cbackup takes four arguments:


level
The increment level of the backup to be made.

len
The capacity in kilobytes of the media to be used in the backup. Note that only one volume can be used since this is an unattended backup.

device
The name of the raw device to make the backup on.

filesystem
The filesystem to be backed up. Since cbackup uses cpio(C), the filesystem must be mounted when it is backed up.

Examples

The following entry from crontab backs up the entire root filesystem at 2.00am every day on a 150MB cartridge tape:
   0 2 * * * /usr/lib/sysadmin/cbackup 0 150000 /dev/rct0 /dev/root
Further examples may be found in ``Performing unattended backups'' in Backup and Restore

Limitations

The unattended backup must fit on one volume of the media being used.

Authorization

Only root can run cbackup.

See also

cpio(C), cron(C), crontab(C)

``Performing unattended backups'' in Backup and Restore


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005