Cold Backup on windows Server
Hi All;
OS: Windows
DB: 10.2.0.3
I am trying to schedule a cold backup, I was wondering if I can just down the oracle database service and then directly copy the files using copy command and post the completion of copy of the files I will up the oracle services.
Will this method work I cannot test the same as I do not have access to the server right now.
Regards,
Sphinx
Yes you can, by default stopping the service will execute a SHUTDOWN IMMEDIATE. To check this, look at the registry keys named something like
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb12c_home1\ORA_ORCL_SHUTDOWN
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb12c_home1\ORA_ORCL_SHUTDOWNTYPE
and you'll see the settings.
John Watson
Oracle Certified Master DBA
http://skillbuilders.com
Similar Messages
-
How to create Auto weakly backup in Windows Server 2012
Hello
1. I want to set auto backup in windows server 2012 Weakly.
2. can i Set auto backup like a normal data copy.By configuring automatic backup, you can schedule this task according to your choice(weekly/monthly). You can use backup schedule wizard accessed from the Windows Server Backup user interface (Wbadmin.msc).
To schedule backup task by using powershell, please checkout this link :
http://technet.microsoft.com/en-us/library/dd759156.aspx
Also, have a look at here :
http://technet.microsoft.com/en-us/library/cc770757.aspx -
[Forum FAQ] Introduce Backup in Windows Server 2012 R2 Essentials
Windows Server 2012 R2 Essentials provides reliable ways to perform regular backups of your server and backups of your network computers.
1. Server Backup
Description:
Backs up your server running Windows Server Essentials. The data is backed up to an external USB drive. You can also perform full system restore of server.
Operations:
On Dashboard, please select DEVICES and then navigate to the server which you need to backup. Right click the server and select Set up backup. When set up complete, you will be able to
Start a backup for the server. (Figure 1)
Figure 1
More information:
Manage server backup in Windows Server Essentials
Restore or repair your server running Windows Server Essentials3. Microsoft Azure Backup
Descriptions:
Performs an online backup of files or folders on your server. When you use Azure Backup to back up server data, the information is encrypted by using your passphrase before it is uploaded to a secure datacenter on the Internet.
Operations:
1) Open Dashboard and follow the path: HOME-> Get Started-> ADD-INS-> Integrate with Windows Azure Backup. Then as Figure 3 shows, you need to “Click to sign up for Windows Azure Backup” and “Click to download Windows Azure
Backup integration module”.
Figure 3
Please note: when you click to download, you may encounter the issue as Figure 4 shows. If so, please follow the path:
Tools-> Internet Options-> Security->
Trusted sites-> Add this website to the zone and add
http://downlaod.microsoft.com,
https://activedirectory.windowsazure.com in Trusted sites in IE. (Please uncheck
Require server verification (https:) for all sites in this zone). Then please check if you can download as normal.
Figure 4
2) After you download the OnlineBackupAddin, please run it. Then begin to install the add-in. (if any issue occurs in your installation of add-in, please navigate to C:\PrgramData\Microsoft\Windows Server\Logs folder and check
InstallAddin log file if you can find some clues.)
3) During your installation, KB 2873390 may be required. Please download the update package and run it. Then Windows Azure Backup Agent Upgrade Wizard appeared. Please follow it and complete as Figure 5
and Figure 6 show.
Figure 5
Figure 6
4) Then please re-open Dashboard, you will find ONLINE BACKUP option. (Figure 7) There will be three steps that you need to do: (i)
Upload a certificate. (ii) Register your server.
(iii) Configure backup settings.
Figure 7
(i). Upload a certificate. (In this example, we use the second option: Upload certificate to Windows Azure Backup vault)
Please logon Windows Azure, select RECOVERY SERVICES and click
NEW. Follow the path: RECOVERY SERVICES-> BACKUP VAULT->
QUICK CREATE. Please type NAME and select
REGION, then click CREATE VAULT. When create completes, please click the name of this new recovery service that you create. As Figure 8 shows. Then select Manage Certificate to add or update the certificate file (.cer) that contains
a public key for the vault. The certificate is used to register servers with the vault.
Figure 8
(ii). Register your server
On Dashboard, navigate to Online Backup and click Register. (Figure 9)
Figure 9
Then it will check the certificate. And then you need to set a passphrase to secure your data. (Figure 10)
Figure 10
When you set passphrase complete, please click Next to continue. When register successfully. You will see Figure 11.
Figure 11
(iii). Configure backup settings
When register completes, please click Configure Online Backup. Then you can follow the Configure Online Backup wizard to configure online backup (add folders), specify the backup schedule, specify the backup retention policy and choose bandwidth usage. The
all process will be shown in Figure 12-16.
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
After all configurations complete, you will be able to see that the server integrates with Windows Azure Backup. (Figure 17)
Figure 17
On the Dashboard in server essentials, you will be able to start backup online. (Figure 18)
Figure 18
After backup online, you will see the protected data as Figure 19 and Figure 20 show in Dashboard and Windows Azure.
Figure 19
Figure 20
More information:
Manage Online Backup in Windows Server Essentials -
Can I use Azure Backup and Windows Server Backup in a Windows Server ?
Can I use Azure Backup and Windows Server Backup in a Windows Server ?
I want to use both Azure Backup and Windows Server Backup for two senarios.
For Disaster Recovery = Azure Backup to Azure Storage.
For non-Disacter Recovery = Windows Server Backup to a on-premises disk.
The non-Disaster Recovery mean a file or folder recovery, disk crash recovery, migrate to another servers.
The non-Disaster Recovery need the speed of recovery just like 10 TB recovery as soon as possible.
If I can use both Azure Backup and Windows Server Backup in a Windows Server,
Are there any notes for using both ?
Regards,
Yoshihiro KawabataHi Yoshihiro Kawabata,
Thanks for posting here!
Azure Backup to Azure Storage and Windows Server Backup to a on-premises disk. These are two different question and can be answered individually.
Azure Backup to Azure Storage - Possible.
Windows Server Backup to a on-premises disk - Possible.
Can I use Azure Backup and Windows Server Backup in a Windows Server? Is a question.
I will check on this and get back to you at the earliest.
Thanks!
Sadiqh -
Rebuild from cold backup on windows
Greetings,
Our Db was destroyed. We have a new machine now, and I have loaded the OS ( windows NT ), and the Db software ( Oracle 9i ). I have a cold backup of the old database that I would like to use to get the old system back. Where can I find documentation explaing the required steps to getting the Database back on line ( on Windows as a service )using a cold backup?
Any help or advice are greatly appreciated.
Thank You.Hello,
If the location of the files didn't change reconstructing the database instance from coldbackup takes just few steps
1.) Create an instance
Oradim ânew âsid testdb -mode a
2.) Connect to the instance
Sqlplus /nolog
Connect / as sysdba Ã
3.) Start the database
Startup pfile=localtion to inti.ora
Let us know your case details and I would perhaps be able to help. I experienced the same problem and successfully rebuilt the database
Ref:
I have modified some Steps in manually creating a database to suit to my needs
http://download-west.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90117/create.htm#1019233
Clone db: http://www.dbaclick.com/forums/archive/16/35.html
Hope it helps!! -
Restoration of Cold backup on another server
Hi ALL,
Question: 1) I have cold backup of sunday using User managed backup on A server & all archivelogs upto wednesday on A server.
2) I transfer my cold backup & archivelogs on B server.
3) Now I need to recover my B server's database upto wednesday.
Note: 1) I have same location of datafiles,controlfiles.redologs on B server as of A server..
Please Help
Regardsuser13364785 wrote:
Hi ALL,
Question: 1) I have cold backup of sunday using User managed backup on A server & all archivelogs upto wednesday on A server.
2) I transfer my cold backup & archivelogs on B server.
3) Now I need to recover my B server's database upto wednesday.
Note: 1) I have same location of datafiles,controlfiles.redologs on B server as of A server..
Please Help
RegardsIf your OS is windows then you have to create OracleService using oradim utility,then create need directory for data/control/log files and according background/diag/trace also parameter file.
After creating these directories startup mount database using STARTUP MOUNT PFILE='PFILELOCATION' then issue command RECOVER DATABASE USING BACKUP CONTROLFILE in this case oracle will read default location of archive logs and will apply,if this directory is different then main server then execute RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL and apply archive logs manually and open database with ALTER DATABASE OPEN RESETLOGS. -
How to restore cold backups on other server
Hi all
On Oracle9i production server, we have windows scheduled job to take the cold backups every day night. The size of the database is 2GB.
Now, the cold backup consists of
- Database files & Log files
- Parameter file
- Control file.
I am required to check the validity of the cold backup we have. So, I need to restore the database in another server.
So, please provide me the steps I need to do to restore the database.
Thanks.See Chapter 3 "Performing User-Managed Restore Operations" of the
"Oracle9i User-Managed Backup and Recovery Guide Release 2 (9.2)" (Part Number A96572-01)
http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/osrestore.htm#26029
Best to start with Chapter 1 "Introduction ..."
http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/intro.htm#431510
and Chapter 2 "Making User-Managed Backups"
http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/osbackups.htm#10000
If you are on Windows note that besides installing the sofwtare you must also create the Oracle Service before you restore a database backp to another server.
See Chapter 6 "Backing Up and Recovering Database Files" in the Oracle Database Administrator's Guide for Windows
http://download.oracle.com/docs/cd/B10501_01/win.920/a95491/backup.htm#1004903 -
How to schedule multiple backup job through windows server backup in windows server 2008 R2
hi expert,
need your help, In my small environment I am using windows 2008 R2 as a domain controller. and installed windows server feature for backup.
Now i want to create backup at a different time.
1. System state backup at 5.00 PM on saturday only
2. finance and hr data backup on daily basis at 5.00 PM.
so how i create different job schedule through windows server backup.
Regards,
Triyambak
Regards, TriyambakScenario #1
The following command will create a Task Scheduler task named
DailyFolder1Backup with the start time of 23:00.
This task will run DAILY with the HIGHESTprivileges. It will run the Windows Server Backup CLI to backup
g:\folder1 to target volume
F:.
SCHTASKS /Create /SC DAILY /TN
DailyFolder1Backup /RL HIGHEST /ST 23:00/TR
"wbadmin start backup –backupTarget:F: -include:g\folder1
-vsscopy -quiet"
Scenario #2
The following command will create a Task Scheduler task named
DailyFolder2Backup with the start time of 24:00.
This task will run DAILY with the HIGHESTprivileges. It will run the Windows Server Backup CLI to backup
h:\folder2 to target volume
F:.
SCHTASKS /Create /SC DAILY /TN
DailyFolder2Backup/RL HIGHEST /ST 24:00/TR
"wbadmin start backup –backupTarget:F: -include:h:\folder2
-vsscopy -quiet"
Please feel free to let us know if you have any question or concern.
Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread. -
Hi,
I have a hyper-v host running Windows Server 2012 R2 Standard with Hyper-V on it, and on that host I got 5 virtual machines running and of those 5, 4 of those the DPM are able to backup but when DPM tries to backup a server running Windows Server 2003 R2
I get the following errors in the eventlog.
Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Date: 2013-11-28 10:46:58
Event ID: 18014
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: HYPERV05.domain.local
Description:
Checkpoint operation for 'SERVER01' was cancelled. (Virtual machine ID 5221623F-C80C-4B92-AD02-F545D118C859)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
<EventID>18014</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2013-11-28T09:46:58.365308800Z" />
<EventRecordID>411</EventRecordID>
<Correlation />
<Execution ProcessID="2116" ThreadID="4248" />
<Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
<Computer>HYPERV05.domain.local</Computer>
<Security UserID="S-1-5-18" />
</System>
<UserData>
<VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
<VmName>SERVER01</VmName>
<VmId>5221623F-C80C-4B92-AD02-F545D118C859</VmId>
</VmlEventLog>
</UserData>
</Event>
Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Date: 2013-11-28 10:46:58
Event ID: 18012
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: HYPERV05.domain.local
Description:
Checkpoint operation for 'SERVER01' failed. (Virtual machine ID 5221623F-C80C-4B92-AD02-F545D118C859)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
<EventID>18012</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2013-11-28T09:46:58.365308800Z" />
<EventRecordID>412</EventRecordID>
<Correlation />
<Execution ProcessID="2116" ThreadID="4248" />
<Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
<Computer>HYPERV05.domain.local</Computer>
<Security UserID="S-1-5-18" />
</System>
<UserData>
<VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
<VmName>SERVER01</VmName>
<VmId>5221623F-C80C-4B92-AD02-F545D118C859</VmId>
</VmlEventLog>
</UserData>
</Event>
Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Date: 2013-11-28 10:46:58
Event ID: 10150
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: HYPERV05.domain.local
Description:
Could not create backup checkpoint for virtual machine 'SERVER01': Element not found. (0x80070490). (Virtual machine ID 5221623F-C80C-4B92-AD02-F545D118C859)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
<EventID>10150</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2013-11-28T09:46:58.365308800Z" />
<EventRecordID>413</EventRecordID>
<Correlation />
<Execution ProcessID="2116" ThreadID="4280" />
<Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
<Computer>HYPERV05.domain.local</Computer>
<Security UserID="S-1-5-18" />
</System>
<UserData>
<VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
<VmName>SERVER01</VmName>
<VmId>5221623F-C80C-4B92-AD02-F545D118C859</VmId>
<Parameter0>%%2147943568</Parameter0>
<Parameter1>0x80070490</Parameter1>
</VmlEventLog>
</UserData>
</Event>
What I have done to try to troubleshoot this issue is:
Reinstalled DPM - No sucess
Restarted the Hyper-v Host - No sucess
I'm at the point where I am out of ideas and google hasn't given me much.
/Josephi have the same error.
"vssadmin list writers" shows last error unknown for all writers
disk space is sufficient
ntbackup of systemdrive and systemstate runs fine.
i installed KB940349 which fixes some vss related issues but the problem is still there.
any ideas?
Thanks.
When you have vssadmin reporting unknown error the only way to reset the vsswriters (as I understand it please correct me if I'm wrong :) ) is to restart the machine. The Fellenator is correct, make use that the vsswriter is working correctly since this
is the main function DPM is using when taking backup. He's also right in saying that it's outside the scope! Create a new thread on your error, then you will get much better responce!
/Joseph -
Windows Backup for Windows Server 2008 R2 Standerd not working 2155348041
Hi
When I am running backups via the Backup server feature I keep getting the following error in the event log:
The backup operation that started at '2014-05-27T04:59:16.185618200Z' has failed with following error code '2155348041' (None of the source volumes were backed up.). Please review the event details for a solution, and then rerun the backup operation
once the issue is resolved.
The backup report gives me the following error:
the request could not be performed because of an i/o
I have tried using another Harddrive and have installed the Hotfix from windows but still get this error.
I also tried Re Installing the Backup feature this also did not work.
Regards
Roan_BHi,
Please run the command below to get the drive's sector size to check if the sector size is 512B. Windows Server Backup only support sector size of 512B.
wmic partition get BlockSize, StartingOffset, Name, Index
Backup fails with Error Code 2155348041
http://social.technet.microsoft.com/Forums/en-US/fa704bd6-b76a-42b4-b8cb-0a93ceb6ce43/backup-fails-with-error-code-2155348041
Regards,
Mandy
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. -
hi,
when I try to mount or open a back up of windows server which has VHDX extension on my windows 8.1 computer I get this error
the installation disk copy is not
initialized,any partitions that are not
recognizable or volumes that do not
have drive letters assigned ,
use the disk management moduleto check
the disk partitions and volumes can
be used.
I went to disk management and tried to open from there but the error is the same ,I copied this back up on my C: drive the problem is still the same ,. now My question is can I not open backup of server which has VHDX exension on windows 8.1 to
edit it?
thanks
johan
<textarea autocapitalize="off" autocomplete="off" autocorrect="off" class="goog-textarea" dir="ltr" id="contribute-target" name="edit-text" rows="1" spellcheck="false"
style="height:auto;padding-right:20px;-ms-overflow-x:auto;-ms-overflow-y:hidden;box-sizing:border-box;" tabindex="0" wrap="SOFT"></textarea>
h.davidGo back to disk manager, assign a drive letter, after the mount. The vhdx will show in disk manager, right click on the vhdx, to add a drive letter
-
Unscheduled additional backups in Windows Server 2012 R2 Essentials
I have a strange problem since upgrading to Windows Server 2012 R2 Essentials. My server is on a lightly used Home network which I run for two periods totalling 8 hours each day. Whenever the server is re-started it immediately begins a Server Backup;
not a great problem in itself but the 'unscheduled' backups prevent the Scheduled backup from operating and often cannot complete before the next Shut Down controlled by Task Scheduler. I presume that R2 has added an extra trigger for the Backup but I can
only find the trigger for my scheduled once-per-day Backup. Can anyone please point me towards the trigger for these unwanted backups. Thanks in advance. Keith WoolfHi,
Please perform a
clean boot to troubleshoot
your issue and check if it caused by other software.
You may collect some backup logs to narrow down this issue. By default, tracing is enabled in Windows Server Backup to preserve logs. These traces will be present in files
under the following directory: %windir%\logs\windowsserverbackup
You can use some tools such as
tracerpt
command to export the .etl file into a .txt file. Please check if you can find waht is the root trigger that triggers this unscheduled backup.
Meanwhile, please check the schedule task for the scheduled backup if it was configured correctly. You can clear up and recreate, then please check if this issue still exists.
Hope this helps.
Best regards,
Justin Gu -
Mac Backup on Windows Server (Wildcard issues)
So our Art department is suppose to be backing up all files to a Windows Server. Which brings this problem. Of course being designers we use wildcard symbols on naming files which the windows server won't allow. So when we attempt to backup, the copying of files stops because of wildcards in certain file names.
Now we would just go back and go through all the files and fix the wildcards... but this would take years and time is not on our side. Now we have adopted the practice of not using wildcard symbols now but we still have a large back catalog of files that still use them.
Is there some type of Windows side server script that addresses this issue which makes the use of wildcards possible on the windows server?
Or am I out of luck? I would think someone has a fix for this or something?
Thanks,
adamI would archive the files on the Mac first (into a .tar, .zip, etc. archive), and copy a single archive to the server that has no file naming issues. At least, that is the free way of doing things
-
Script for cold backup on windows
looking for a script that can be scheduled nightly to perform
a cold backup to disk of a 8.1.7 database on windows.
while i've seen many, i'm looking for one that will keep 3 days worth
of backups... then write over the oldest etc...
thanks
dgset term off
set head off
set feedback off
set verify off
spool c:\coldbackup.bat
select 'copy '||name||' c:\DBBACKUP' from v$datafile;
select 'copy '||name||' c:\DBBACKUP' from v$controlfile;
select 'copy '||name||' c:\DBBACKUP' from v$tempfile;
select 'copy '||member||' c:\DBBACKUP' from v$logfile;
spool off
shutdown IMMEDIATE
host c:\coldbackup.bat
startup
host del c:\coldbackup.bat
set term on
set head on
set feedback on
set verify on -
Restoration of cold backup on differnet server
Question: 1) I have cold backup of sunday using User managed backup on A server & all archivelogs upto wednesday on A server.
2) I transfer my cold backup & archivelogs on B server.
3) Now I need to recover my B server's database upto wednesday.
Note: 1) I have different location of datafiles,controlfiles.redologs on B server as of A server..
2) OS is AIX 5.3
3) Oracle databse version 10.2.0.4 on both serverduplicate thread
rman backup optimization question
Aman....
Maybe you are looking for
-
I CAN'T GET MY BRUSH IN PHOTOSHOP ELEMENTS EDITOR TO CHANGE FROM A PLUS SIGN WITH A CIRCLE IN THE MIDDLE. I WANT TO USE A ROUND BRUSH.
-
Wake up my Mac Pro 3.1 early 2008
The matter that when I wake up my Mac pro 3.1 (early 2008) from sleep the console keeps refering: "10/1/15 11:55:53.000 AM kernel[0]: IOATAController device blocking bus." hasn't be solved in Yosemite. Is it due to not APPLE approved Samsung 850 EVO
-
Unable to Save in Port Range Forwarding
I'm using the BEFW11S4 wireless router and am unable to save the new port range forwarding settings I have entered. Everytime I click Save Settings, I receive a box which reads: "The server 192.168.1.1 at Linksys BEFW11S4 V4 requires a username and
-
Need to print messages history, 1 contact, iPhone 5s
Hello, I need to print the conversation history for One Contact at a time from an iPhone 5s. iPhone is backed up to iCloud not a computer. The Messages account is not used on a Mac. I put it on a Mac but it brought up no history, only new messages
-
Template build in Dreamweaver CS5
Have a client using Dreamweaver MX2004. If I build site in Dreamweaver CS5 using editable templates will they be able to update content using Dreamweaver MX2004?