HMC Manual Reference Pages  - CPDUMP (1)

NAME

cpdump - copy dumps

CONTENTS

Synopsis
Description
Options
Examples
Environment
Bugs
Author
See Also

SYNOPSIS

cpdump -r {ftp | usb} -f "" "file1 file2 ...fileN" ""
[-h host-name] [-u user-ID] [--passwd password]
[-d directory] [--help]

DESCRIPTION

cpdump copies managed system dumps and managed frame dumps from the Hardware Management Console (HMC) to a remote FTP site or a USB data storage device.

Use the lsdump command to list the managed system dumps and managed frame dumps that reside on the HMC.

OPTIONS

-r The storage location to where the dumps will be copied. Valid values are ftp for a remote FTP site and usb for a USB data storage device.

When copying dumps to a USB data storage device, the device must be inserted into a USB port on the HMC and the device must be mounted with the mount command before running this command. The lsmediadev command can be used to display the mount points for the removable media devices on the HMC.

-f The file name of the dump to be copied. If multiple dumps are to be copied, the file names must be separated by blanks and enclosed in double quotes.
-h The host name or IP address of the remote FTP site.

This option is required when copying dumps to a remote FTP site. Otherwise, this option is not valid.

-u The user ID to use to log in to the remote FTP site.

This option is required when copying dumps to a remote FTP site. Otherwise, this option is not valid.

--passwd The password to use to log in to the remote FTP site. If this option is omitted, you will be prompted to enter the password.

This option is only valid when copying dumps to a remote FTP site.

-d When copying dumps to a remote FTP site, specify the directory on the FTP server to where the dumps will be copied. If this option is omitted, the dumps will be copied to the home directory of the user.

When copying dumps to a USB data storage device, specify the directory on the USB device to where the dumps will be copied.

--help Display the help text for this command and exit.

EXAMPLES

Copy a dump file to a remote FTP site:

cpdump -r ftp -f "FSPDUMP.100072A.01000019.20040629205455"
-h ftpserver -u ftpuser --passwd ftppassword -d /tmp/dumpfiles/

Copy dump files to a USB flash drive:

lsmediadev (to obtain mount points)

mount /media/sdb1

cpdump -r usb -f "FSPDUMP.100072A.01000019.20040629205455
SYSDUMP.100072A.01000019.20040630183112" -d /media/sdb1

ENVIRONMENT

None

BUGS

None

AUTHOR

IBM Austin

SEE ALSO

lsdump, lsmediadev, rmdump


Linux CPDUMP (1) "October 2014"
Generated by manServer 1.07 from cpdump.1 using man macros.