Share a practical script to transmit the recordings generated by asterisk to a separate recording storage server through the system cron and transmit the recordings generated every day to a separate recording server, I have been using this script. In the LAN, tens of thousands of recordings are transmitted every day, which can be completed in an hour. I hope it will help you [plain] #! /Bin/bash #2013/4/24-Author: zhangtuo # luckytuo@gmail.com # uploa
Label:Recently the company requested to back up the database, so we looked up the comparative information. Don't say much nonsense, into the subject. Objective: To regularly back up the Postgres database under Ubuntu, and to pack and upload to the designated FTP server. After finding the information, the workaround: ① Write a backup database, package compression, upload the specified
The names of backup files are generally regular (for example, name + Date and Time. Bak). We can use Windows batch processing to automatically perform remote backup of the system.
The procedure is as follows:
1. Create a batch processing file with the following Bak. Bat content
Echo open XXX. XXX> E: \ todo.txtEcho username> E: \ todo.txtEcho password> E: \ todo.txtEcho bin> E: \ todo.txtEcho put E: \ Date
For more information about ftp backup scripts-Linux general technology-Linux technology and application, see the following. The server is a win2003 server. I have installed the ftp server, and the backup server is linux. I want to write a script and perform regular automatic backup
Let's get to the point. The company now has 2 servers, are CentOS systems, a local (LAN), a computer in the telecommunications room. Because the work needs, the daily backup room data to the local, has been FTP login, and then downloaded to the local machine. Now hope, using the local CentOS machine, Automatic backup to Local.The workaround is as follows:1. Downl
Tags: this www ase shel path shell. com off mysqld1. Add backupmysqleveryday.sh (vi/data/shell/backupmysqleveryday.sh)#!/bin/sh#this Shell is the user for backup MySQL data everyday#author: www.ieliwb.com#path-configbase_mysql_path=/data/webserver/mysql/mysql_dump_path=/data/mysqlbackup/mnt_back_path=/mnt/web/mysqlbackup/ftp_back_path=mysql_data_backup/#mysql-configMysql_user= "Root"Mysql_pass= "*******"#ftp
现在很多朋友通过购买云服务器建站,有时候由于服务器系统的问题,没有及时做好网站数据的备份而导致数据的丢失。如果你手中还有其他云服务器或者FTP服务器可以实现自动备份上传的功能。本文仅仅是做一个备份数据想法。(1) Site data backup to the site data/var/www/vhost/www.51cto.com and/var/www/vhost/www.baidu.com separately back to:/data/code-backup/www.51cto.com and/ Under the data/code-backup/www.baidu.com. [[Emailprotected]_web
#========================start shell Script ============================#!/bin/bash# defines the user name and password to use when backing up the database db_user= "root" db _passwd= "111111" #定义FTP服务器地址, user name, password, directory Ftp_url=113.108.8.80ftp_user=ftpuserftp_passwd=111111ftp_dir=/mysql_ backup/xxxx# database backup path backup_dir=/home/mysqlbak
Copy Code code as follows:
#!/bin/bash
#author: 505056357@qq.com
echo "Backup Job Start"
#设置要备份的网站目录, that is, the root directory of the Web site
File=/home/wwwroot/default
#设置本地备份目录, for storing the packaged files
backpath=/home/wwwroot/bkdata/
Dbuser=root
#数据密码, remember to enclose the entire password in single quotes and double quotes if the cipher has single quotes, hehe
Dbpwd= ' 123456 '
Dbname=car
domain=192.168.0.18
The backed-up data, if not particularly large, is not recommended for compression, preventing the possibility of corrupted files that have been compressed several times.
The way to back up the database is to back up the data directory after the MySQL service is stopped, during which time MySQL aborts for a few seconds to dozens of seconds. Please weigh the pros and cons yourself.
If there is no FTP command on the system, perform the Yum install-y
In the Linux system, the file can be transferred to the FPT space through SSH, some important data backup, then how to achieve the transfer of the file? Small series to give you a detailed introduction to Linux using SSH to transfer files to the FTP space method.
Steps:
Suppose the directory to be backed up is/home/wwwroot/aaa/, and the IP for the remote FTP
Let's get to the point. The company now has 2 servers, are CentOS systems, a local (LAN), a computer in the telecommunications room. Because the work needs, the daily backup room data to the local, has been FTP login, and then downloaded to the local machine. Now hope, using the local CentOS machine, Automatic backup to Local.
The workaround is as follows:
1. D
Description1, to back up the file in the D-packing directory, named after the time (generally we through the security of God's good backup software to achieve backup) for exampleD:\data_db_201112130001.BAKD:\data_db_201112140002.BAKD:\data_db_201112150003.BAKA new file is automatically generated every day, such as December 16, 2011, which automatically generates Data_db_201112160004.bak2, to the d:\ of the
Tags: work www. Tar mysql firewall logs mysq * * * Cannot access"Ready to Work"
Build FTP server: Windows server R2 Build FTP service
If the native Access report 530 error: 1, check the user name, password, 2, check the FTP directory user rights.
If the remote host is inaccessible, check the firewall.
The port for
The backup service of Android allows you to copy persistent application data to remote "Cloud" storage, so as to provide a restore point for application data and settings. If you restore the factory settings or convert the application to a new Android device, the system automatically restores the backup data when the application is re-installed. In this way, the
Backup is the foundation of data protection, but any backup means used on the local side cannot avoid the data loss caused by natural disasters or other man-made errors, so offsite redundancy is an important means of protecting data.
In essence, offsite provisioning is based on a copy of the local-side data and sent to a remote site for storage. From the point o
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.