This is the time to learn about the VPS backup file content, because after using the VPS all security issues need our own processing, including the security of the website files. We can choose to make regular manual backups, or we can choose to automate scheduled backups. In the old left blog has also written a few on the VPS, the site back up the article, perhaps a little long time do not know whether it is still valid, but this time as far as possible to organize a number of different backup m
the internet, have not practiced, but if there is no way,Try it, the password should not be the same as the local user's system password on the line. -----------------------------finally if it is not clear what is the problem, you can try to find out from the following ideas: 1, in the rsync module configuration file, the strict modes set to No, disable the file Mode Test 2, SSH, Telnet to the Rsync server
the list of services and use telent to test whether the port is already open.650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/1D/wKiom1SpJx_Rgy5iAACuLH2_TyM232.jpg "title=" 11.jpg "alt=" Wkiom1spjx_rgy5iaaculh2_tym232.jpg "/>3.Rsync Client Configuration3.1 Download Install rsync client, there is no configuration here is the next step.3.2 Create the Rsync_client_file folder under H disk as a pl
rsync sync failure (win08--->ubuntu12.04)
Source data server for windows2008, install Cwrsyncserver, regular sync process card die do not quit, the script to solve this problem
#!/bin/bash
Pri=/root/rsync.pwd
Ist=/root/ign.list
Sf=root@223.*.*.*::test
Dt=/var/www
Log=/var/log/cdhome_rsync.log
Pid=/tmp/cdhome_rsync.pid
Fi=/tmp/cdh_test
date= "Date +%y-%m
Our first two chapters have done the rsync sync effect, synchronized when we are synchronized through the Rsync tool, but imagine, in the production environment, we can not always use the Rsync tool for manual synchronization, how to solve this problem, how to achieve automatic real-time synchronization, Let's do the t
rsync Remote Sync Tool1 Configuring the Rsync source Server (http://rsync.samba.org/)(1) Setting up the configuration fileVim/etc/rsyncd.confUID = nobody//Specifies the user who runs the programGID = nobody//Specifies the group to run the programUse chroot = yes//imprisoned in the source directory, means that only access to the directory I specified does not allo
Use rsync can achieve file backup synchronization, a realistic use of the scene is, in the background upload template files, need to sync to another server, through other domain name address access, this need to upload files in the background automatically synchronized to the external access to the server.
Log the sh script for an rsync
Today, when synchronizing the data, prompt rsync:failed to set time on "xxxx": Operation is not permitted, generally speaking, if it is not the server time is incorrect or the permissions are not set, the following cloud Habitat Community Small series for everyone to organize some information
The first method:
The "XXXX" appears on the rsync:failed to set "s": Operation not permitted is largely due to the lack of operation permissions on the folder (or file) xxxx. If the user performing the sy
First, the purposeThe Nginx log is synced to the local server in real time via the Rsync public key authentication method, and then processed using the Elk program.Second, the problem encountered and the way to solve the idea1. File permissions: Nginx Log default permissions are as follows:[[email protected] ~]# ll/var/log/nginx/access.log136330:26 /var/log/nginx/access.logI created a normal user, the standard user group, with
Rsync is very powerful, here are the parameters I used to do a directory backup with rsync:rsync -ruPi -plEt /home/op/photo/ /remote_backup/photo/ --dry-run-R Loop Directory-U update mode, synchronizing only the updated-P equals--partial--progress, shows Progress, and supports breakpoint continuation-I displays the synchronization details for each file, see the--itemize-changes section below-P Reserved Permissions-L Copy Soft link (if you want to copy
Tags: apply to the application to explain the win span Linu local preface processRsync is an open source, fast, versatile (CP,SCP,RM), excellent software tool that enables full and incremental simultaneous backup of local or remote data mirroring. Rsync is suitable for a variety of operating system platforms such as Unix/linux/windows. This article mainly explains the three common file synchronization modes of rsy
Installation
Rsync-3.1.0.tar.gz#tar ZXVF rsync-3.1.0.tar.gz#cd rsync-3.1.0#./configure--prefix=/home/work/rsync#make#make Install
The configuration of Rsync server;
Environment: 192.168.11.11 for production machine; 192.168.11.12 for backup machine;Then need to 192.168.11
I. INTRODUCTION
Rsync's common backup tool, which is currently maintained by Rsync.samba.org.
Rsync uses the so-called "rsync algorithm" to provide a very fast file transfer method, so that the local and remote two of the host file synchronization between, it is mainly the transmission of the two files, rather than the entire transmission every time, so the speed is very fast.
[email protected]::test/test1//tmp/test8/--password-file=/etc/passWhere/etc/pass content is a password, permission to change to 600Second, Linux system log/var/log/messages/etc/logrotate.conf Log Cutting configuration fileRefer to https://my.oschina.net/u/2000675/blog/908189 DMESG command/VAR/LOG/DMESG LogLast command, called the file/var/log/wtmpLASTB command to view the user who failed the login, the corresponding file is/var/log/btmp/var/log/secureThird, screen toolsIn order not to accidenta
There are two ways to mainstream file synchronization under Linux, one is SCP (based on local, SSH), and the other is rsync (multiple ways local, SSH, RSYNCD)SCP Execution Command formatSCP [OPTIONS] Source destinationExample (local to remote, vice versa remote to local)scp/home/daisy/full.tar.gz [Email Protected]:/home/rootCopy directory plus parameter-r-V parameter to provide detailed information about the SCP processThe-p parameter will help to put
In some server architectures, you will experience file synchronization issues, such as a site mirroring backup, synchronization of files to multiple CDN nodes, and so on. There are two main issues that need to be addressed
1. How to implement file synchronization problem? 2. When do I perform a sync operation?
File synchronization can be used Rsync+ssh, when to synchronize their own operation? Maybe some
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.