Discover recover database using backup controlfile until, include the articles, news, trends, analysis and practical advice about recover database using backup controlfile until on alibabacloud.com
using scripts to recover a database in SQL Author : CC Abba 2014-6-15 in Daily SQL How to recover a database in the operation of a database Use Master Drop Database SCS1 RESTOR
From the above recovery process, we can see that all logs are applied, including online logs, archived logs to sequence9, but sequence is restored to 10. 10 as the current log. 8,
From the above recovery process, we can see that all logs are applied, including online logs, archived logs to sequence9, but sequence is restored to 10. 10 as the current log. 8,
1. Full database backupRMAN> run {Allocate channel c1 type disk maxpiecesize = 500 m;
If the user mistakenly deletes/updates the data, as the user does not have any direct method to restore, they must help the DBA to restore the database, to the oracle9i, this embarrassing situation has improved. Oracle 9i provides a new technique--a flash-back query that allows users to get data before a bad operation in a timely manner, and to recover for errors without DBA intervention.
Because the hand
Execute SQL Server database backup and SQL database backup using Windows batch processing commands
Create mybackup. bat and enter the following content to directly run the script to start automatic database
/201408/327614.htmlConfiguring Rman and backing upRman> Show All;RMAN configuration parameters for database with Db_unique_name SCPDB01 is:CONFIGURE RETENTION POLICY to RECOVERY windows of 7 days;CONFIGURE BACKUP optimization OFF; # DefaultCONFIGURE DEFAULT DEVICE TYPE to DISK;CONFIGURE Controlfile autobackup on;CONFIGURE con
(1) Create an OS directory for storing backup database-Related Files
(2) create a routine service
(3) configure the listener and Network Service name
(4) Prepare the parameter file of the primary database
(5) Prepare backup database parameter files
(6) Enable the standby rou
Note:I originally wanted to create a replica uard test for the no target database by using the backup set of the target database. I found that it could not be implemented in principle, but it has a very useful function, allows you to quickly recover data from different rman
database containing the MyISAM and InnoDB tables will be backed up;--uncompressUnzip the backed up data file, support Ibbackup,xtrabackup has not implemented this function;--slave-info,Backup from the library, plus the--slave-info backup directory will generate more than one Xtrabackup_slave_info file, here will save the main log file and offset, the file conten
:\ORACLE\ORADATA\USERS01. DBF'; SetUntil sequence -;
Restore database; Switchdatafile All;
Recover database; } Sequence can be found from the Rman backup log, or view V$backup_redolog Six. Renaming the Redo file Set $
Col member format A60
Select a.thread#,a.group#,b.type,b.member,a.bytes/1048576 from
.
SQL> host Copy D: \ demo \ undotbs01.dbf D: \ backup1 file has been copied.
SQL> host Copy D: \ demo \ sysaux01.dbf D: \ backup 1 file has been copied.
SQL> host Copy D: \ demo \ users01.dbf D: \ backup1 file has been copied.
SQL> alter Database End backup;
The database has been changed.
SQL> alter system archive log
to 09
RMAN> Backup current controlfile for standby format = 'd: \ backup \ % d _ % S. Bak ';
Start backup from 17-2 to 09Use channel ora_disk_1Channel ora_disk_1: Start all data file backup SetsChannel ora_disk_1: Specifies the data file in the
I have paid a lot of effort to improve it ........ You only need to define the following basic variables in the batch processing to generate clone instances of any Sid to any directory.
Set oracle_base = D: \ Oracle10g \ app \ oracle \ product \ 10.2.0Set oracle_sid = tempSet syspwd = OracleSet data_base = D: \ data
Not blow: study my scripts and you will get a lot!
Known problems: you must understand the backup content before you can write a
This article mainly describes the MySQL attack tampering data, using the backup from the library and the Binlog of the main library for incomplete recovery.
Welcome to reprint, please indicate the author, source.Author: Zhangqq:176036317If you have questions, please contact.
First, the discovery of problemsToday is 2014-09-26, development early in the morning that the
MySQL database under attack tampering (using backup and binlog for data recovery), mysqlbinlog
This article mainly describes how MySQL is attacked and tampered with data, and uses slave database backup and binlog of the master database
Tags: gif ble reset option timed backup amp line body display1. Various usage instructions A. The simplest usage: [database name]
[dump file] The above command backs up the specified database to a dump file (dump file), such as: > Test. Dump The generated Test.dump file contains the Build Table statement (the build datab
Xtrabackup is a physical backup tool that supports the INNODB and XTRADB storage engines, and it has the following features:(1) The backup process is fast and reliable;(2) The backup process does not interrupt the transaction being performed;(3) can save disk space and traffic based on functions such as compression;(4) Automatic implementation of
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 to connect to the source database on the thi
The contents of this chapter:
Understanding Flashback Database, restore Points and guaranteed restore Points
Logging for Flashback Database and guaranteed Restore Points
Prerequisites for Flashback Database and guaranteed Restore Points
Using Normal and guaranteed Restore Points
to connection-T, the number of threads used by--threads, default 4-C,--compress-protocol using the compression protocol on the MySQL connection-V,--version show the program version and exit-V,--verbose more output, 0 = silent, 1 = errors, 2 = warnings, 3 = info, default 2
Myloader:
Copy Code code as follows:
root@dd:~/mydumper-0.5.2#./myloader--help
Usage:
Myloader [OPTION ...] multi-threaded MySQL loader
Help Options:-?,--Help Sh
Use SHELL script to verify Oracle Database RMAN Validity of backup setsauthor : Zhao Full text Network name : Guestart Our production environment oracle database has been made Rman Backup, is a week of rman backup retention policy; In addition to
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.