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
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 #355632 is a reply to message #355618] Sun, 26 October 2008 12:24 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
See FORMAT option.

Regards
Michel
Re: Change path of backup archivelogs [message #355707 is a reply to message #355632] Mon, 27 October 2008 03:03 Go to previous message
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.
Previous Topic: ORA-19513: failed to identify sequential file
Next Topic: backup ran in two different media causing backup failures
Goto Forum:
  


Current Time: Fri Nov 22 13:15:09 CST 2024