Discover online data backup services, include the articles, news, trends, analysis and practical advice about online data backup services on alibabacloud.com
the standby database.
Whenever you add online redo log files to the master database, you should add corresponding online redo logs and backup redo log files to the slave database.
For example, if the primary database has 10 online redo log files and the standby database has 2, and then you switch over to the standby d
files and only execute the command in seven days of the odd weekIf [$ flag-eq 1]; thenFor dir in $ {backdir_arr [*]}DoIf [-d $ dir]; then# Search for file data beyond 14 daysClean_arr = 'Find $ dir-type f-mtime + $ keep_time-exec ls {};'For cleanfile in $ {clean_arr}DoRm $ cleanfileDoneFiDoneFi
Crontab Configuration
The Code is as follows:0 5 ** 7 run the cleanup script
4. Others
Recently, When I backed up and restored mysql, I found that the view wa
structure of the original and intermediate tables is exchanged at the same time, and the data backup of the original table is in the intermediate table.Pros: Data consistency is ensured, and for most of the time, the DML operation can be performed normally by the table T. Only in the momentary lock table of the switch, it has high availability. This approach is
Tags: grants config SQL Web services htm Maria zone localhost tar.gzModify the database administrator password# mysqladmin-hlocalhost-uroot-p Password "new CodeEnter Password: Current login password Restore the database administrator password#vim/etc/my.cnf[Mysqld]#validate_password_policy =0#validate_password_length =6Skip-grant-tables: Wq#systemctl Restart Mysqld #mysqlMysql>Update Mysql.user Set Authentication_string=password ("123QQQ") where host=
Server group> double-click your Server> Manage> database maintenance plan. plan, can be modified or deleted5. Data Transfer (new database or transfer server)In general, it is best to use backup and restoration operations to transfer data. In special cases, you can use the Import and Export Method for transfer. Here we will introduce the Import and Export method,
1, the Linux system needs to back up the data/root/Directory:/home/directory:/var/spool/mail/directory:/etc/Directory: Other directories:2, the installation of services dataData that Apache needs to back upconfiguration files, Web page home directories, log filesMySQL needs to back up the data = Source Package installed mysql:/usr/local/mysql/
Backup | recovery | Hot BACKUP | data
Use hot backup for time-sharing recovery
----How to recover incrementally from archiving to shorten data migration time
Last Updated:monday, 2004-11-15 10:32 eygle
A lot of times you may encounter a situation like this:
The migr
name to import)-> determine
Restore backup Set-> database-complete
Finally press the OK button. The full database import succeeded.
(If you restore a database on an existing SQL Server database, you may experience a failure to restore it if someone else is using it.
You can go to see-> admin-> Current active-> lock/Object-> Find the process number of the database under lock-> into Query Analyzer kill the lock with the process number,
And then do the
1.rsync Introduction"Rsync is a data-mirroring backup tool for Linux systems. Use the Quick Incremental Backup tool Remote Sync can be synchronized remotely, support local replication, or synchronize with other SSH, Rsync hosts2.rsyncfeatures and features of1. can make backup of various resources of server (can boast f
directory and is not downloaded.* Import_ SQL ($ dir) only import SQL files in the server directory to restore data* This type is easy to create and can be spread at will. if you have any suggestions for this type, please send an email to the shrimps.* @ Author Zhao Hongjian [Youtian shrimp]* Email: 328742379@qq.com* Qq chat group: 69574955 juyitang-online page creation*/
Class
default. Use -- skip-triggers to disable it.
For details about other parameters, see the manual. I usually use the following SQL to back up the MyISAM table:
The Code is as follows:
/Usr/local/mysql/bin/mysqldump-uyejr-pyejr-- Default-character-set = utf8 -- opt -- extended-insert = false-- Triggers-R -- hex-blob-x db_name> db_name. SQL
Use the following SQL to back up the Innodb table:
The Code is as follows:
/Usr/local/mysql/bin/mysql
principle, Yizhong provides advertisers with all-media resources for personalized marketing solutions. Cost-effective services and resources, comprehensive and low-cost marketing, and more precise and efficient advertising.
Our Service Industry
Digital Marketing Services include e-commerce, internet finance, online education, travel,
Author: Zhongguancun online Zhang Qi
Once upon a time, the NTFS partition format made Ghost a little helpless, but the latest Ghost already supports NTFS partitions, but in Windows Vista, it is very troublesome to back up and restore the system only by using the Vista installation disc or the Ghost tool of the optical disk. We will discuss different Vista system backup and restoration technologies to open u
:./bpcs_uploader.php upload [path_local] [path_remote][path_local] refers to the file path on the server, [Path_remote] refers to the path of the Baidu cloud disk. Download file:./bpcs_uploader.php Download [path_local] [path_remote] Delete file:./bpcs_uploader.php Delete [path_remote] offline download:./bpcs_uploader.php Fetch [Path_remote] [Path_to_fetch] Automatic backup script next need to set up automatic bac
Method One, use 360 handset assistant to carry on the backup with the computer
1. First the computer online and then install 360 mobile phone Assistant in the computer, then the phone to be backed up using the data cable to connect the phone, and then click on the bottom right of the "Data
This article mainly introduces the related concepts of data backup and recoverybackup : A copy of the stored data;Raw data: continuous change;Restore : Apply the Copy to the online system;Only the data status can be restored to th
incremental backup tabletsSql> Col CURRENT_SCN for 99999999999999SELECT CURRENT_SCN from V$database;Select min (FHSCN) from X$KCVFH;Select min (F.FHSCN) from X$kcvfh F, v$datafile Dwhere F.hxfil =d.file#and d.enabled! = ' READ only ';Current_scn---------------12614205662375MIN (FHSCN)----------------12614205076072MIN (F.FHSCN)----------------12614205076072------on standby database, clean up the standby log groupSELECT * from V$standby_log;sql> ALTER
Another control that blocks harmful services is implemented through online data control. Online data control allows you to control the maximum number of online data that can be created
Hot copy is to back up data using the mysqlhotcopy command when MySQL or other database services are running. This article explains how to ensure data consistency. Now
Hot copy is to back up data using the mysqlhotcopy command when MySQL or other database services are runnin
for backup
2. Mark binary log files and locations (manually );
Iv. Create LVM snapshots and release global locks. 1. Create snapshot volumes
2. Release the global lock
V. Back up data and delete snapshots. 1. Mount the snapshot volume and check whether the volume is mounted successfully:
2. Insert data into the backup
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.