. Innobackupex Options This describes only the common parameters –defaults-file the configuration file path of the database, feel local backup does not write can also, remote not tested. –apply-log ready to start the MySQL service on a backup. –copy-back copies data, indexes, and logs from the backup directory to the initial location specified in the My.cnf file.
file path of the database, feel local backup does not write can also, remote not tested.–apply-log ready to start the MySQL service on a backup.–copy-back copies data, indexes, and logs from the backup directory to the initial location specified in the My.cnf file.–no-timestamp The time directory is not automatically generated when you create a
Share a php MYSQL backup class library and a phpmysql backup class library
I just want to study how to back up the database and share a php class library for MYSQL backup.
Http://php.662p.com/thread-560-1-1.html
Tags: blank database target MySQL periodichttp://hongge.blog.51cto.com/ Backups of MySQL databases in a production environment are recurring operations, so it is common to write script implementations that periodically execute backup scripts through Crond scheduled tasks mysqldump Backup scenarios: Sunday 1 o'clock in the morning full-Library
(1) Parameter understandingBuilt by M-s M-2s
--slave-info, prints the location of the binary log and the master server name, and writes to Xtrabackup_slave_info in the way of Change master.
--safe-slave-backup, to keep the replication state consistent, this option closes the slave SQL thread and waits until slave_open_temp_tabls in show status to start the backup. If the waiting time exceeds-safe-slave-
Label:MongoDB database maintenance is inseparable from the necessary backup, recovery operations, and generally does not go wrong, so we use the most of the time using backup and recovery operations.
The principle of mongodump.exe backup is to get the current server snapshot through a single query and write the snapshot to disk, so this method is not saved in re
Recover a library and a table from a MySQL full-library backupOne, full library backup-a[[Email protected] backup] #mysqldump-uroot-p123456--default-character-set=utf8--single-transaction-- Extended-insert=false--hex-blob--master-data=2--log-error=/tmp/test.err--routines--tr
The principle of mongodump.exe backup is to get the current server snapshot through a single query. The snapshot is written to disk, so it is not stored in real time, because the server will have data writes after the snapshot is taken, and in order to secure the backup, we can also use the Fsync lock to temporarily write the server data to the cache.
Efficient open source database (mongodb) Download addre
. mongoimport-d my_mongodb-c User User.datParameter description:-d indicates which library to use, in this case "My_mongodb"-C indicates the table to be exported, in this case "user"You can see that the table structure is created implicitly when importing data2. mongoexport-d my_mongodb-c user-o User.datParameter description:-d indicates which library to use, in this case "My_mongodb"-C indicates the table
Tags: mysql database ase user name single read lock DBN control char specifiedInstance:Backup:Mysqldump-u root-p ' 123456 ' Kaliboy>/opt/kaliboy.sql Specify a character Set backup:Mysqldump-u root-p ' 123456 '--default-character-set=utf8 kaliboy>/opt/kaliboy.sql Backup parameters:-e: Can be executed after MySQL command; separate-B: The function of the parameter is to increase the command to create the database and connect the database-D: Backing up th
Tags: class back log database ade grep backup. SQL tableRecover only test_db library from full backup mysql-uroot-proot test_db --one-database recover from full backup only operlog_20180620Table structure of table from backup query restore table sed-e '/./{h;$!d;} '-E ' x;
Tags: mysql incremental backup MySQL physical backup xtrabackupIn a production environment, we generally take mysqldump full-database backups, but this is not available for large databases, because mysqldump is a logical backup, the efficiency of backup and recovery is slow, and according to personal experience a criti
/2.1/manual.htmlInnobackupex How to useComplete options use execute Innobackupex–help, which only covers full backups and incremental backups and restores using common options.Innobackupex Options This describes only the common parameters–defaults-file the configuration file path of the database, feel local backup does not write can also, remote not tested.–apply-log ready to start the MySQL service on a backup
1. Requirements overview
Back up MySQL database data 00:00 every day;
Each library generates a file, using gzip compression, file name: Backup_ Library Name _yyyymmdd. sql.gz, note that YYYYMMDD need to be the day before;
Save the backup file under/backup/mysql/, create a new daily
has been busy writing shell scripts, ignoring Oracle's basic review, just did an rman recovery, record a deeper impression.
Oracle Full-Library backup is ideal for the mount, so there is no need to consider consistency issues. Just an ideal.
To open the database in archive mode, complete the script as follows
Log_file=/paic/hq/bk/restore/home/op11202/xionglang/investdw/full_backup_${oracle_sid}_ ' Date ' +%
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.