Intended audience
This article is tested in linux and mysql 4.1.14. After modification, it may be applicable to mysql 4.0, 5.0 and other versions.
This article is applicable to mysql that does not enable replication. If replication is started, you may not need to adopt this backup policy or modify relevant parameters.
Each person may have different backup policies. Therefore, Please modify the policies base
(1) Write hot backup script (double spool)
Set feedback off pagesize 0 heading off verify off Linesize-Trimspool on echo off
Define bakdir= '/disk1/backup/anny/hot_bak '
Define bakscp= '/disk1/backup/anny/hot_cmd.sql '
Define spo= ' bakdir/hot_bak.lst '
Prompt ***spooling to BAKSCP
Set Serveroutput on
Spool BAKSCP
Prompt spool spo
Prompt alter system swi
History of the simplest MySQL Data Backup and restoration tutorial (below) (), mysql Data Backup
The third part of data backup and restoration is as follows:
Basic concepts:
BackupSave the existing data or records in another copy;
RestoreTo restore the data to the backup status.
Why do we need to back up and restore Da
First look at the concept:
Differential backup:Differential backup is for full backup: All files that change after the last full backup are backed up. (During differential backup, only the marked files and folders are backed up. It does not clear the mark, that is, it is not marked as a
Incremental backup)
Incremental backup is much faster than full backup. During Incremental backup, only files modified after the last full or Incremental Backup are backed up. For this reason, Incremental backup takes only a few
Backup is an essential part of writing code, traditional backup, usually copy all the data to a place, and then labeled to indicate when the backup, this backup is called "Overall backup."
If you make a general backup, the disk sp
Preparatory work:
Need to advance in the VPS to install good lftp,lftp function more powerful, CentOS Direct execution: Yum install Lftp,debian execution: Apt-get install.
You need to create the/home/backup/directory on the VPS and create the backup directory on FTP.
If the VPS on the database is not much to use GoDaddy free space can (10GB space, 300GB traffic), as long as the registration of the domain
"Requirements description"The Windows Server R2 System state is backed up and you need to keep the system state backup data for three days, but we find that Windows Server Backup is not able to create multiple backup schedules, cannot set the number of backup copies saved, etc."Workaround"If you have used Windows Serve
During traditional Oracle backup, database files are backed up by copying operating system files. The backup granularity is data files, and the data files may be large, however, it is empty blocks and there is no Oracle data, but because it is a file copy, you need to back up the entire file.The backup set value of RAMN backs up used data blocks and supports Incr
MySQL backup lock and mysql backup
Both logical and physical backups depend heavily on FTWRL (Flush Table With Read Lock) to obtain consistency points ). This lock is highly lethal, because during the lock period, the entire database cannot provide write services externally. In addition, because FTWRL needs to close the table, if there is a large query, it will lead to FTWRL waiting, which leads to a longer
MySQL backup and recovery-percona-xtrabackup incremental backup and recovery bitsCN.com article review
In the previous article, we talked about the use of percona-xtrabackup software. This article describes how percona-xtrabackup achieves incremental backup and recovery.
2. incremental backup
How to implement incre
We usually create
BackupIn
SQL Server, We can achieve this through the following method:
Steps for automatic backup in SQL Server 2005 database:
1. Open SQL Server Management Studio
2. Start the SQL Server proxy
3. Click job> create job.
4. Enter the job name in "regular"
5. Create a step, select the T-SQL type, and enter the following statement in the following command (the red part should be changed according to your actual situation, D: sql2005ack
Tags: data manipulation mysql location requires MySQL incremental backup output speed ICA technology shareIn a production environment, the security of data is critical, and any loss of data can have serious consequences. So the database needs to be backed up. Here is an example of a new mysql5.7.First, database backup classification:
From a physical and logical point of view, backups can be divided
Mysql daily backup and incremental backup script bitsCN.com
INTENDED AUDIENCE
This article is tested in linux and mysql 4.1.14. after modification, it may be applicable to mysql 4.0, 5.0 and other versions.
This article is applicable to mysql that does not enable replication. If replication is started, you may not need to adopt this backup policy or modify releva
This series of articles describes the relationship between cloud and backup, including:(1) VMware Virtual machine backup and recovery(2) KVM virtual machine backup and recovery(3) Cloud and backup(4) OpenStack and backup(5) Public Cloud and backup1. VMware Basics related to
Example of using RMAN to create a backup set for Oracle11g backup and recovery
Oracle 11 GB backup and recovery example of using RMAN to create backup Sets
Homepage → Database Technology
Background:Read News
Oracle 11 GB backup and recovery example of usi
The importance of server data every network administrator knows this, perhaps the probability of server data loss is 1 per thousand, but if it happens, the impact on the entire site will be devastating, real-time server data backup is a network administrator's day-to-day work is an important thing.
Server data is diverse and how to back it up. Less than dozens of G, a number of hundreds of g of files, the size of the file is not the same. How to choo
Myth #20: After breaking the log backup chain, a full backup is required to restart the log chain
Error
A transaction log backup backs up all transaction logs since the last transaction log backup (if there has never been a log backup, starting with the last full
A.1 Full Library Backup.Command:Mysqlbackup--defaults-file=/home/mysql-server/mysql3/my.cnf--user=root--password=root--databases= "MySQL total2" --with-timestamp--backup-dir=/home/mysql-server/backup BackupParameter description:The path to the--defaults-file my.cnf file is used primarily for multiple MySQL services on a single server. The default location is/ETC/MY.CNF--user user name, this user must be in
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.