Topic: Database Administration >> backup datafile with system date
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: backup datafile with system date |
| shipon |
Posted: Apr 19, 2008 02:25:30 AM |
Total Post: 27
Joined: Feb, 2008
|
Dear Friends ,
I want to backup my control file using the follwoing script :
run
{
allocate channel t1 type disk;
backup format 'df_%t_%s_%p'
database);
}
A backup file is created name "DF_652303232_10_1" .
Now I want a situation where this file contains also system date . i.e.,
I want to backup my datafile with SYSTEM DATE informtaion . is it possible to do ?
|
|
|
Murtuja |
| Posted: Apr 19, 2008 08:49:21 AM | |
|
Total Post: 814
Joined: Jan, 2006
|
You have to specify %T in backup format
%T :Specified date in format YYYYMMDD
|
|
|
|
|
Murtuja |
| Posted: Apr 21, 2008 12:34:32 AM | |
|
Total Post: 814
Joined: Jan, 2006
|
Hi,
Do you have any updates regarding this issue ?
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 814 |
| Mohammed Taj | 694 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| positive fanatic | 361 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 239 |
| neeraj sharma | 228 |
| Ramesh Jois | 226 |
| snehalatha p | 169 |
|
|