What to backup in Oracle?
From: user Linux <kankossa_at_free.fr>
Date: Thu, 22 Feb 2001 16:41:48 GMT
Message-ID: <gjbl6.1103$I87.4129908_at_nnrp1.proxad.net>
Date: Thu, 22 Feb 2001 16:41:48 GMT
Message-ID: <gjbl6.1103$I87.4129908_at_nnrp1.proxad.net>
Hello,
[Quoted] I find the following script for backup the oracle database. But I don't know what to do exactly.
#!/bin/sh
PATH=$PATH:$ORACLE_HOME/bin
export PATH
echo "BEGIN: $(date)"
file1="YOUR_DATABASE_$(date +%Y%m%d).dmp"
[Quoted] file2="YOUR_DATABASE_$(date +%Y%m%d).log"
exp userid=login/password file=$file1 log=$file2 full=yes
echo "END: $(date)"
I know that my instance has the same name as th db_name both called
[Quoted] "bas1" as I can see from initbas1.ora in /pfile directory.
However in can't find where this base lies physical, grep, find can not
find it.
What to replace in place of "YOUR_DATABASE" in the above script?
Can somebody helping me?
Received on Thu Feb 22 2001 - 17:41:48 CET