Today's XenServer also has a snapshot technology, if you are doing some dangerous operations, you can take a snapshot, so that even if there is a problem, you can quickly recover. Snapshots can save the state of a virtual machine at a point in time, and can be recovered whenever an error occurs.
But if you forget to take snapshots, or if you have trouble making
Recently busy with the virtual machine, what data need to be backed up, even if the virtual machine is no exception, the following is my own written backup script to use according to the actual situation,:
First do an NFS server, this server requires a large disk, and then need to back up the virtual server host on the shared directory
Then you can implement a script to make a scheduled task do a backup
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
Tags: server IP address database folder hexTest environmentRequirements: will present a primary database server (for short, a machine, WindowsServer2008 installed MySQL database, data volume more than 40 million), the system is a VM created using XenServer, to do a real-time backup. Because the amount of data is too large. The initial data import export takes too long to take 10 to 20 hours. So use the foll
Back up Xen hosts
On the host where Xencenter is located, perform the following fame backup host data:
C:\Program files\citrix\xencenter>. \xe.exe host-backup file-name=f:\vmbk-s 192.168.1.1-u ROOT-PW test
EXPLANATION Note:
XE: execution must begin for all commands
Host-backup: The type of backup is host
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
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
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
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
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.