Home » RDBMS Server » Backup & Recovery » Change path of backup archivelogs
Change path of backup archivelogs [message #355618] Sun, 26 October 2008 09:36 Go to next message
Messages: 40
Registered: September 2008
Location: Athens
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:
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
Re: Change path of backup archivelogs [message #355632 is a reply to message #355618] Sun, 26 October 2008 12:24 Go to previous messageGo to next message
Michel Cadot
Messages: 65088
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
See FORMAT option.

Re: Change path of backup archivelogs [message #355707 is a reply to message #355632] Mon, 27 October 2008 03:03 Go to previous message
Messages: 696
Registered: January 2007
Location: Ha Noi, Viet Nam
Senior Member

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.
Previous Topic: ORA-19513: failed to identify sequential file
Next Topic: backup ran in two different media causing backup failures
Goto Forum:

Current Time: Wed Jul 26 15:47:16 CDT 2017

Total time taken to generate the page: 0.08979 seconds