![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Right now the database is not running in archivelog mode, cos it does not need to be cos the data is transient. So probably I cannot use the $ORACLE_HOME/config/scripts/backup.sh, cos that uses RMAN. |
#3
| |||
| |||
|
|
Hello, I have XE 10. 2 on linux, 3-4 times a day data gets written into this database, which actually overwrites what was there before.. What I want to do is to backup this data, transfer the backup to another server which I have not yet installed, and restore it so I can run some applications against the data and test that it all works OK. Or if it does not fix it. Right now the database is not running in archivelog mode, cos it does not need to be cos the data is transient. So probably I cannot use the $ORACLE_HOME/config/scripts/backup.sh, cos that uses RMAN. Any suggestions? -Syd *. |
#4
| |||
| |||
|
|
On Mar 4, 4:42*am, syd_p <sydneypue... (AT) yahoo (DOT) com> wrote: Hello, I have XE 10. 2 on linux, 3-4 times a day data gets written into this database, which actually overwrites what was there before.. What I want to do is to backup this data, transfer the backup to another server which I have not yet installed, and restore it so I can run some applications against the data and test that it all works OK. Or if it does not fix it. Right now the database is not running in archivelog mode, cos it does not need to be cos the data is transient. So probably I cannot use the $ORACLE_HOME/config/scripts/backup.sh, cos that uses RMAN. Any suggestions? -Syd *. Yosarian is correct about the cold backup, it explicitly (and kind of scarily, which is a good thing for production uses) tells you it will shut down the db for the backup (at least on winblows, you can look at the script on linux and see). *Note that there are also other options for transferring data. You can use the regular export/import utilities, which is very handy if you aren't using an identical XE elsewhere. *XE also has unload to text and unload to XML under the utilities menu. *Unfortunately you can't use the handy transportable tablespaces option. *http://download.oracle.com/docs/cd/B...e.102/b25456/t... jg -- @home.com is bogus.http://www.aolnews.com/2011/02/25/fo...se-official-bl... Hmm Thanks. Had a look thro the URL |
#5
| |||
| |||
|
|
Hmm Thanks. Had a look thro the URLhttp://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/imp... I realise now what I really want to do is to back up a schema on one box and then restore on another box which has a out of the box install of XE. Seems like Data Pump Export and Data Pump Import is the way to go. Am I right? -Syd |
#6
| |||
| |||
|
|
On 4 Mar, 18:18, joel garry <joel-ga... (AT) home (DOT) com> wrote: On Mar 4, 4:42*am, syd_p <sydneypue... (AT) yahoo (DOT) com> wrote: Hello, I have XE 10. 2 on linux, 3-4 times a day data gets written into this database, which actually overwrites what was there before.. What I want to do is to backup this data, transfer the backup to another server which I have not yet installed, and restore it so I can run some applications against the data and test that it all works OK. Or if it does not fix it. Right now the database is not running in archivelog mode, cos it does not need to be cos the data is transient. So probably I cannot use the $ORACLE_HOME/config/scripts/backup.sh, cos that uses RMAN. Any suggestions? -Syd *. Yosarian is correct about the cold backup, it explicitly (and kind of scarily, which is a good thing for production uses) tells you it will shut down the db for the backup (at least on winblows, you can look at the script on linux and see). *Note that there are also other options for transferring data. You can use the regular export/import utilities, which is very handy if you aren't using an identical XE elsewhere. *XE also has unload to text and unload to XML under the utilities menu. *Unfortunately you can't use the handy transportable tablespaces option. *http://download.oracle.com/docs/cd/B...e.102/b25456/t... jg -- @home.com is bogus.http://www.aolnews.com/2011/02/25/fo...se-official-bl... Hmm Thanks. Had a look thro the URLhttp://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/imp... I realise now what I really want to do is to back up a schema on one box and then restore on another box which has a out of the box install of XE. Seems like Data Pump Export and Data Pump Import is the way to go. Am I right? -Syd |
#7
| |||
| |||
|
|
-Syd Yes, though I must caution you, while technically it is a logical backup, using export utilities and calling it a backup will get you flamed in some places. *Oracle DBA's usually call a transactional |
#8
| |||
| |||
|
|
On Mar 10, 11:59*am, joel garry <joel-ga... (AT) home (DOT) com> wrote: -Syd Yes, though I must caution you, while technically it is a logical backup, using export utilities and calling it a backup will get you flamed in some places. *Oracle DBA's usually call a transactional I have heard the same thing, and to this day I don't understand this. If I change a script and before doing so make a simple copy, that is a backup. *When I do that with a database, it isn't. RMAN and archived redo logs is obviously the most robust since you can do point in time recovery with just internal database tools, but to say an export of a small schema that is never changed (or even infrequently and can be easily rebuilt from source data) is not a "backup" will draw more than a puzzled glance from a reasonable person. *Call it a copy, a backup, whatever you want. *Backup works for me. |
![]() |
| Thread Tools | |
| Display Modes | |
| |