Preparation of RMAN backup policy for the DG Environment Database
Preparation of RMAN backup policy for the DG Environment Database:Primary database (Primary)
Full database backupArchive backupDelete historical foldersStandby database
instance name
Fourth, the launch of plsql into RMAN for recovery and cross validation.
Crosscheck backup; backup Verification
Crosscheck copy; copy Verification
Delete noprompt expired backup; delete existing backups of the original database that have expired
Delete noprompt expired copy; delete expired copies from th
SQL SERVER backup database stored procedures, backup data stored procedures
SQL Server batch export Stored Procedure
In the query analyzer, right-click "database --" and choose "task". In the pop-up menu, select "generate script"-- "" Next "--" select the database in which
Same-system inter-machine Lerman database migration, detailed explanation of Inter-server Lerman backup and recovery
Migration of Oracle RMAN from different machines in the same system, detailed explanation of Oracle RMAN backup and recovery
Environment:Source Server:VM7.14 rhel5.5-32 Oracle 11.2.0.0g172.16.3.202Target ServerVM7.14 rhel5.5-32 oracle 11.2.0.0
; open this fileDelete the comment row in the scriptChange "reuse" in "create controlfile reuse Database" clne "to" set"Change "practice" in create controlfile to "clne"Change the path of each data file and log file from the original/oradata/practice directory to/oradata/clneThe best result after modification:
3. Prepare data files of the target
automated, while not omitting the files that should be backed up, and using automated batch files and script files. This paper introduces the application of the automatic backup and recovery strategy in the actual project development, and proves the correctness and feasibility of the strategy through practical application.
(1) The following script implements the multiple work of online redo logs:
Connect account name/passwordThe storage location o
I did not know much about the remote restoration of the RMAN backup database. When I went to Shangguan technology to attend lectures last Saturday, teacher Zhang lie is talking about RMAN backup, so he has recovered a lot of memories and understood a lot, this Friday evening, our company asked us to back up all the data in the production
Label:I. Rman Backup Source LibraryNote the point:It is best to keep the Rman backup log $rman target/log=Backup.log RMAN>Run {Allocate channel T1 type disk; Allocate channel t2 type disk; allocate channel T3 type disk; allocate channel T4
Type disk; Backup Format' Location of backup/%u>'Filesperset8(
1. Use rman to back up Oracle Data in the open state
Rman backup must be in archive Mode
Check whether the archive mode is used.
SQL> archivelog list;
Change to archive Mode
Shutdown immediate
Startup mount
Alter database archivelog; (alter database noarchivelog)
1. Use rman
Using RMAN for full database backup I. backup database operations under rman: 1. in rman, you can disable, enable, convert from non-archive to archive, and enable RMAN> shutdown immediate; RMAN> startup mount; RMAN> run (SQL 'alter datab
log files
----3. Backing up copy files with the ALTER DATABASE backup Controlfile command
The advantages of----hot backup are:
----1. Can be backed up at the table space or data file level for short backup time.
----2. The
--------------------READ WRITE3. Shut down the databaseSQL> shutdown immediate;Database closed.Database dismounted.ORACLE instance shut down.SQL> exit
4. in SQL mode, directly store the physical files of the database to the corresponding directory (the path of various files is displayed first, and then copied to the corresponding path)-- Display Control Files
Select name from v $
http://blog.csdn.net/xuejiayue1105/article/details/28423015
Restore OA System Database
-------oracle11g migrate data by cold backup
---------------(very simple, very practical, especially when the volume of data is very useful)
oracle11g database Cold backup and recovery
All data files, control files, online redo log
Tags: style blog http io color ar os using SPOriginal: MSSQL2008 database backup restore and data recovery
PrefaceAlways wanted to write an article on database backup and recovery, but limited to the database based on the ability of the limited fe
/[email protected] Catalog Rman/rmanrman> Register database;If you want to re-register, query the data dictionary db to get Db_key and db_id execute dbms_rcvat. The Unregisterdatabase command cancels the registration. Re-enroll.Sql> Conn Rman/rmanSql> select * from DB;sql> exec dbms_rcvcat.unregisterdatabase (db_key,db_id);rman> Resync Catalog;Make a full backup of the
-- Backup_db.rman FileConfigure retention policy to redundancy = 2;Configure device type disk parallelism 2;Configure default device type to disk;Backup filesperset = 5 as compressed backupset database format 'd:/backup/rman/full _ % U. rman ';SQL 'alter system archive log current ';
Due to misoperations, the control file was deleted and all three files were deleted. But fortunately, there were backup script files.
The script file is used to restore the control file and restore the database.
SQL> startupThe Oracle routine has been started.
Total system global area 85006980 bytesFixed size 453252 bytesVariable Size 58720256 bytesDatabase buffers 25165824 bytesRedo buffers 667648 bytesORA
Mssql compression database check backup set Repair Database SQL statement this tutorial provides SQL statements about mssqlserver compression database check backup set repair database, and the operation method described by the ins
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.