beautypg.com

Duplicating a file using the restartable option – HP NonStop G-Series User Manual

Page 114

background image

Using FUP for Basic File Management

Guardian User’s Guide 425266-001

7- 14

Duplicating Files

To duplicate the files in both $ALPHA.SOUP and $COUNT.DOWN to the
subvolume $SUM.UP, enter:

Now subvolume $SUM.UP contains copies of all the original files:

To duplicate the same files to volume $DUKE and retain the original subvolume
names, enter:

Now volume $DUKE has a SOUP and a DOWN subvolume, each containing the
files copied from $ALPHA.SOUP and $COUNT.DOWN:

If files previously existed in subvolumes $DUKE.SOUP or $DUKE.DOWN, they
would also be listed by this FILES command.

You can also use * as a wild-card character. For example, to duplicate all files on
OLDSVOL that end in FILE, enter:

Duplicating a File Using the RESTARTABLE Option

When duplicating large files, especially over a network that might experience problems,
use the RESTARTABLE option. That way, in case the duplicate operation fails before it
is finished, a subsequent RESTART command continues the duplicate operation from
the point of failure rather than from the beginning, saving system time and resources.

FUP saves the restart information in a disk restart file (file code 855). You can name this
restart file in your DUPLICATE command, or you can let FUP create the ZZRSTART
file in your default subvolume. The RESTART command uses the information in this
file to restart the duplicate operation from the point of failure.

1. Duplicate the file BIGFILE on system \WEST to NEWFILE on system \EAST and

use the RESTARTABLE option with RSFILE as the restart file, enter:

-DUP ($ALPHA.SOUP.*, $COUNT.DOWN.*), $SUM.UP.*

-FILES $SUM.UP
$SUM.UP
A B BLASTOFF

-DUP ($ALPHA.SOUP.*, $COUNT.DOWN.*), $DUKE.*.*

-FILES $DUKE.SOUP
$DUKE.SOUP
A B
-FILES $DUKE.DOWN
$DUKE.DOWN
BLASTOFF

-DUP $ALPHA.OLDSVOL.*FILE, $ALPHA.NEWSVOL.*

-DUP \WEST.$DISK2.ACCTS.BIGFILE, &
-\EAST.$DISK4.ACCTS.NEWFILE, RESTARTABLE RSFILE

This manual is related to the following products: