Re: [WebDNA] backup / mirror website & databases

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114194
interpreted = N
texte = 1797 I'm currently setting up two servers for one of my clients, a main server and a clone that I will call the backup server. They will reside in different data centers, one East Coast, one West. I'll run a WebDNA script via trigger on the backup that flushes dbs on the main, then duplicates the main dbs to a separate folder every hour. Rsync then pulls the main dbs from this folder. If rsync can't connect to the main my script will text me. Then I'll check to see if the main has gone down. If so I'll point my DNS to the backup until the main is online again. Since the main is not expected to go down very often, an hour offline for server switching and DNS propagation doesn't bother my client, especially when I can implement this solution at low cost. The benefit are (1) constant backups in native file format, (2) a backup that's ready to take over for the main 24/7, and (3) a backup that's immune to physical disaster on the main. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration > In the past I've had 2 physical servers running. A primary and > a backup. They were joined by Gluster so that in the event the > primary went down for some reason the backup took over without > the need of downtime to restore from the last nightly backup > that would be missing current days activity. > > My 2 most powerful servers (16GB RAM & dual quad core > processors) are getting old. I've recently upgraded drives to > SSD's, replaced power supplies and batteries. I want to only > have 1 powered up and the other to be a cold spare. > > I want to run 2 virutal web servers running on one physical > server. One serving to the public and the other running and be > an up to date copy and in the event something such as a hack > occurred on the primary virtual server where I could just > change the IP address in the router to send all web traffic to > the backup server's IP. > > I would like to have rsync run once every hour so the process > time will be minimal and the most data that would be lost would > be the last hour. Then after the 1:00AM rsync have a script > create a tar backup file of the directories and databases > located on the backup server to a directory on a NAS as the > days backup. --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] backup / mirror website & databases (webdna 2018)
  2. Re: [WebDNA] backup / mirror website & databases (Kenneth Grome 2018)
  3. Re: [WebDNA] backup / mirror website & databases (webdna 2018)
  4. Re: [WebDNA] backup / mirror website & databases (Donovan Brooke 2018)
  5. Re: [WebDNA] backup / mirror website & databases (webdna 2018)
  6. Re: [WebDNA] backup / mirror website & databases (Donovan Brooke 2018)
  7. Re: [WebDNA] backup / mirror website & databases (webdna 2018)
  8. Re: [WebDNA] backup / mirror website & databases (dbrooke@euca.us 2018)
  9. [WebDNA] backup / mirror website & databases (webdna 2018)
1797 I'm currently setting up two servers for one of my clients, a main server and a clone that I will call the backup server. They will reside in different data centers, one East Coast, one West. I'll run a WebDNA script via trigger on the backup that flushes dbs on the main, then duplicates the main dbs to a separate folder every hour. Rsync then pulls the main dbs from this folder. If rsync can't connect to the main my script will text me. Then I'll check to see if the main has gone down. If so I'll point my DNS to the backup until the main is online again. Since the main is not expected to go down very often, an hour offline for server switching and DNS propagation doesn't bother my client, especially when I can implement this solution at low cost. The benefit are (1) constant backups in native file format, (2) a backup that's ready to take over for the main 24/7, and (3) a backup that's immune to physical disaster on the main. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration > In the past I've had 2 physical servers running. A primary and > a backup. They were joined by Gluster so that in the event the > primary went down for some reason the backup took over without > the need of downtime to restore from the last nightly backup > that would be missing current days activity. > > My 2 most powerful servers (16GB RAM & dual quad core > processors) are getting old. I've recently upgraded drives to > SSD's, replaced power supplies and batteries. I want to only > have 1 powered up and the other to be a cold spare. > > I want to run 2 virutal web servers running on one physical > server. One serving to the public and the other running and be > an up to date copy and in the event something such as a hack > occurred on the primary virtual server where I could just > change the IP address in the router to send all web traffic to > the backup server's IP. > > I would like to have rsync run once every hour so the process > time will be minimal and the most data that would be lost would > be the last hour. Then after the 1:00AM rsync have a script > create a tar backup file of the directories and databases > located on the backup server to a directory on a NAS as the > days backup. --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us . Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

using WebCat for Associate Programs? (1998) PCS search results page (1998) XML version of WebDNA docs? (2000) WebCatalog [FoundItems] Problem - LONG - (1997) What am I missing (1997) [WebDNA] showif/sendmail question (2008) Where's Cart Created ? (1997) how do we turn off staticpages page creation? (2003) service stop and restart (1997) Next X hits (1996) Location of Browser Info.txt file (1997) Date search - yes or no (1997) WebCatalog [FoundItems] Problem - LONG - (1997) [WebDNA] html email.. should be a no-brainer.. but it is not parsing. (?) (2010) WebCat for Site Search? (1997) ODBC-Interface (2000) Follow-up to listfiles bug report ... (2003) The IBC root beer has arrived! (1997) !@#$$@@# formulas database, tax and freight. (2002) form data submission gets truncated (1997)