DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

backup(ADM)


backup -- performs UNIX backup functions

Syntax

backup [ -t ] [ -p | -c | -f files | -u "users" ] -d device

backup -h

Description

The UNIX backup utility is a front-end for the cpio(C) utility. Use restore(ADM) to restore backups made with this utility. It is not recommended for routine system backups; use the Backup Manager for system backups.

-h
produces a history of backups. Tells the user when the last complete and incremental/partial backups were done.

-c
complete backup. All files are backed up.

-p
incremental/partial backup. This option backs up only the files that have been modified since the date of the last backup. A complete backup must be performed before a partial backup.

-f
backup files specified by the files argument. File names may contain characters to be expanded (that is, *, .) by the shell. The argument must be in quotes.

-u
backup a user's home directory. All files in the user's home directory will be backed up. At least one user must be specified but it can be more. The argument must be in quotes if more than one user is specified. If the user name is ``all'', then all the user's home directories will be backed up.

-d
used to specify the device to be used. It defaults to /dev/rdsk/f0q15d (the 1.2MB floppy).

-t
used when the device is a tape. This option must be used with the -d option when the tape device is specified.

A complete backup must be done before a partial backup can be done. Raw devices rather than block devices should always be used. The program can handle multi-volume backups. The program will prompt the user when it is ready for the next medium. The program will give you an estimated number of floppies/tapes that will be needed to do the backup. Floppies MUST be formatted before the backup is done. Tapes do not need to be formatted, except mini-cartridge tapes. If backup is done to tape, the tape must be rewound.

xbackup is the equivalent utility for XENIX filesystems.

See also

restore(ADM)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003