|
Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006
"Exp script? (Urgent) "
I wanted to write a script that automatically derived database.
Sunday so totally derivative, has done derived Wednesday, the remaining increments are derived.
The following two basic orders :
Exp system/manager inctype=complete file=20050807.dmp
Exp system/manager inctype=incremental file=20050810.dmp
Exp system/manager inctype=cumulative file=20050811.dmp
I want my file names are automatically change the law, such as : automatic admission system one time or file name
I was using the system aix5l
Experts who help me! ! ! ! ! In this Xianxie! ! ! ! ! ! ! ! ! |
"Exp script? (Urgent) "
I wrote the script as follows : (in the Linux implementation)
#! /bin/sh
Q 'date + "%m%d"'
Exp system/manager inctype=complete file=22$q.dmp
But I 22date + is the result of the implementation of "%m%d.dmp he did not do so on Japan
The change experts who help me |
"Exp script? (Urgent) "
Use back quote.
`date +%m%d` |
"Exp script? (Urgent) "
-->
Single quotation marks and note the distinction between anti-quotation marks! |
"Exp script? (Urgent) "
Exp incremental backup instead of the traditional sense of the recommended daily total incremental derived ~ ~ |
"Exp script? (Urgent) "
Thank you solve the problem |
| |