|
Re: backup from oracle form [message #332037 is a reply to message #332021] |
Mon, 07 July 2008 05:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
dude4084
Messages: 222 Registered: March 2005 Location: Mux
|
Senior Member |
|
|
A part of my one of the form used for export purpose is as follow
Kindly read it and get guidence from it. ( i think you will able to recognize variables and input fields)
Good luck!
Quote: | the_username:= GET_APPLICATION_PROPERTY(USERNAME);
the_password:= GET_APPLICATION_PROPERTY(PASSWORD);
the_connect:= GET_APPLICATION_PROPERTY(CONNECT_STRING);
the_command := 'exp '
||the_username
|| '/'|| the_password
|| '@'|| the_connect
|| ' file='|| :drive ||'\' ||:path || '\' ||:filename || '.dmp owner='|| the_username;
Message('Exporting...', NO_ACKNOWLEDGE);
Synchronize;
Host( the_command, no_screen);
|
|
|
|
|
Re: backup from oracle form [message #332084 is a reply to message #332046] |
Mon, 07 July 2008 08:32 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
dude4084
Messages: 222 Registered: March 2005 Location: Mux
|
Senior Member |
|
|
ziauldba wrote on Mon, 07 July 2008 15:58 | Thanks..a lot..
but i need to export data without given value at every time ,like drive name ,path etc
because my backup location is fixed.filename may change by the sysdate.
pls give me help as my requirement .....
|
Then fix the drive and path. And then set the filename with the help of sysdate.
Whats is difficulty in it?
You try it and report the problems you face.
|
|
|
|
Re: backup from oracle form [message #332148 is a reply to message #332144] |
Mon, 07 July 2008 11:42 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
dude4084
Messages: 222 Registered: March 2005 Location: Mux
|
Senior Member |
|
|
Dear Littlefoot
There is one discrepancy which i feel in the referenced message.i.e the password of the user has to be provided all the time.
By the way what is method of backup?
Kindly give reference of some good article about it.
Regards
-Dude
|
|
|
Re: backup from oracle form [message #332176 is a reply to message #332148] |
Mon, 07 July 2008 14:37 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Backup and Recovery guides can be found in the Oracle documentation; there are several books available on the page the previous link points to.
There are two kinds of a backup: physical, which saves physical files (datafiles, redo log files, control files) and logical, which is (yes, it is!) a file created by Oracle's Export utility.
However, as the Guide suggests,Quote: | Physical backups are the foundation of any sound backup and recovery strategy. Logical backups are a useful supplement to physical backups in many circumstances but are not sufficient protection against data loss without physical backups.
|
Export and import utilities are great for moving data between databases, but one should really rely on a physical backup, not export.
|
|
|
Re: backup from oracle form [message #332385 is a reply to message #332176] |
Tue, 08 July 2008 07:27 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
dude4084
Messages: 222 Registered: March 2005 Location: Mux
|
Senior Member |
|
|
Littlefoot wrote on Tue, 08 July 2008 00:37 | Backup and Recovery guides can be found in the Oracle documentation; there are several books available on the page the previous link points to.
There are two kinds of a backup: physical, which saves physical files (datafiles, redo log files, control files) and logical, which is (yes, it is!) a file created by Oracle's Export utility.
However, as the Guide suggests,Quote: | Physical backups are the foundation of any sound backup and recovery strategy. Logical backups are a useful supplement to physical backups in many circumstances but are not sufficient protection against data loss without physical backups.
|
Export and import utilities are great for moving data between databases, but one should really rely on a physical backup, not export.
|
Thanks
-Dude
|
|
|
|