Change path of backup archivelogs [message #355618] |
Sun, 26 October 2008 09:36 |
Mimas
Messages: 40 Registered: September 2008 Location: Athens
|
Member |
|
|
Hello all,
I am facing an issue with when I backup archive logs.
Because of the disk space I want to take the backup of the archivelogs but send it to different path at the same time the backup is taken because I could have to its original path and then copy and remove but not enough disk space.
For example Archivelogs are producing under:
/oradata2/flash_recovery_area/archivelogs
but when I give the follwing command:
RMAN>backup archivelog all delete input;
I want to add something that will send the backup file under e.g. /Backup/archivelogs/
How can I do that. is it something like:
RMAN>backup archivelog all delete input '/backup/archivelogs/'
???
Thanks in advance
Mimas
|
|
|
|
Re: Change path of backup archivelogs [message #355707 is a reply to message #355632] |
Mon, 27 October 2008 03:03 |
trantuananh24hg
Messages: 744 Registered: January 2007 Location: Ha Noi, Viet Nam
|
Senior Member |
|
|
eg:
RMAN> run{
allocate channel d1 type disk;
backup archivelog all
format '/bkp_data/arc_bkp/arc_%d_%s_%u.bkp';
crosscheck archivelog all;
delete archivelog all;
release channel d1;
with the backup of archive_log_file will be placed in /bkp_data/arc_bkp directory.
|
|
|