Here is my code and errors. I think it is because it made a file up to the OS limit, how do I say it to make several files etc.. or how do I overcome this? I did a listing to show how big the file is as well, at the end.
Please help.
Thanks,
Nirasha
RMAN> run {
2> allocate channel incr0dsk type disk;
3> backup
4> incremental level 0
5> tag incr0_bkup
6> format '/u07/tapebackup/tape0/fndry_p/%d_%u'
7> (database include current controlfile);
8> release channel incr0dsk;
9> }
RMAN> run {
2> allocate channel incr0dsk type disk;
3> allocate channel incr1dsk type disk;
4> backup
5> incremental level 0
6> tag incr0_bkup
7> format '/u07/tapebackup/tape0/fndry_p/%d_%u',
8> '/u08/tapebackup/tape0/fndry_p/%d_%u'
9> (database include current controlfile);
10> release channel incr0dsk;
11> }
'/u08/tapebackup/tape0/fndry_p/%d_%u' : This is one more file system. Make sure that you have space to backup your data. If you need more space add one more channel and point to additional file location.
I would prefer if I could just say break it up into files in the same place. Otherwise I would always have to calculate before backups and if my db is 2GB, I have to do this 10 times (if it works). RMAN is becoming such a pain.
Yes, he meant that only. Limit the size of each channel and distribute it evenly to all location. You can also use "maxopenfiles" option. Add this two lines after channel alocation.
If I use the setsize parameter, it automatically sets each file size limit. Initially I thought of using it but the explanation in the guide/manual but a bit unclear.
It works.. thanks all for help. I think I have learnt sooo much on RMAN now.
Bookmarks