DDiamond (and others that may read this thread later),
To clarify LKBrwnDBA's correct observation:
Using "xcopy" or some other operating-system command to duplicate your database files
is only half of the equation...You must also first either
1) Gracefully shutdown your database before copying the files (This works for cold backups in either ARCHIVELOG or NOARCHIVELOG mode.) or,
2) Place each tablespace into backup mode via the command:
Code:
ALTER TABLESPACE <ts name> BEGIN BACKUP;
...which applies only if your database is in ARCHIVELOG mode.
If you do not successfully complete one of the above "preparations" for backing up, and you only copy your database files,
then your Oracle backups are USELESS!!!.
(Important Note: If you choose Option 2, above, then you should/must take the subject tablespace out of backup mode with this counterpart command:
Code:
ALTER TABLESPACE <ts name> END BACKUP;
An alternative to all of this is to use Oracle's RMAN (Recovery MANager) utilities.
Let us know if this clarification generates any follow-on questions.
![[santa] [santa] [santa]](/data/assets/smilies/santa.gif)
Mufasa
(aka Dave of Sandy, Utah, USA)
[I can provide you with low-cost, remote Database Administration services: see our website and contact me via
www.dasages.com]