- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swcopy command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:42 AM
тАО10-04-2005 08:42 AM
swcopy command
What is the correct swcopy syntax to copy this depot/bundle to another server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:48 AM
тАО10-04-2005 08:48 AM
Re: swcopy command
The basic command will look like:
swcopy /path/to/current/depot_name @ new_hostname:/path/to/new/depot_root
It will place depot_name into the new depot_root.
And of course you can run the interactive GUI by just kicking off
swcopy &
and then select source & destination.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 03:10 PM
тАО10-04-2005 03:10 PM
Re: swcopy command
1) swcopy -s
2) FTP to other host
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 06:27 PM
тАО10-04-2005 06:27 PM
Re: swcopy command
swcopy
Or else you can simply transfer this with normal file transfer methods as,
ftp / rcp / scp / sftp
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 08:26 AM
тАО10-05-2005 08:26 AM
Re: swcopy command
I am on the target host.
I issue the command, and get the below error:
swcopy sourcehost:/var/opt/ignite/depot/Rel_B.11.11/06_05XSW11i @ /var/opt/ignite/depot/Rel_B.11.11/06_05_XSW11i
======= 10/05/05 15:08:29 CDT BEGIN swcopy SESSION (non-interactive)
* Session started for user "root@targethost".
* Beginning Selection
* "targethost:/var/opt/ignite/depot/Rel_B.11.11/06_05_XSW11i":
This target does not exist and will be created.
ERROR: There is currently no depot software on host "targethost" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "targethost:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is
targethost:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 10/05/05 15:08:30 CDT END swcopy SESSION (non-interactive)
help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 08:53 PM
тАО10-05-2005 08:53 PM
Re: swcopy command
put the targethost name before the path to the destination name of the directory path ? for e.g hostname of the machine: AVIVA:/var/opt/ignite......
It may work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 09:03 PM
тАО10-05-2005 09:03 PM
Re: swcopy command
====
ok. In source machine check as,
# ls -l /var/opt/ignite/depot/Rel_B.11.11/06_05XSW11i
In target Machine,
# ping sourcehost
If they are correct, can you try as from source machine,
# swcopy /var/opt/ignite/depot/Rel_B.11.11/06_05XSW11i @ destinationhost:/var/opt/ignite/depot/Rel_B.11.11/06_05_XSW11i
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 04:15 AM
тАО10-06-2005 04:15 AM
Re: swcopy command
ftped the bundled.
Then ran swreg on the new depot area, worked fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 04:19 AM
тАО10-06-2005 04:19 AM
Re: swcopy command
swcopy -s servera:/var/software/hp/SHC \* @ /var/software/hp/SHC
Rgds...Geoff