Sync / Backup files from one folder to many.

Posted on 2012-08-27
Medium Priority
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:Aleks
LVL 21

Accepted Solution

SelfGovern earned 2000 total points
ID: 38339904
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

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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
"Any files you do not have backed up in at least two [other] places are files you do not care about."
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

862 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