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
Linux network backup MYSQL is the administrator of a small and medium-sized Linux website. The system architecture is RHEL 4.0 + PHP 4.3 + Mysql 4.03 + Apache 1.23. The average daily IP access volume is 200, a typical small Linux website. Because it is a small website, there is no cost to use a tape drive for system
Whatever the system, the safest way. After debugging, make a backup. If you encounter any major problems, you can recover them directly, which is convenient and easy to handle. The following describes the Linux backup and recovery methods:The backup and recovery system is responsible for
I wrote a MySQL backup script in Linux. This is the first version. Only one database can be backed up. Every night at, I run the script with a timer and it will be automatically backed up. Coming soon
I wrote a MySQL backup script in Linux. This is the first version. Only one database can be backed up. Every night at,
Article Title: full introduction to Linux tape drive backup. 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.
1. Determine the data backup
decrypted, the decompression command is as follows:
TAR-ZXPF [decryption BACKUP FILE]Explain the argument-P:The tar compressed files are all relative paths by default. The addition of-p is for tar to compress files with absolute paths. Therefore, the decompression should also take a-p parameter.
3. Configure Gdrive commandGdrive is a command-line tool for Google Drive upload and download operations. Official website:Https://github.com/prasmussen/gd
December, the/usr/bin/backup is performed every 3 hours in the morning from 6 to 12.0 6-12/3 */usr/bin/backupMonday to Friday every 5:00 send a letter to [email protected]:0 * * 1-5 mail-s "HI" [email protected] Every day of the month 0:20 midnight, 2:20, 4:20 .... Perform echo "haha"0-23/2 * * * echo "haha"Attention:When the program is executed at the time you specify, the system will send you a letter showing what the program is doing, and if you d
Many commands are not common when backing up a Linux system. In this article, we will see several very useful Linux system backup commands. In fact, Linux system backup is also divided into different forms.
Common vdump methods:
1) For files that need to be backed up in read
Linux system backup and restoration command skills-general Linux technology-Linux technology and application information, the following is a detailed description. Take the most popular Linux version Ubuntu as an Example
Full backup
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
========================================================== ====================================
This article introduces how to use shell commands in linux and unix to implement the script code for automatic backup of mysql databases. If you need to know about it, you can simply modify it.
File Name: mysql_data_backup.sh (Execution permission required)
Mysql database table automatic backup shell script (version 2)
Call example:
The Code is as follo
1 PrefaceThe first commitment: for users migrating from the Windows system, the "Linux system can be plagued by the system files and user files to the C-drive and the D-disk " problem can also be satisfactorily resolved.The previous article had a rough introduction to the Linux file system, but what is the use of the file system structure after understanding it? This section will focus on the field applicat
Share your own linux backup script (webdata + mysql) the function is used with crontab to automatically back up the website directory and mysql local copy ftp copy mailbox copy local and ftp automatically delete 3 days ago linux requires sendmail and ftp if not available set your own information when installing and using yum.#! /Bin/bash www.2cto.com # function:
We back up some files to be retained during learning or entertainment. In order to solve the data disaster, we can find and process the files we need in time, so we should back up the data of the files. What we want to talk about today is how to back up data in Linux.
1. manual backup of local dataOn Linux, there is a powerful tar command. tar was originally desi
Transferred from: http://blog.csdn.net/sunnylgz/article/details/8055315Before using Ubuntu, I believe many people have experienced the use of Windows systems. If you've backed up your Windows system, you must remember that you first need to find a backup tool (usually private software) and then restart your computer to the software environment provided by the Backup utility where you can back up or restore
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
1. the command line mail tool in muttLinux can be used to receive and send mails to the mail server in sendmailpostfixLinux. All mails are sent from the local machine.
1. the required software mutt command line mail tool in Linux can be used to receive and send emails to sendmail/postfix mail servers in Linux. All emails are sent from the local machine.
1. Required Software
The command line email tool
Article Title: Regular and complete backup scripts for SubVersion on 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.
Note: Please adjust the settings as needed. I tested that
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
and log filesFind $ bakdir/$ orowner-type f-name "*. log"-exec rm {}\; # Delete the backup fileFind $ bakdir/$ orowner-type f-name "*. dmp"-exec rm {}\; # delete a log fileFind $ bakdir/$ orowner-type f-name "* .tar.gz"-mtime + $ days-exec rm-rf {}\; # Delete backups 7 days ago (note: {} \ There is a space in the middle): Wq # Save and exitChmod + x/backup/oracledata/ordatabak. sh # Add the script executio
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.