Azure for hot backup
Hi guys,
I can't seem to search this scenario.
Can Azure be used as a Hot Backup? An on-prem server is backed up on the the Azure Cloud. When some disaster befalls the on prem server, can we switch to the cloud server?
Most document just discusses the backup and restore capabilities of Azure but not as hot backup capabilities.
Thanks,
Jojo
Hi Jojo,
You can backup your op-promise server on Azure Cloud. Please refer to this page about how to configure it:
http://blogs.technet.com/b/systemcenter/archive/2014/05/08/using-and-monitoring-azure-backup-for-windows-server.aspx
But for Azure Backup how to work, I suggest you can post this issue on Azure back up forum for more details.
https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=windowsazureonlinebackup
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Minimum privilege for hot backup
Hi,
Dears,
which privilege is required to take hot backup i want create user to take hotbackup with minimum privilege .now i take hotbackup with SYS user but this is danger because another department should be take hotbackup.
best regards
allahmoradAllahmorad wrote:
Hi,
Dears,
which privilege is required to take hot backup i want create user to take hotbackup with minimum privilege .now i take hotbackup with SYS user but this is danger because another department should be take hotbackup.
best regards
allahmoradalter database,alter system, create session is enough privileges to make vast changes in your database.So there is not such priveleges.(as fortmann suggested).
I will suggest you to use the rman for hot backup.
Hope this help :)
--neeraj -
Environment configuration for Hot Backups
Hi all,
1. I am trying to create a hot backup tool based on the read-only Environment strategy ([discussed in a previous thread|http://forums.oracle.com/forums/message.jspa?messageID=3674008#3674008] ).
Now, leaving aside the EnvironmentConfig.setReadOnly(true), I have found quite a few possible other configuration options in the EnvironmentParams class and I'm wondering if there are some that I should be using.
Here are a couple of examples:
- ENV_RECOVERY
- ENV_RUN_INCOMPRESSOR
- ENV_RUN_CHECKPOINTER
- ENV_RUN_CLEANER
Would it make sense to configure any of these?
2. After creating a hot backup I have tried to test its state. Basically, the approach was quite simple:
- open a read-only env on the backup
- try to access the databases in the env
My idea is that if the above 2 ops are succeeding then there is a very good chance that the backup is correct.
Now, while playing with the above configuration options I have noticed that if I'm setting ENV_RECOVERY to false in this test environment, then any attempt to access the databases within results in a DatabaseNotFoundException.
Can someone help me understand what is happening? (basically, I cannot make a connection between recovery and access to the DBs in the environment)
Many thanks in advance,
./alex
PS: I've forgot to mention that I'm running a quite old version: 2.1.30
Edited by: Alex Popescu on Aug 13, 2009 5:50 AMENV_RECOVERY - suppresses running recovery at Environment creation. Internal parameter.
ENV_RUN_INCOMPRESSOR, ENV_RUN_CHECKPOINTER, ENV_RUN_CLEANER - disable the INCompressor, Checkpointer, and Cleaner Daemon threads.
You should not need to adjust any of these parameters for your DbBackup utility. In fact, ENV_RECOVERY is an "internal use only" parameter.
PS: I've forgot to mention that I'm running a quite old version: 2.1.30
I'm sorry to be the bearer of bad news, but as my colleague Mark Hayes stressed in a previous post, you really need to upgrade from 2.1.30 to 3.3.latest. It is highly probable that you will eventually run into bugs with 2.x and we are unlikely to (1) be willing to diagnose them, and (2) fix them. As Mark pointed out, 2.1 is 3.5 years old and the product has had a lot of improvements in that time. We are happy to answer questions on this forum relating to the latest major release, but dealing with old and crusty code is certainly going to be well below our allowable priority level.
Charles Lamb -
Metalink Ids for hot backup clonning
Hi i want to perform hot backup clonning in R12 single node to single node and single node to multi node,
Please tell me the metalink idsHi,
Please see these docs.
Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1
Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment. [ID 362473.1]
Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
RMAN Guides
http://www.oracle.com/pls/db112/homepage
Thanks,
Hussein -
Shell scripting for hot backup
Hi,
can you please give me shell scripting and it's explanation for taking hot backup. and which shell scripts are frequently use in real time.
thank a lot in advance.HAve you ever heard about RMAN ? Much better than reinvent the wheel.
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmquick.htm
Nicolas. -
Why archivelog mode is mandatory for hot backups.
Hi,
Why the database should be put in archivelog mode when we take hot backups. What happens actually. Why can't we put in noarchivelog mode and take hot backups?Suppose you are not using RMAN then you must put your tablespaces in backup mode. Otherwise the backup you can take will be unrecoverable.
In order to recover from a Hot Backup you have to do followings
- Restore your Hot Backup
- Recover the database - here, the archive log files are important
How does Oracle know what has to be recovered from archivelogs?It looks at the SCN.
If you never put your tablespaces in backup mode then SCN would not be frozen and Oracle wouldn't know what has to be recovered.
Talip Hakan Ozturk
http://taliphakanozturken.wordpress.com/ -
RMAN script for hot backup (looking for code critic) code attached.
Hello Guru's,
I have been having soem trouble running a successful hot full rman backup nightly.
We max our CPU load whenever our RMAN takes too long and conflicts with a Legato tape backup. I have a development server that I attempted to get a consistent backup time duration that is rock solid as to not conflict with the Legato backup time.
I just found out about duration with RMAN scripts here is my code:
#!/bin/bash
#rman backup script for daily hot whole database backup
at -f /hd1/rman_scripts/rman_backup 0600 tomorrow
rman target/
run {
allocate channel d1 device type disk format '/path/%U';
backup duration 1:00 partial minimize load database filesperset 1;
backup as BACKUPSET tag '%TAG' database;
backup as BACKUPSET tag '%TAG' archivelog all delete all input;
delete noprompt obsolete;
release channel d1;
exit
It completes the backup, but does not use the 1 hour allocated- it only uses 15 minutes on average and creates many files instead of normally three backup files.
Here is the results from querying the v$rman_status table for operation,status,start_time:
RMAN,FAILED, 17-OCT-06 0600
BACKUP,FAILED,17-OCT-06 0600
RMAN,FAILED,17-OCT-06 0606
BACKUP,COMPLETED,17-OCT-06 0606
BACKUP,COMPLETED,17-OCT-06 0606
BACKUP,FAILED,17-OCT-06 0615
RMAN,COMPLETED,17-OCT-06 1513
REPORT,COMPLETED,17-OCT-06 1513
DELETE,COMPLETED,17-OCT-06 1513
However, the timestamps of the backupset files it creates is:
06:15 and not 1513?????????????
RMAN appears to have only taken 15 minutes to create the files, why do I have a completed timestamp from v$rman_status of 1513???
Please advise and comment, I am just learning RMAN.Try to remove the DURATION option in your script.
Here more details about that part.
http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#i1010261
Bye, Aron -
How to take a Hot backup of Oracle database
1: put the db in archive log mode
2: set the db_sid to correct one
3: login to sqlplus
4: verify the name of the db that you are connected to
select name from v$database;
5: check if the db is in archive log made
select log_mode from v$database;
if not in archive log mode
another command to check
archive log list;
6: find where on disk oracle writes archive log when it is in archive log mode
sql> show parameter log_archive_dest_1;
if the value is found to be 0, that means no values will be recorded, so we need to change it
sql> alter system set log_archive_dest_1='LOCATION=c:\database\oradata\finance\archived_logs\'
scope=spfile;
7: shutdown immediate; < this is done just to prepare the db for hot backups >
8: startup the db in mount mode
startup mount;
( 3 startup types : nomount - just starts the instance, mount - locates the control files and open up according to the values, open - finds the datafiles from the control files and opens up the db )
9: put the db in archive log mode
alter database archivelog;
10: open the database
alter database open;
11: check the status of the db
select log_mode from v$database;
SQL> archive log list;
12: create a directory for archived log
check if its empty, if empty we need to switch
sql> alter system archive log current;
run it 5 times < need to put / and enter > , then check the archive log dir , we will find files
13: make a table in the database and insert data in it
create table employees (fname varchar(2));
check the table
desc employees;
insert values
insert into employees values ('Mica');
14: tablespace must be in hot backup mode
check the status
select * from v$backup;
if found not active, then we need to change
we cannot put the db in hot backup mode, unless it is archive log mode
change to hot backup mode
alter database begin backup;
check the status
select * from v$backup;
15: now we can only COPY DBF FILES
copy *dbf <distination location>
16: need to take the db out to hot backup mode
alter database end backup;
17: need to make another archive log switch
alter system archive log current;
18: need to copy control files now, need to do a binary bckup
alter database backup controlfile to '<location>\controlbackup';
19: insert more values to the table
insert into employess values ('NASH')
COMMIT;
make another archive log switch : alter system archive log current;
do the same process for more values
20 : backup all the archive logs to a new location
21: shutdown the db and simulate a hw error, delete all the files from the database folder
22: try to start the sqlplus and db ::: error
23: copy all the backups to the db dir
need to copy the control files, rename the binary backup of the control file and make the copies as needed
24: try to mount the db, error < must use reset logs or noreset logs >
25: need to do a recovering of the database
shutdown
restore the archive logs
startup mount;
recover database until cancel using backup controlfile;
it will ask for a log file :
yes for recovery
cancel for cancelling recovery
26: check status: open the database in readonly
alter database open read only;
check the tables to see the data
shutdown immediate
shartup mount;
recover again : recover database until cancel using backup controlfile;
if oracle is asking for a log that do nto exist , all we have to do is type cancel
27: open the database
alter database open;
need to do reset logs
alter database open resetlogs;
28: check the db that you are connected, check the tables
thanks and regards
VKN
site admin
http://www.nitrofuture.comA very long list ... let me make it shorter.
SQL> archive log list;If I see this:
Database log mode No Archive ModeI put the database into archivelog mode and leave it there forever.
If it is in archivelog mode:
RMAN> TARGET SYS/<password>@<service_name> NOCATALOG
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;Though there are a lot of things one could do better such as incrementals with block change tracking, creating an RMAN catalog, etc. -
How to Restore datas in Oracle 10g using hot backup?
I did Hot backup things (On-line backup) in Oracle 10g (Windows environment)
Now backup files are stored in physical location..
How to restore the datas to original location..
Can any one give the url or command for recovery in ora 10g for hot backup
ThanksPlease do not dump all of your work in this forum, and expect volunteers to do it for free!!!
Dear Great Senior DBA Sybrand Bakker
What are Oracle Discussion Forums?
Oracle Discussion Forums is an interactive community for sharing information, questions, and comments about Oracle products and related technologies. Most forums are moderated by product managers, and all of them are frequently visited by knowledgeable users from the community
oracle forums is not your place for showing “bossing” it is a place where junior to seniors share there knowledge and advices, it means helping and sharing….. Knowledge is for giving ….giving only it will increase… don’t discourage any one like this ……
There are my Great Seniors (not like u) mainly respected Mr. Jonathan Lewis, Mr. Don Burleson and a lot of oracle nominated ACE members are all giving patiently replay to jr. to sr.
Obeasley oracle doubts are mostly related to practical issue only……
Pls try to learn the word meaning of “volunteers” -
Tablespace and datafile hot backup
Hi,
I wanted to if there is a command to copy a datafile using sqlplus command. I making a script that will backup the database while its online.I made a script for the alter tablespace begin backup but I wanted to know how to copy the datafiles without using the OS command,instead I wanted to use a sql commands. Is there any script or procedure to do this one.
thanks
Best Regards,
AntokRMAN is the best utility to do the backup and recover activities. It take care copy and paste itself. Bellow given script is also usefull for hot backup
spool hotbackup_PROD3.sql;
set feedback off;
set verify off;
set pagesize 2500
set linesize 132
set serveroutput on size 50000;
declare
cursor tablespace is select tablespace_name from dba_tablespaces where tablespace_name
in('RBS1',
'STORAGE',
'SYSADM_IDX2',
'SYSADM_IDX3',
'SYSADM_IDX4',
'SYSTEM');
cursor datafile(tsname varchar2 ) is select file_name from dba_data_files
where tablespace_name = tsname;
begin
dbms_output.put_line('spool hotbackup_PRODc.log;');
dbms_output.put_line('alter system switch logfile;');
dbms_output.put_line('select ''log''||sequence#,sysdate from v$log where status = ''CURRENT'';
for tsname in tablespace
loop
dbms_output.put_line('alter tablespace '||tsname.tablespace_name||' begin backup;');
dbms_output.put_line('prompt Starting Backup for '||tsname.tablespace_name||' Tablespace')
for dname in datafile(tsname.tablespace_name)
loop
dbms_output.put_line('prompt Copying File '||dname.file_name||'.....');
dbms_output.put_line('!cp '||dname.file_name||' /backup2/hotbak'||dname.file_name);
end loop;
dbms_output.put_line('alter tablespace '||tsname.tablespace_name||' end backup;');
dbms_output.put_line('prompt Finished backing up '||tsname.tablespace_name||' Tablespace')
dbms_output.put_line('alter system switch logfile;');
end loop;
dbms_output.put_line('spool off;');
dbms_output.put_line('!mailx -s "KL_PROD521_HOTBACKUP1" [email protected] < /prod1/HOTBKUP/hotbackup_PRODc.log');
dbms_output.put_line('exit');
end;
spool off;
@hotbackup_PROD3.sql
exit; -
Hello,
1) I want to activate archiving on R12.1.2.how can i do this on single or multinode.please tell how can i restore backup after archiving.what is precautions after activating archive or RMAN.
2) If i have taken completed cold backup of apps and db.after some day i want to take backup.there is necessary to take backup both(apps,db,inst) if i take only db backup..is this possible to restore the backup next time.
Regards,Hi;
For hot backup u should use rman utulity,check backup
7 RMAN Backup Concepts
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmcncpt.htm
For other question check below
Backup and recovery startegy for EBS
Re: Backup System
backup polincy-ebs
Backup Policy for EBS can
Regard
Helios -
Which is better for User Managed Hot backup - running in cron or oracle scheduler
We are taking hot backup in our environment by using sql script of just begin backup, host copy and end backup
Can we use this script to be put in cron for weekly two times or to use oracle scheduler .
Which is better option and why?The answer to your question depens on your condition. Do you have more experienced Unix admin or DBA?
From my point of view cron is better becuase all you need is SQL*Plus utility and shell script:
export ORACLE_SID=...
sqlplus <username>/<password> as sysdba <<EOF
ALTER TABLESPACE .. BEGIN BACKUP;
host copy ..
ALTER TABLESPACE .. END BACKUP;
EXIT
EOF -
Hot Backup for oracle database?
Dear all,
I want to change Cold Backup to Hot Backup. Does anyone how to do Hot Backup and has some simple document I can follow? If the database is running in ARCHIVELOG mode, is the size grow very fast or other effect will overcome?
Please advice,
AmyI want to change Cold Backup to Hot Backup. Does
anyone how to do Hot Backup and has some simple
document I can follow?online/hot backup don’t need to shutdown the database we can put the database in backup mode and then start taking backup even though users database activity read/write data going on. This strategy useful if ours database goes for 24x7.
For online/hot backup the database should be in archive mode.
I hope you know how to turn on archive.Before turning on check the archive on or not.
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 1
Next log sequence to archive 2
Current log sequence 2
SQL> you may also check it by connecting to database as sys
SQL> select log_mode from v$database;
LOG_MODE
ARCHIVELOG
SQL> if yours database is not in archive mode then first enable archive,please before turning on the archive take cold backup.
SQL>shutdown immediate
SQL>startup mount
SQL>alter database archivelog
SQL>alter database open;
SQL> archive log list
Now you are able to take hot/online backup ,its upto you you use user managed backup and recovery or use RMAN oracle own shipped free tool for backup and recovery ,however my recommendation would goes for RMAN.
http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96572/toc.htm
http://www.oracle.com/technology/deploy/availability/htdocs/rman_overview.htm
ARCHIVELOG mode, is the size grow very fast or other
effect will overcome?However, the growing size pace either fast or slow everyday can be impractical it alls depends on activity of yours database operation.You will have to observe it yourself by turning on archive log its vary database to database activity.
Khurram -
Hot Backup Mannual Pls review for 9i
Hi All,
I am a forms developer for 9 years and new to dba/backup. I have to review a mannual hot backup for a 9i database in Solaris.
There 2 scripts
1) Script to backup all data files (system, users...) runs once in a day and Ftp to a ftp server
2) Script which runs every one hour which takes a backup of redo log files, archive files and control file. And this is ftp to a ftp server.
Q1 Does this good enough to recover the data up to last one hour ?
Q2 Here is my Script 2. Is this correct?
sqlplus "/ as sysdba" << EOF
alter system switch logfile;
EOF
# Sleep for sometime, till the log file is complete
sleep 60
sqlplus "/ as sysdba" << EOF
! rm -Rf /backup/OHotBackup/XX/arch
alter database backup controlfile to '/backup/OHotBackup/XXctrl.ctl';
! cp -r /opt/oracle/product/9.2.0/dbs/arch /backup/OHotBackup/XX
! mv /backup/OHotBackup/XX/ctrl.ctl /backup/OHotBackup/XX/arch/ctrl.ctl
! cp -r /opt/oracle/product/9.2.0/oradata/XX/*.log /backup/XX/arch
! compress /backup/OHotBackup/XX/arch/*.*
! rm /backup/OHotBackup/XX/arch_files.tar
! tar -cvf /backup/OHotBackupXX/arch_files.tar /backup/OHotBackup/XX/arch
select to_char(sysdate,'mm-dd-yyyy:hh:mm:ss.ss') endtime from dual;
disconnect
exit
Thanks in Advance. I read that RMAN backup is better than mannual but for some reasons my company is using this script.
Rajesh ALexHi Tom,
Thanks for the reply. First script backs up all the data files.
Here is the script.
PATH=$PATH:$ORACLE_HOME/bin
sqlplus "/as sysdba" << EOF
select to_char(sysdate,'mm-dd-yyyy:hh:mm:ss.ss') astarttime from dual;
SET TERMOUT OFF
SET FEEDBACK OFF
set serveroutput on
SPOOL /opt/oracle/admin/BackupScripts/CopyFiles.sql
declare
cursor c1 is
select distinct(tablespace_name)
from dba_data_files;
cursor c2(ts_name in varchar2) is
select file_name
from dba_data_files
where tablespace_name=ts_name;
data_rec dba_data_files.file_name%type;
ts_rec dba_data_files.tablespace_name%type;
begin
open c1;
loop
fetch c1 into ts_rec;
exit when c1%notfound;
dbms_output.put_line('alter tablespace '||ts_rec||' begin backup;');
open c2(ts_rec);
loop
fetch c2 into data_rec;
exit when c2%notfound;
dbms_output.put_line('!cp -p '||data_rec||' /backup/OHotBackup/OFDAP');
end loop;
close c2;
dbms_output.put_line('alter tablespace '||ts_rec||' end backup;');
end loop;
close c1;
dbms_output.put_line('ALTER SYSTEM ARCHIVE LOG CURRENT;');
dbms_output.put_line('!rm /backup/OHotBackup/OFDAP/ht.ctl');
dbms_output.put_line('alter database backup controlfile to ' || '''/backup/OHotBackup/OFDAP/ht.ctl'''||';');
dbms_output.put_line('alter database backup controlfile to trace;');
dbms_output.put_line('!rm /backup/OHotBackup/OFDAP/initOFDAP.ora');
dbms_output.put_line('!cp -p /opt/oracle/product/9.2.0/admin/OFDAP/pfile/initOFDAP.ora /backup/OHotBackup/OFDAP');
dbms_output.put_line('!rm /backup/OHotBackup/OFDAP/*.dbf.Z');
dbms_output.put_line('!compress /backup/OHotBackup/OFDAP/*.dbf');
end;
spool off;
!perl -pi -e 's/Statement processed.//g' /opt/oracle/admin/BackupScripts/CopyFiles.sql
@/opt/oracle/admin/BackupScripts/CopyFiles.sql
select to_char(sysdate,'mm-dd-yyyy:hh:mm:ss.ss') aendtime from dual;
disconnect
Thanks
Rajesh -
Hot backups for essbase planning databases
Hi gurus
Can please tell me best advice for making hot backups of our essbase planning databases for disaster recoveries?
We try doubletake but files are locked unless essbase is put in read-only mode.
Any good tools for this? Certified stuff? Heard maybe VBE?
TIA
M.Hi,
First of all have you read the document of backing up essbase :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hfm_backup.pdf
If you are taking a backup while essbase is running then you will need to put the databases into read only mode, this can be done by using a maxl script and once again to take it out of read only mode.
There are lots of 3rd party applications out there for backing up file structures, it all depends on what you want it to do and how much you want to pay.
If it is a small installation you could even script it yourself depensing on your knowledge to back up files and copy them to a san or backup drive.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Every time I log in one of my 2 computers with Microsoft Account, I have to change the main button (left/right) setting, because the settings persistence via SkyDrive/OneDrive. I have different main mouse button settings in the computers. Those setti
-
Hi all, in my DB (Oracle 9i Rel.2) I can define default values. In an INSERT statement I can use the keyword 'default' to add the default value for this field. When I create my EOs, the default value is completely ignored. Of course I can modify my E
-
Icons files will not displaying when running web-based forms locally
My icon files (jpgs) are not displaying from within Forms Developer 10g or when I run the web-based forms from within Developer. I have tried the following without success: 6.4 Deploy Icons for Forms Running on Web Option One: For Running Web Based F
-
Standard reporting documents in MM
is ME2L, ME2M are standard reporting documents?
-
I paid for things and it is still wanting me to pay
I have a meta bank card and tryed to pay for what i had payed before. Why is it saying it is owed. I paid for them all. I also just lost everything on the ipod and would like to get apps and things again. please contact me. have a great day