Alibabacloud.com offers a wide variety of articles about linux server backup best practices, easily find your linux server backup best practices information here online.
An application has a lot of important data, in order to be in a timely, rapid and accurate recovery of our application to a more appropriate location after the data disaster, we must regularly back up our data, we share today is the Linux file backup method.1. Manual backup of native dataWith the powerful tar command on Lin
Installation Environment: CentOS 6,mysql5.5I. BACKGROUNDrecently, the company to strengthen the database data security, automatic database backup, this article will be used under Linux crontab automatic backup and FTP upload database. Second, the implementation of the scriptCreate Script dbbackup.sh#!/bin/bashdate= ' date+%y%m%d%h%m ' database=**** #备份数据库DB_USER
are not familiar with these three categories. 1. Installation and learning in virtual machines; 2. Installation of dual (multiple) operating systems should have at least one Windows system, 3. Only the Linux operating system is available on the server. In the first two ways, I may think that I accidentally paralyze the system in Linux. At least I can return to a
Label:More community recently, considering the security of data, to backup the database once a day, just in case; Linux is not very well known, first use the windows of the scheduled task it; The general idea is to borrow a scheduled task from Windows to perform a backup of the remote database locally; Mostly moved. HA: http://www.php-note.com/article/detail/388
This article describes how to uninstall Symantec Backup Exec Agent for Linx. First, let's take a look at the documentation for the SYMANTEC_BACKUP_EXEC2012 Administrator's manual:Uninstalling Agent for Linux1 on the Linux server, insert the Backup Exec installation media into the appropriate device.2 log in as root to
I once met a user who has a very large MSDB database and asked me to help find out why. Use sp_spaceused to find the data size of all tables. The problem is that SQL Server
I once met a user who has a very large MSDB database and asked me to help find out why. Use sp_spaceused to find the data size of all tables. The problem is that SQL Server
Query and clear SQL
include logs that you may or may not want to back up the log. general recommendations-skip them on the desktop, but include them on the server.
/var/cache/apt/archives excludes any. deb downloaded by apt. This saves a lot of space.
/usr/src/linux-headers* is again a space saver.
/home/*/{.cache,.gvfs,.local/share/trash} may not need to back up these files at all.
Additional hints
monitoring scripts#vi/srv/rsync.shRsync.sh contents are as follows:#!/bin/bashsrc=/srv/test/#监视改文件路径, folder content changes trigger server data synchronizationDes=backup #客服端配置的模块 (customer service side will introduce)Host= "192.168.10.6" #同步到的IP地址, if multiple spaces are separated. For example: host= "192.168.10.6 192.168.10.7"/usr/local/bin/inotifywait-mrq--timefmt '%d/%m/%y%h:%m '--format '%T%w%f '-e m
it is recommended that you test it before you purchase it.
The following describes the installation of Ralus (the Legacy agent is now rarely used, and is not introduced)
The following assumes that your media server (the backup server that is installed with Backup Exec) has already been installed and has the Ralus op
.
RSYNC-VZRTOPG--progress--delete--password-file=/etc/rsyncd.secretes root@118.244.216.177::logs/data/lnmp
Note: The above command means to sync the files under this path (/USR/LOCAL/LNMP) of the server to the client's path (/DATA/LNMP).
To reverse, synchronize the client's files to the server, as follows:RSYNC-VZRTOPG--progress--delete--password-file=/etc/rsyncd.secretes/data/lnmp root@118.244.216.177::
Symantec Backup Exec Agent For Linux Firewall problems, backupexec
If you have installed and configured Symantec Backup Exec Agent For Linux on Unix or Linux, but cannot access Symantec Backup Exec Agent on the Symantec
the sectors where data is stored. Idle sectors are not saved. G4l provides the graphic front-end of the fg4l console, which is written in the ncures GUI library. You can use fg4l to familiarize yourself with the operation for the first time.Select a core to start and enter the g4l system. When the sh # prompt is displayed, enter the fg4l command to enter the operation interface, or execute the g4l command in the following format:G4l FTP Server IP ima
Rsync is a data-mirroring backup tool for Linux systems, and--remote sync is visible from the name of the software. Rsync supports most Unix-like systems, which are well tested on Linux, Solaris, and BSD. The latest version of Rsync can be obtained from http://rsync.samba.org/rsync/. It has the following characteristics:1, can be mirrored to save the entire direc
Tags: var cron command data Interpretation Test Mys src SQDatabase scheduled backup, around two things unfold, one is shell program (usually others prefer to call shell script), one is a timed task (crontab). A very simple small program, the shell is responsible for exporting the database, packaging, and then delete useless, scheduled tasks can be fully understood as, how often the system to perform a task, this thing is called timed task. The followi
Create script/root/script/backup. sh # This script has been applied to more than 10 common Linux application servers and has never experienced any errors over the years. # Database Backup is special. database backup is not included here. # Because the script contains the FTP password, it is safer to grant the write per
Install various services in Linux (III)-MySQLMySQL master-slave backup bitsCN.com
!! Assume that all installation packages are in the/share Directory. the installation directory is/opt !!
$ Ll/share-Rw-r -- 1 root 129041873 Nov 29 mysql-5.1.54-linux-i686-glibc23.tar.gz
========================================================== ====================================
/path/to/home/CaO directory to a DVD.
Ii. Network Backup
It is insecure to store MySQL data on one computer. Therefore, you should back up the data to other computers in the LAN. Assume that the IP address of the MySQL server is 192.168.1.3. The IP address of the remote computer in Linux is 192.168.1.17, And the IP address of the remote computer in Windows is 192
Rsync is a data image backup tool in Linux. It can be seen from the software name-remotesync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD.
I. rsync
CommandIntroduction
Rsync is a command for Synchronizing files to a Linux system. It can synchronize two computers to files and directories, an
backup process is the sameIf [-f ${backup_dir}/${database_prefix}${date}.tar.gz]; Thenecho ' Date +%y-%m-%d ' database backup file is existingElseTAR-CZVF ${backup_dir}/${database_prefix}${date}.tar.gz ${system_dir}/${database_dir}Fi#开始把备份文件传输到另一台服务器上Ftp-i-N $FTP _serv User $FTP _user $FTP _passPassiveBinaryPut ${backup_dir}/${mail_prefix}${date}.tar.gz ${mail_prefix}${date}.tar.gzPut ${backup_dir}/${websi
records the rejected and allowed to execute the account number, Cron.allow priority is greater than cron.deny, it is recommended to leave only one can cron.daily/hourly/monthly/Weekly: All of these directories are scripts, which are executed at the specified time, respectively. Although the absolute path is crontab executed, it can be understood as a timed trigger for manual execution. However, the path in the execution process is still different, in many cases the manual execution succeeds, bu
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.