DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

migrate(1M)


migrate -- copy an OpenServer system image to /openserver

SYNTAX

/usr/lib/okp/bin/migrate [-c | -n] [-v] -h hostname
/usr/lib/okp/bin/migrate [-c | -n] [-v] -i image_filename

DESCRIPTION

The migrate command populates the OpenServer compatibility directory /openserver with the files from an OpenServer system on the network, or from a previously prepared system image file.

migrate will exit without copying any files if the /openserver directory already exists, or if the invoking user is not root.

Space checking is performed to see if the file system containing /openserver contains enough free space to accommodate the system image, unless the -n option is specified.

Note that in order to use the -h option, rsh must be enabled on the OpenServer system for root access; the files /etc/hosts.equiv and /.rhosts on the OpenServer system must have 600 permissions.

See import(1M) for how to prepare the populated /openserver directory for use.

Options


-c
Perform space checking on /openserver only; do not copy any files. Cannot be specified with -n.

-n
Do not perform any space checking.

-v
Prints the name of each file to standard output as it is copied to /openserver.

-h hostname
The system name or IP address of a running OpenServer system.

-i image_filename
The file or path name of an OpenServer image file created by osragent(1M).

RETURN CODES

On success, migrate returns 0. On failure it returns 1 and prints a message indicating the source of the failure.

SEE ALSO

import(1M), osragent(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004