|
First, you'll have to shut down your database as follows:
sqlplus /nolog
connect / as sysdba
shutdown immediate
exit
At that point, you will simply copy the database files with the cp command as follows:
cd /backupdir
cp /sourcedir/file
Repeate the cp command for each file. When performing a cold backup, you should copy all files listed in the DBA_DATA_FILES, V$LOGFILE and V$CONTROL_FILES views. So query these views before you shut down the database so you do not miss any important database files.
|