![]() |
|
|
|
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Dedicated Servers Need help choosing which dedicated server that works best with your site(s)? Feel free to talk about them here! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
You should be able to set this up in the root cron to do like every 30 mins:
*/30 * * * /etc/sync.sh Make a file with the below code in it (you can use notepad and save it as sync.sh) Code:
cd /home/user/ && wget -q -nH --mirror ftp://user:pass@host/public_html/ && chown user:user public_html/ -R && chmod 750 public_html/ Pass = Password for FTP Host = IP or Hostname of your old account (where it will pull data from). upload it via SCP or wget to /etc/ Leave the ownership as root:root
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
Is this used to do backup mirror servers from the very large sites? So if one DC goes down, the backup NS3 and NS4 slots pick up and serve the page properly?
Interesting
__________________
█ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
|
||||
|
Well its used basically for mirror multiple servers across a string so if you have a cluster such as:
Server 1 Server 2 Server 3 But you dont want to update all 3 with the changes, what you can do is use the above script to copy everything from Server 1 to all the others, by having them sync every 30 mins +/-. So result 30 mins later would be that all would have the same files, content ![]()
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
Very cool. I love it!
![]()
__________________
█ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
|
||||
|
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Namecheap - Registering Name Servers | lnxcode | Virtual Private Servers (VPS) | 1 | 01-04-2008 12:27 AM |
| How do I Change Name servers? | lnxcode | Virtual Private Servers (VPS) | 0 | 01-01-2008 01:29 AM |
| New Dedicated Servers (Coming Soon) | lnxcode | Announcements | 0 | 10-20-2007 02:15 PM |
| HostICan Dedicated Servers - Security? | Scott | Dedicated Servers | 2 | 10-10-2007 11:19 PM |
| Both DNS servers will run on same machine? | facelikebambi | Virtual Private Servers (VPS) | 10 | 10-09-2007 03:00 PM |