]: All defined FAL servers has been attempted.------------------------------------------------------------Check that the Control_file_record_keep_time initializationparameter is defined to a value of that ' s sufficiently largeEnough to maintain adequate log switch information to resolveArchivelog gaps.------------------------------------------------------------2.3.Main Library Query switchover_status [Email protected]>select switchover_status from V$database;Switchover_status-------------------
#! /Bin/bashloglast = 'cat/var/lib/MySQL/localhost-bin.index | awk-F "/" '{print $2}' | tail-N 1' // fetch is in use BINLOG log if [! -E/binlogdir]; then mkdir/binlogdirfifor I in 'cat/var/lib/MySQL/localhost-bin.index | awk-F "/" '{print $2} ''// traverse all BINLOG logs do LOGNAME = 'echo $ I 'CD/var/lib/MySQL if [-E/binlogdir/$ LOGNAME]; then // determine whether the BINLOG to be backed up already exists in this directory. If so, stop this loop. Continue else if [$ loglast! = $ LOGNAME]; then
#!/bin/bashbakdir=/home/webdata/mysqlbackup/mysqlbackup_log/bindir=/home/mysql/var/Logfile=/home/webdata/mysqlbackup/mysqlbackup_log/bak.logBinfile=/home/mysql/var/mysql-bin.indexMysqldump-udearedu-p--lock-tables--flush-logs--master-data=1 vkt >/home/webdata/mysqlbackup/mysqlbackup_log/ Vkt.backup# # # Refresh the log, generate a new log and copy it to the appropriate directoryCounter= ' wc-l $BinFile |awk ' {print $} ' # # # is calculated inside the bin-log index. Binlog number of logsNextnum=
the system.
Sys @ DEX> select name from v $ ARCHIVED_LOG where thread # = 1 AND DEST_ID = 1 and sequence # BETWEEN 70 AND 72;
NAME
------------------------------
/U01/arch1/10970_768793323.arc
/U01/arch1/41571_768793323.arc
/U01/arch1/g072_768793323.arc
Run the system command to check whether the file is found. If the file is not found, go to the following stage.
File/u01/arch1/10970_768793323.arc
/U01/arch1/10970_768793323.arc: cannot open '/u01/arch1/10970_768793323.arc' (No such file or dir
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/87/F9/wKioL1fmI3vD8aEIAACH7C0ZO3w479.png "title=" Data recovery. png "alt=" Wkiol1fmi3vd8aeiaach7c0zo3w479.png "/>data recovery schematic diagramTest environment MySQL5.51 first create a new database Lampol data table testCreate Database Lampol;Use Lampol;CREATE TABLE test (ID int (ten), name varchar (10));2 Inserting data informationINSERT into test values (1, ' lampol1 ');INSERT into test values (2, ' lampol2 ');3 post-Insert informati
SVN server Incremental Backup
The team has an SVN server with dozens of GB space. It has been a full copy of the backup in the interval, but it feels too annoying, some time ago I synchronized the SVN content of this server to another server. It is quite helpful. To sum up, the process is as follows:
Operating System: windows server 2008
SVN: VisualSVN Server
Ser
cwrsyncserver_4.1.0_installer user name, password is you set password, my is AAA sun123456Click OK, right after this service, click Start ..., then shut down your firewall, the server side is like this.
Okay, let's talk about the client now.After the client double-clicks the Cwrsync_4.0.3_installer, and then the next step until the completion, remember to remember this installation path I installed the path is the default path C:\Program Files (x86) \cwrsyncAfter then set up a DataBackup
Centos7.x Rsync + sersync for real-time incremental data synchronization backup tutorial, rsyncsersync
I. Overview
1. sersync is developed based on Inotify and is similar to Inotify-tools.
2. sersync can record changes (including adding, deleting, and modifying) in the monitored directory to the name of a specific file or directory. When rsync is used, only the changed file or directory will be synchroni
Tags: modify. Net www. HTTP directory step switch install varchar1, in MySQL's My.ini file 2 Create a Binlog folder under my D drive 3 Restart MySQL service can see my d drive under the binlog below to generate the following files 4, create the T_one1 table in the default test databaseCREATE TABLE T_one1 (ID www.baohuayule.cn varchar (ten), name varchar (2));4.1 Insert a few data, and then can see wxzlog.000001 This file modification date changes, this file is our database to add and delete ch
These two days suddenly see a demand point, need to implement the function of incremental backup, find some information
Record the following command, which enables simple incremental backup with the command line.
Win:
Copy Code code as follows:
xcopy C:\Docs d:\bac
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.