restoreconfig(8)

System Administration 135

EXAMPLES EXAMPLE 1 Restoring the Configuration using FTP
XSCF> restoreconfig -V -u manilla 129.145.155.156:8080 ftp:/

10.7.79.18/sollgell/proxytest-ftp.cfg

transfer from ’/tmp/dumpconfig.EvY1Yf’ to ’ftp://10.7.79.18/sollgell/
proxytest-ftp.cfg’
Password:
* About to connect() to 129.145.155.166 port 8080
* Trying 129.145.155.166... * connected
* Connected to 129.145.155.166 (129.145.155.166) port 8080
* Proxy auth using (nil) with user ’’
* Server auth using Basic with user ’minilla’
> GET ftp://10.7.79.18/sollgell/proxytest-ftp.cfg HTTP/1.1
Authorization: Basic bHdhbmc6bHdhbmc=
User-Agent: restoreconfig
Host: 10.7.79.18:21
Pragma: no-cache
Accept: */*
< HTTP/1.1 200 OK
< Server: Sun-Java-System-Web-Proxy-Server/4.0
< Date: Thu, 07 Aug 2008 18:01:00 GMT
< Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0
< Via: 1.1 proxy-proxy
< Transfer-encoding: chunked
* Connection #0 to host 129.145.155.166 left intact
* Closing connection #0
Configuration backup created on Mon Aug 4 12:58:19 2008
from system ’M3000’ with serial number ’IKS08220xx’, version ’19830000’
*** You will need to power-cycle the entire system after this operation is
completed
*** Do you want to restore this configuration to your system? [y|n]: y
requesting XSCF reboot to perform restore ... requested
Connection to ghidorah.com closed by foreign host.