Server Load balancer Web Server Data Synchronization

Source: Internet
Author: User
Tags rsync

In order to do a good job in this synchronization, I have to find some information on the Internet. It feels good to share the information as follows:

Case 1,

 

Use cwrsync for poor performance when copying Windows 2003 Server from Xiao xiaomang-computer technology-daily life-food agency-appleboy
Http://blog.wu-boy.com/2007/04/03/89/

Recently, I am working on how to copy Windows machines and Windows machines, and how can I copy Linux and Windows machines, in fact, I will not use Windows's daily fixed running program. In Linux, cron can be used. However, in winodws, batch failover is required.
The next step is the security step. please upload the two Windows hosts to the cwrsync exam.[Linux] cwrsync [rsync for Windows] SSH encrypted local copy
After cwrsync has been installed, you can start using it after the migration of the system Server Load balancer.
The following is the attempt to clear unnecessary spam cases in your system on the Internet.

Please open the event book...
Enter the following things

@ Echo off
ECHO is clearing the system garbage collection case. Please wait ......
Del/f/S/Q % systemdrive %/*. tmp
Del/f/S/Q % systemdrive %/*. _ MP
Del/f/S/Q % systemdrive %/*. Log
Del/f/S/Q % systemdrive %/*. GID
Del/f/S/Q % systemdrive %/*. Chk
Del/f/S/Q % systemdrive %/*. Old
Del/f/S/Q % systemdrive %/recycled /*.*
Del/f/S/Q % WINDIR %/*. Bak
Del/f/S/Q % WINDIR %/prefetch /*.*
RD/S/Q % WINDIR %/temp & MD % WINDIR %/temp
Del/f/Q % USERPROFILE %/cookies /*.*
Del/f/Q % USERPROFILE %/recent /*.*
Del/f/S/Q "% USERPROFILE %/Local Settings/Temporary Internet Files /*.*"
Del/f/S/Q "% USERPROFILE %/Local Settings/temp /*.*"
Del/f/S/Q "% USERPROFILE %/recent /*.*"
Echo system LJ cleared!
Echo. & pause

Stored... sub-register name. bat
But set rsync. conf first.

Please note that it is used in Windows

# Module Definitions
# Remember cygwin naming conventions: C:/work becomes/cygwin/C/work

Do not create a record in the router interface. Then, open the Bat attack case and join the website.

@ CLS
@ Echo off
Rem rsync job control file
Path = C:/program files/cwrsyncserver/bin; % PATH %
Rsync-AVL -- delete -- Progress -- password-file = D:/backup/rsync.txt/cygdrive/D/backup Appleboy@192.168.100.5: Backup_nas
Echo. & pause

The bottom line

Path = C:/program files/cwrsyncserver/bin; % PATH %

Set the path. Otherwise, the system will tell you that the command cannot be found. In fact, in Linux
In this way, you can add a schedule in the Start-> console-> scheduling work.

Exam:
Rsync for Windows
[Linux] cwrsync [rsync for Windows] SSH encrypted local copy
Cool student
Http://phorum.study-area.org/viewtopic.php? T = 45307Rsync for Windows
[Linux] cwrsync [rsync for Windows] SSH encrypted local copy

Materials are synchronized to the blog.

Http://blog.wu-boy.com/2007/04/03/89

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.