Here, we use the LVM Logical Disk for speeding backup of Mongodb. mongodb has reached dozens of GB or more. The speed of using the mongodb tool for backup will make us feel quite slow, at this time, we can run the mongdb data directory.
Here, we use the LVM Logical Disk for
LogicalVolumeManager (LVM) provides the "snapshot" (snapshot) function for any LogicalVolume (LV) to obtain the state consistency backup of a partition. When backing up a file in a certain state, an application may be accessing a file or database. This means that the file is in a state during backup, after the Logical
MySQL LVM snapshot backup features:
1, in most cases, this approach is almost a hot standby. It does not need to shut down the service, just set a read-only or similar limit.
2, support all local disk based storage engine, such as MyISAM, InnoDB and BDB, also support solid, primext and faction.
3, the fastest backup speed, because you only need to copy the rel
Tags: log top blocks mod min remove PVC oca Tor The three most commonly used backup tools for MySQL are mysqldump, xtrabackup (Innobackupex tools), and Lvm-snapshot snapshots.The previous sections describe:MySQL Backup series (1)--Summary of backup scenariosMySQL Backup seri
Brief introductionRecent work on data backup uses two tools, one DD, and the other a snapshot of LVM (snapshot). Because the data is large, the direct use of DD is very time-consuming, and LVM snapshots can be easily done in a few seconds, and can achieve real-time results, but the cost of using LVM snapshots is to exchange space for time.Let's start by understan
plain and the dispatch?? Long?/div>
For the new purchase of Aliyun server ECS, this I have previously in the "ARI Server ECS purchase process and the VPS panel and experience Speed performance evaluation" in the article has been more detailed sharing, here will not repeat. This article focuses on common ECS servers when panel applications, including reload system OS change and selection, root password reset, upgrade and downgrade scheme, snapshot
Enable backup of files on HDFs via snapshotAPI address please see http://archive.cloudera.com/cdh5/cdh/5/hadoop-2.5.0-cdh5.2.0/hadoop-project-dist/hadoop-hdfs/HdfsSnapshots.html==========================================================================================1. Allow snapshot creationFirst, execute the command below the folder where you want to make the backup
Tags: mysql backup mysql LVMIt seems that the general people do not use this bar, here is only as a record it.In fact, the LVM snapshot no matter what storage engine can be close to hot standby, looks also good look. But it also needs some necessary conditions.For example: LVM volumes, and there is enough free space to take snapshots, and the transaction log is also associated with the data file.Well, don't
Tags: LVM mysql backupDirectory1, Database Full backup2. Preparing the LVM Volume3. Data recovery to LVM volume4. Backup data based on LVM snapshot5. Data Disaster recovery6. SummaryWrite in front:The MySQL 5.5.36 database is already installed in the test environment, but the data directory is not stored in the LVM volume, this time to demonstrate LVM-based data backup and recovery, so the MySQL data first
MySQL Backup recovery based on LVM Snapshot
Directory1. Full database backup2. Prepare LVM volumes3. Data Recovery to LVM volumes4. Back up data based on LVM snapshots5. Data Disaster Recovery6. Summary
Preface:The mysql 5.5.36 database is installed in the test environment, but the data directory is not stored in the LVM volume. This shows how to back up and restore Data Based on LVM, therefore, the mysql D
Use the snapshot feature of LVM to implement almost hot backup of data
The snapshot function of LVM can record information at a certain time point to the snapshot area. Therefore, you can use this feature to completely back up data. Then, the new data can be incrementally backed up and restored using the binary log fil
new qcow2 format of the disk.3. Snapshot management of virtual machines(1) Create a snapshot of the oeltest01 virtual machineYou can also Virsh snapshot-create as oeltest01 snap1 after creating a snapshot alias.(2) View the version of the virtual machine image snapshot(3) V
Principle of snapshot backup (from other blogs):Principle: Through LVM snapshot to the LVM to take a picture, when the LVM host changes, the LVM snapshot of the LVM changes the content before the change in the snapshot, so that in the time of the LVM
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
Snapshot backup MySQL database and example 1. create logical volume
Create a logical volume according to the following connection document
Http://www.178-go.com/tags/lvm
Requirement: physical volume 20 GB; volume Group name: vg0; logical volume 2 GB; logical volume name: mydata
Create and mount a logical volume mount point
# Mkdir/mydata
# Mount/dev/vgo/mydataII. install the MySQL database
If mysql is inst
to the/mydata operation as follows: # sed-i ' s/^datadir.*$/datadir=\/mydata/g '/etc/my.cnf# service mysqld Restart modify/mydata directory and its contents belong to the main group # chown-r mysql:mysql/mydata/*# chown mydql:mysql/mydql start MySQL Service # service mysqld START III, create Snapshot lock All Tables first # Mydql>flush TABLES with READ lock;>\q Create snapshot # pvvreat-l 20m-s-N mysnap/de
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.