bkconsdata - back up console data
Synopsis
Description
Options
Examples
Environment
Bugs
Author
bkconsdata -r {usb | ftp | sftp | nfs | none}
[-h host-name] [-u user-ID] [--passwd password]
[-l mount-resource-location] [-o "mount-command-options"]
[-d remote-directory] [-x netcfg] [-i perfmon]
[--help]
bkconsdata backs up critical Hardware Management Console (HMC) data, which is HMC data that is stored on the HMC hard disk. This backup data may be used to restore the HMC if the HMC needs to be reinstalled from the HMC recovery CDs in the event of an HMC hard disk failure.
-r The archive option for the backup data. Valid values are usb for a USB flash memory device, ftp for a remote FTP site, sftp for a remote secure FTP (SFTP) site, nfs for an NFS mounted remote file system, or none. The none option is used to remove the backup task lock allowing this task to be re-executed immediately. -h The host name or IP address of the remote server. This option is required when backing up the data to a remote FTP site, SFTP site, or NFS file system. Otherwise, this option is not valid.
-u The user ID to use to log in to the remote FTP or SFTP site. This option is required when backing up the data to a remote FTP or SFTP site. Otherwise, this option is not valid.
--passwd The password to use to log in to the remote FTP or SFTP site. If this option is omitted, you will be prompted to enter the password. This option is only valid when backing up the data to a remote FTP or SFTP site.
-l The mount resource location defined on the NFS server where the backup data will be written. This option is required when backing up the data to a remote NFS file system. Otherwise, this option is not valid.
-o Options to be passed to the mount command used to mount the remote NFS file system where the backup data will be written. The options must be enclosed in double quotes. This option is only valid when backing up the data to a remote NFS file system.
-d The directory on the remote server to which to write the backup data. If this option is not specified when backing up the data to a remote FTP or SFTP site, the backup data will be written to the user’s home directory. If this option is not specified when backing up the data to a remote NFS file system, the backup data will be written to the mount-resource-location on the NFS server. This option is only valid when backing up the data to a remote FTP site, SFTP site, or NFS file system.
-x The data to be excluded from the backup data. The only valid value is netcfg to exclude network configuration data. -i Additional data to be included in the backup data. The only valid value is perfmon to include performance monitoring data. --help Display the help text for this command and exit.
Back up critical HMC data to a USB flash memory device:bkconsdata -r usb
Back up critical HMC data to a remote FTP site:
bkconsdata -r ftp -h ftpserver -u ftpuser --passwd ftppassword
Back up critical HMC data to a remote SFTP site (you will be prompted to enter your password) and include performance monitoring data:
bkconsdata -r sftp -h sftpserver -u sftpuser -i perfmon
Back up critical HMC data to an NFS mounted remote file system:
bkconsdata -r nfs -h 9.3.145.52 -l /home/hmc/backups
None
None
IBM Austin
| Linux | BKCONSDATA (1) | November 2013 |