...
The following table shows some SCP syntax examples
Task | Command |
---|---|
Copy single file to another system | $ scp <local-file> <user>@<remote-host>:<remote-file-path> |
Copy a directory recursively to another system | $ scp -r <local-path> <user>@<remote-host>:<remote-path> |
Copy a single file from another system | $ scp <user>@<remote-host>:<remote-file-path> <local-file> |
Copy a directory recursively from another system | $ scp -r <user>@<remote-host>:<remote-path> <local-path> |
...
- cpio
- tar
- dump/restore for HFS filesystems
- vxdump/vxrestore for VxFS filesystems
- fbackup/frecover for selective file backup and restore
- make_net_recovery / make_tape_recovery when working with Ignite
- pax to create and restore archive files of different formats; there is also an pax_enh package to support file sizes larger than 8GB in version 11.23 (default in HP-UX 11.31).
The Please note:
- The cpio and the standard tar command on HP-UX have restrictions with respect to the largest file size they can handle: the maximum file size for cpio is 2GB, the maximum for tar is 8GB.
...
...
- The utilities tar, cpio, and pax can be used to transfer archives between HP-UX and other operating systems.
When creating an archive using one of the above commands, you can copy the archive to the target HP-UX system and restore it there. Alternatively, you can pipe the archive command on the source system through ssh to the respective restore command on the target.
...
On the source system:
|
Take Please note: Take care not to overwrite any files on the target system! Please read the respective man-pages carefully to learn about additional parameters of the commands and their proper use.
...
The traditional methods used to move files between systems are available also available for Charon-PAR emulated systems.
When using HP the original vendor or third-party Store, you should specify the ;COMPRESS
(or equivalent) keyword to ensure that the resulting archive files are as small as possible. Compression can reduce space required to store TurboIMAGE files quite considerably. The ;PARTDB
keyword is also recommended, to include any partial database files you may have.
To ensure that all files in the Hierarchical File System (HFS) are included store the " / " fileset; Store also interprets the " @.@.@ " fileset as " / ".
...
There are two ways you can connect a tape device to a Charon-PAR host system. If you build your server with a SCSI card, you can connect any SCSI tape device that works with MPE/iX. You can also connect a HP USB DAT 72 drive to the Charon-PAR host system which offers a low-cost solution if you currently use DDS3 or DDS4 media.
Any HP original vendor or third-party backup product may be used to restore files on the Charon-PAR guest system.
...
FTP can be used to transfer individual files. However, it is far more efficient to use it in conjunction with any STORE product that can store-to-disk, preferably compressed. Use FTP to transfer the resulting archive file(s) to the MPE/iX guest system and restore-from-disk to extract the contents. Restore-from-disk results in files being created with correct attributes and security settings which is not necessarily the case when transferring individual files with FTP. This method does require enough free disk space on both systems to hold the store-to-disk archive file(s). If disk space is tight, individual accounts (or even groups) can be processed instead of storing the whole system.
Any HP original vendor or third-party backup product may be used to restore files from disk on the Charon-PAR guest system.
...