Backup and Restore a System Controller
Sun Confidential: Internal Only
88
Sun Fire 3800 - 6800 Quick Reference Guide
SunService Sun Microsystems, Inc. All Rights Reserved. Enterprise Services
<URL> -- the directory containing the data files
supported protocols: FTP and HTTP
ftp://[<userid>:<password>@]<hostname>/<path>
http://[<userid>:<password>@]<hostname>/<path>
-y -- do not prompt for confirmation
-n -- do not execute command if confirmation is requested
-h -- display this help message
6800b-sc0:SC>
Example - relative & absolute pathnames
sc0-4800a:SC> dumpconfig -f ftp://root:[email protected]/SunFire/dumps
Created: ftp://root:[email protected]/SunFire/dumps/sc0-4800a.nvci
Created: ftp://root:[email protected]/SunFire/dumps/sc0-4800a.tod
sc0-4800a:SC> restoreconfig -f ftp://beej:[email protected]/SunFire/dumps
This will restore all the platform and domain configurations and passwords.
The system controller will be rebooted when the restore is complete.
The date will need to be set in the platform and each domain.
Do you want to restore the system controller configuration now? [no] yes
URL does not contain required file: sc0-4800a.nvci
sc0-4800a:SC>
Note –
The command above failed since it is using a relative pathname. The
restoreconfig is looking for the files in /export/home/beej/SunFire/dumps.
Use an absolute pathname as below.
sc0-4800a:SC> restoreconfig -f ftp://beej:[email protected]//SunFire/dumps
Refer to page 72 for an example of the restoreconfig command.