Here's a workaround to make mysql master skip snapshot download and deployment:
Simply add a script called "Do not fetch MySQL snapshot" on hostInit for mysql role. It creates a file, which is being checked by updated mysql-init.sh On 10 дек, 23:13, Ken M <[email protected]> wrote: > I've set up anEBSvolume and attached it themysqlrole. All of thedatais on > theebs. I need thedatato persist between instances, but > I only want to backup the volume periodically. > > As it is now, when themysql-master instance attaches theebsvolume, > it immediately downloads the most recent snapshot of thedatafrom S3, > overwriting the more currentdatathat is already on theEBS(which > was written after the last S3 backup). > > Is there a way to have themysql-master attach theEBSwithout > overwriting the most currentdatawith the last .tar backup on S3? > > Slave instances ofmysql, however, will need to use the most recent > backup, before synchronizing with the master, I suppose. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
