SQL Regular automatic backup, encryption and compression of backup files, and automatic downloadRelease date:Author: knife tip customer QQ: 51978456 MSN: peters99@hotmail.com========================================================== ======= */
AsProgramStaff or database maintenance personnel may be frequent
The thing to do is to back up the database, and it is best to back up the database remotely for s
Backup and recovery data database Case 2-use online backup to restore the database.
1. Set archiving Parameters
1,
Drop database mydb
Create Database mydb
Update dB CFG for mydb using implements logpathd: \ backup \ log
2. updatedb CFG for using userexit on // Enable User exit
3. db2update dB CFG for using logretain on // enable archiving logs
4. db2update dB CFG
10. Click Finish11, we can see the corresponding task plan in the Mission Plan library.12, then we double-click the corresponding scheduled task, click "Edit Trigger", here we set the scheduled task time for each day, and then back every two days;13, then we export the backup configuration, and then delete the corresponding task schedule;14. We then create a new backup plan in Windows Server
#! Binsh # Name: mysqlFullBackup. sh # PS: MySQLDataBaseFullBackup. # Writeby: I. stone # LastModify: 2007-11-17 # Usemysqldump -- helpgetmoredetail. # define variables. Modify the variables as needed # define the script directory scriptsDir 'pwd' # define the database directory my
#! /Bin/sh # Name: mysqlFullBackup. sh # PS: MySQL DataBase Full Backup. # Write by: I. stone # Last Modify: 2007-11-17 # Use mysqldump -- help get more detail. # define va
Tags:. SQL sleep Roo mysq incremental build dump MySQL dataOnline MySQL backup of a small business Full-scale backup #!/bin/bash #crete by HEXM at .-Ten- Geneva#scripte name:full_backup.SH#descriptioni: MySQL full backup. Oneday at a Time. # Time Info
Date=`Date+%y%m%d ' #time_now1=`Date+%y%m%d-%h:%m:%S ' #dir InfoBackup_dir="/app/dbbackup/full_backup/"Today_dir=
Tags: blog http tar com get useFor developers, database backup is very important, whether it is a normal development of the version of the maintenance or operation of data backup, yesterday back up the database when the problem is sorted out for your reference:This article is taking SQL Server R2 as an example.1. The database itself has its own database backup, i
First modify the script for necessary configuration, and then run it as the root user. 1. first, the first parameter is used for remote backup. 2. local parameter for local backup 3. parameter-free remote backup note: you need to add a user to the Mysql user on another host .. where you need to configure: # definehostandmysqlpasswordREMOTE_HOST # modify the scrip
Mysql-overall backup and incremental backup
Overall backup:
Back up the entire table, entire database, or even all databases.
Incremental Backup:
Back up data within a certain range.
1. overall backup:
Back up a table:
For tables whose storage engine is myisam, you can dire
How to restore files backed up with "Easy backup" in the Win10 system, win10 easy backup
In the article "how to back up files in Windows 10 System", I explained the file backup method, But how should I restore the files backed up with the "Easy backup" software? This article describes how to restore the
First, find out what full backup, Incremental backup, and differential backup are. In short, it can be understood as follows:
Full backup: Back up all files once.
Incremental Backup: the difference between this backup and the
Mysql-overall backup and Incremental Backup
Overall backup:
Back up the entire table, entire database, or even all databases.
Incremental Backup:
Back up data within a certain range.
1. Overall backup:
Back up a table:
For tables whose storage engine is myisam, you can dir
One-hot standby
In the last two articles (MySQL backup and recovery for cold backup, MySQL backup and recovery for the real environment for cold backup), we mentioned the use of cold backup in the cold backup and real environment.
A few days wrote two use VPS security Settings blog, in fact, regardless of how we set up security, timely backup of the VPS data is the most important. Because the VPS and host different, host may be a lot of time the service provider for our backup, VPS operations and security most need our own responsibility, even if many VPS provide daily backup services, but
There are currently two major tools available for physical hot provisioning: Ibbackup and Xtrabackup, Ibbackup is expensive to authorize, and Xtrabackup is more powerful and open source than IbbackupXtrabackup provides two command-line tools:Xtrabackup: Data dedicated to backing up the InnoDB and XTRADB engines;Innobackupex: This is a Perl script that calls the Xtrabackup command during execution to implement backup InnoDB, or to back up objects of th
How to use Innobackupex1. Full backup parameters a full backup address is fully backed up to the/data/mysql/back_up/all_testdb_20140612 directoryInnobackupex--user=root--password=123456--no-timestamp/data/mysql/back_up/all_testdb_20140612Now the full backup directory is/data/mysql/back_up/all_testdb_201406122. Incremental backupFirst timeSH incremental_backup.sh/
Label:MySQL backup faq:how do I backup a MySQL database? I can ' t speak about backing up MySQL databases that is modified twenty-four hours a day seven days a week MySQL databases I currently work with, there is always times if I can guarantee that there won ' t is any SQL inserts, D Eletes, or UPDATEs occurring, so I find it's really easy-to-perform a MySQL backup
With Microsoft Azure Recovery Services, we can protect our on-premises data centers to data via Windows Backup DPM Backup to the Azure cloud. And Azure's cheap on-demand billing to storage can also save a lot of our storage investment. Azure Backup's basic workflow for backing up and restoring files and folders through the Microsoft Azure backup agent is the same
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.