Sync / Backup files from one folder to many.

Posted on 2012-08-27
Last Modified: 2012-09-16
I have a 'master website' which needs to be sync with 50 other websites hosted on the same server. Because of legal issues we need to keep this 50 installations separately. Each one connected to a separate database. BUT, the ASPS on all websites are the same, except for two folders.
Is there any software that would allow me to overnight copy the files from one 'master website' to all other websites if anything has changed on the master site ?  or better yet to just run a script to update the sites when i know something changed ?
Question by:amucinobluedot
    LVL 20

    Accepted Solution

    Can the databases be shut down for this process?  If so, it should be easy; use a (or several for better concurrency) batch file that will for each server --
    1) quiesce or stop a database;
    2) Call Robocopy to copy changed files
    3) restart the database

    You probably want to choose when it runs, but it could be a scheduled job.

    Start with one batch file that spawns (with the START command), say, five or ten others; those five or ten others will sequentially go through each server, operating the three commands above.

    This assumes Windows, but similar functionality should be available in other OSs.

    Author Comment

    This is not for a database file, just ASPS. Ill check out the software (Robocopy).

    Featured Post

    Javascript: Crash Course

    Javascript is not only emerging as the most important language to know, it's flexibility is unique. With Javascript being deployed on the web, mobile and even the desktop this is the one language that all technologists need to know.

    Join & Write a Comment

    Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
    Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
    The viewer will learn how to count occurrences of each item in an array.
    The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now