Archlinux backup and archlinux backup
Ah, uqi is not a great god. What you know is fur. It is not ugly. Only for record effect.
Tar backup arch:
Create an exclude list to exclude files that do not need to be backed up. Example:
#vi /excl/proc/*/dev/*/sys/*/tmp/*/mnt/*/media/*/run/*/var/lock/*/var/run/*/var/lib/pacman/*/var/cache/pacman/pkg/*/lost+found
Prepare
Xtrabackup Backup and recovery mysql full Backup (1) Xtrabackup is an open-source project of percona. It is used to implement the innodb Hot Backup function similar to the InnoDB official Hot Backup Tool and can quickly back up and restore mysql databases. Xtrabackup contains two tools: xtrabackup is a tool used to hot
Data is a central part of the application, the program has broken the replacement machine can be republished, but once the data loss, resulting in loss will be irreversible, the program released to production, data backup is particularly important, because not all services have funds to complete advanced backup such as RAC and DG, In our only one database server, temporarily take the simplest
Java Backup Database tutorial four ways (MySQL tutorial, MSSQL database Backup)MySQL database backup things, and then studied how the Java language to invoke cmd command to implement mysqldump backup function. Specifically implemented as follows:
1. Set up environment variables first: There are two ways. First, add my
Modify the script to make the necessary configuration, and then execute it as the root user.
1. First when performing a remote backup.
2. Local Backup
3. Remote backup without parameters
Note: You need to add users to a MySQL user on another host ...
Where to configure:
# define host and mysql password REMOTE_HOST="" #远程主机名或IP REMOTE_PASSWORD="" #远程主机的
Mysqldump Backup principleThe basic process for backup is as follows:
FLUSH TABLES功能:关闭实例上所有打开表目的:为第二步prepare,为了避免较长的事务操作造成FLUSH TABLES WITH READ LOCK操作迟迟得不到锁,但同时又阻塞了其它客户端操作
FLUSH TABLES with READ LOCK功能:加全局读锁目的:获得DB一致性状态
SET SESSION TRANSACTION Isolation level repeatable READ功能:设置当前会话的事务隔离等级为RR,RR可避免不可重复读和幻读目的:确保在备份事务中任何时刻数据都相同
START TRANSACTION with consistent SNAPSHOT功能:获取当前数据库的快照,这个
MySQL database in the process of use, generally need to use the database for backup processing, for small amount of data can be through the mysqldump command for database full backup, but when the amount of database data reached a certain level, it is obvious that incremental backup more suitable.MySQL incremental backups are made primarily from binary log files.
The following articles mainly introduce how to automatically back up Oracle databases under UNIX. The following describes the specific solutions, such as tape backup and remote backup, I hope this will help you in your future studies. The following describes the specific content of the text.I believe that many system administrators are doing the same job every day-backing up data. Once the system fails and
Script in/home/user/mysql tutorial _ backup. sh
Crontab
# Crontab-l
# M h dom mon dow command
28 16 ***/home/user/mysql_backup.sh
The script is as follows:
#! /Bin/sh
# Mysql_backup.sh: backup mysql databases and keep newest 5 days backup.
#
# Last updated: 20 march2006
#----------------------------------------------------------------------
# This is a free shell
Mysql backup policies can be divided into four types:
1) directly copy database files (not recommended)
2) use mysqlhotcopy to back up the database
3) Use mysqldump to back up the database
4) use the master-slave replication mechanism (for real-time database backup)
Mysqldump is widely used and easy to operate. The following describes the mysqldump backup policy.
Win2003
IIS --> right-click --> all tasks --> Backup/restore Configuration
After the backup, the file will be saved in the % WINDIR % \ system32 \ inetsrv \ metaback directory...
Back up IIS settings
IIS provides the backup and restoration functions for IIS settings. You need to back up IIs before restoring IIS settings. The
Mysql data backup and recovery, mysql backup and recoveryBackup/recovery policies:1. Regular mysql backup and recovery time that the system can afford should be taken into consideration.2. Make sure that mysql opens log-bin. With binarylog, mysql can perform full recovery, time point-based recovery, or location-based recovery when necessary.
3. always perform
Learn a little about mysql dual-host hot backup-quickly understand the principle and practice of mysql master/slave backup
Thank you for learning Git in the previous article-quick start with git in 20 minutes. Here we will share the dry goods and briefly introduce the simple practices of mysql dual-host and multi-host remote hot standby.
The concept of dual-machine hot standby is simply to maintain automati
Use shell to write a mysql data backup script and shellmysql Data Backup
Ideas
It's actually very simple.
Write a shell script and use mysqldump of mysql to export data to the corresponding SQL file. Use crontab of linux to regularly run the corresponding script and save the SQL statements and files to the corresponding directory, as the data volume increases and the ba
There is a need today to implement automatic database backup under Windows, piecing together a solution.
Characteristics of the implementation
Multiple databases can be specified
Organize backups on a yearly/month/day basis
Optional use of WinRAR compressed backup
Using scheduled tasks to implement scheduled backups
Specific code
Backup
Copy Code code as
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
What is the itunes password?
The benefits of encryption can protect your backup data only enter the password can enter the import, you can anti-theft other people to import.
How do I encrypt an itunes backup?
First, open ITunes and click on the "mobile" icon in the upper left corner.
The second step is to select "Encrypt the IPhone backup" in the "Digest I
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 relevant binary data files.
4, because only sim
Tags: replicat must be processed. SQL Recovery Configuration Show statMySQL full backup + incremental backup
Profile:
Manage MySQL configuration file, open Binlog log
for MySQL database:
Log_bi n =/var/log/mysql/mysql_bin.log
server-id = 1 (must have, otherwise restart fail)
li> for MARIADB database:
lo
Overall Backup:Back up the entire table or entire database or even all databases.Incremental backup:Back up the data in a range.1, the overall backup:To back up a table:For tables with storage engine MyISAM, you can copy the three files of frm, myd, myi directly to the backup effect. When you need to restore, and then copy back to achieve the restore effect.If the storage engine is a InnoDB table, it is not as simple as the data and indexes of all tab
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.