|
|
|
|
|
|
| Author |
Message |
howard *nix forums beginner
Joined: 02 Mar 2006
Posts: 3
|
Posted: Thu Jul 20, 2006 10:52 pm Post subject:
Cold Backups
|
|
|
Hi,
I'm running 10g R2 on RHEL 3. I need to get my hands on a good
coldbackup script or just instructions on how to do it.
I want to be able to copy the vital directories to another location.
What would those directories be?
Thanks in advance for your help,
Howard |
|
| Back to top |
|
 |
Jerome Vitalis *nix forums addict
Joined: 03 Jun 2005
Posts: 58
|
Posted: Fri Jul 21, 2006 9:53 am Post subject:
Re: Cold Backups
|
|
|
howard wrote:
| Quote: | Hi,
I'm running 10g R2 on RHEL 3. I need to get my hands on a good
coldbackup script or just instructions on how to do it.
I want to be able to copy the vital directories to another location.
What would those directories be?
Thanks in advance for your help,
Howard
|
The best way to make sure you do not forget anything it to use the RMAN
command "backup database" (eg it will backup your control file even if
you do not ask it to). It will create backup pieces, so the result will
not be exactly what you suggested (copied directories). |
|
| Back to top |
|
 |
frank.van.bortel@gmail.co *nix forums Guru
Joined: 11 Sep 2005
Posts: 832
|
Posted: Fri Jul 21, 2006 10:48 am Post subject:
Re: Cold Backups
|
|
|
howard schreef:
| Quote: | Hi,
I'm running 10g R2 on RHEL 3. I need to get my hands on a good
coldbackup script or just instructions on how to do it.
I want to be able to copy the vital directories to another location.
What would those directories be?
|
Use RMAN, and configure it properly. An example would be:
user #: rman target /
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
'/oracle/backups/@/@_%F';
RMAN> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
RMAN> CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT
'/oracle/backups/@/@_%U';
RMAN> CONFIGURE MAXSETSIZE TO 2G;
shutdown
startup mount;
backup database;
alter database open;
exit;
Then, backup /oracle/backups to tape. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sun Nov 23, 2008 12:39 pm | All times are GMT
|
|
Xbox Mod Chip | Personal Finance | Personal Loans | Mortgages | Online advertising
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|