Rsync backup is very convenient. You only need to install it and do not need to configure anything. However, it takes a long time to get lazy. How can I use rsync without entering a password?
There are many methods on the Internet, and SSH-keygen is the most convenient. However, it seems inconvenient for me to use it. It seems that there is only one password conf
Article Title: remote automatic backup using scripts in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Considering that data is backed up on the local machine, once the machine's hard disk fails, the data cannot be taken out. Remote manual data
Article Title: Linux Remote Automatic Backup using scripts. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Considering that data is backed up on the local machine, once the machine's hard disk fails, the data cannot be taken out. Remote manual data
-file parameters of the same xtrabackup
--apply-logencapsulation of the--prepare parameters for Xtrabackup
--copy-backdatadir to copy the backup data file to the MySQL server when doing data recovery;
--remote-host=hostnamethe backup data is stored on the process server via SSH;
--stream=[tar]back up the file output format, using TAR4IBD in tar, which can be
doing the data recovery;--remote-host=hostnameThe backup data is stored on the process server via SSH;--stream=[tar]Back up the file output format, using TAR4IBD in tar, which is available in the Xtarbackup binary file. If you have specified--stream=tar at the time of backup, the directory where the Tar4ibd file is located must be in $path ( Because TAR4IBD is u
, and the data in the chronology is read-only and not written (historical payment information is no longer modified), only the current chronology data is read and written Each time the database is fully prepared takes too long, more than 20 hours, and the database restore operation takes longer, more than 30 hours How to optimize the design of this database and backup recovery system, can make backup, resto
recovery policies need to be developed based on the actual situation.
What data does MySQL Backup need to back up?
It mainly includes data, configuration files, binary logs, and transaction logs.II. Introduction of backup tools: 2.1 MySQL backup tools:
Mysqldump: Logical backup tool, MyISAM (temperature), InnoDB (hot
cbbackupThe tool is a flexible backup command that enables you to back up local data and remote nodes and different combinations of data that involve your cluster:Single node single bucketsAll buckets on a single nodeA single buckets on the entire clusterAll buckets on the entire clusterBackups can copy files directly on a separate node, or they can be saved to a backup location by connecting to a remote c
How to handle archived log files and RMAN log files when using rman backupI went to a customer yesterday to deploy RMAN backup. when I ran the shell script, I was prompted that I could not find the archive log, because the customer only performed EXPDP logical export backup for the database before, in addition, the archive of the previous day is automatically del
tools:
Cp: Cold backup
Lv: logical volume snapshot function, which can achieve almost hot backup. The backup process is as follows:
Mysql> flush tables;Mysql> LOCK TABLES
Create a snapshot: Release the lock and then copy the data.2.3 Third-party tools:
Ibbackup: A commercial tool that provides fast backup and s
Xtrabackup is a physical backup tool that supports the INNODB and XTRADB storage engines, and it has the following features:(1) The backup process is fast and reliable;(2) The backup process does not interrupt the transaction being performed;(3) can save disk space and traffic based on functions such as compression;(4) Automatic implementation of
MySQL backup solution-amp; gt; (using mysqldump and binlog binary logs) mysqldump
BitsCN.com
MySQL backup solution --> (using mysqldump and binlog binary logs)
As data increases and the innodb storage engine is compatible with the future, the mysqldump full backup + increm
recovery time requirement will be shorter and shorter. This method is backed up using EXP/EXPD tools, it cannot meet the requirements of real-time backup. In the restoration process, the environment is demanding and the restoration process is cumbersome. In addition, part of the data is definitely lost. The amount of data lost is related to the backup frequency.
MySQL Backup solution--(using mysqldump and Binlog binary logs)As data continues to grow, and in order to be compatible with future InnoDB storage engines, consider the strategy of mysqldump full + log incremental backup. Using mysqldump is good support for most MySQL MySQL storage engines such as MyISAM and InnoDB.Sce
MySQL Local Area Network Backup Using Centos7
Database Backup is an important step. For online systems, databases without backups are insecure. This blog post provides a full backup, Incremental backup, and local area network (LAN) Scheduled
problem, you first need to implement SSH login without a password, so that you can use rsync, scp, rexec and other commands for remote backup. (Of course, the password is better for security purposes)
1. set ssh login without a password. the method is as follows:
Assume that the server A and server B needs to log on to server B with root instead of entering the password on server A. follow these steps:
1)
Considering that data is backed up on the local machine, once the machine's hard disk fails, the data cannot be taken out. Remote manual data backup is time-consuming and time-consuming. The best way is to use scripts to implement remote automatic mutual backup. However, a password is required for remote login through SSH or file copying through scp. To overcome this problem, you first need to implement SSH
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.