|
SPFILE [TO [PFILE] 'filename']
Restores the server parameter file to the location from which it was backed up (default). Alternatively, you can specify a different location with the TO clause. RMAN cannot overwrite a server parameter file currently in use by the target database.
Specify UNTIL or TAG options of RESTORE command to restore older versions of the server parameter file. By default RMAN restores the most current server parameter file.
If the server parameter file is lost, connect to the target (and catalog if used) and then run SET DBID. Run STARTUP FORCE NOMOUNT before running RESTORE SPFILE (with FROM AUTOBACKUP if in NOCATALOG mode). Then run STARTUP FORCE to restart the database with the restored server parameter file.
你把你本地的spfile删除,应该就可以了,不需要to 。 |
|