xamplo / aspecx

0 stars 1 forks source link

firebase license upgrade or backup solution with CLI #88

Closed xamplo closed 7 years ago

xamplo commented 7 years ago

https://firebase.google.com/pricing/

xamplo commented 7 years ago

As the number of users is very few, I keep the daily backup as it is configured by default

ursmeier-mercatus commented 7 years ago

Backups are only available with the payable Blaze-Version of Firebase. Or am I wrong?

I added a small script to backup the data.

bildschirmfoto 2017-02-06 um 12 34 14

The job is executed at 03:05 am and you will receive an email ;-) (you can disable the email, if you want). The email is always sent: on success and on error. No error handling in the script.

bildschirmfoto 2017-02-06 um 12 35 43

This is a temporary solution until we upgrade to Blaze.

xamplo commented 7 years ago

Urs, da hast du völlig recht. Ich habe da einen falschen Forum-Eintrag gelesen und war von automatischen Backups ausgegangen, auch für die gratis Lösung. Das war dumm!

Vielen Dank!!!!

Gruss

Edo

From: ursmeier-mercatus [mailto:notifications@github.com] Sent: Montag, 6. Februar 2017 12:38 To: xamplo/aspecx aspecx@noreply.github.com Cc: xamplo edo.bezemer@xamplo.com; State change state_change@noreply.github.com Subject: Re: [xamplo/aspecx] firebase license upgrade or backup solution with CLI (#88)

Backups are only available with the payable Blaze-Version of Firebase. Or am I wrong?

I added a small script to backup the data. https://cloud.githubusercontent.com/assets/22747183/22645705/a30b5d48-ec68-11e6-8308-e8ab4387e6e8.png

The job is executed at 03:05 am and you will receive an email ;-) (you can disable the email, if you want). The email is always sent: on success and on error. No error handling in the script.

https://cloud.githubusercontent.com/assets/22747183/22645766/effaf1ae-ec68-11e6-8096-9757819fecfe.png

This is a temporary solution until we upgrade to Blaze.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/xamplo/aspecx/issues/88#issuecomment-277657597 , or mute the thread https://github.com/notifications/unsubscribe-auth/AVsYFSPBqOAGINfZ0cU6GmpaEa7ANROLks5rZwYjgaJpZM4LJ8wS . https://github.com/notifications/beacon/AVsYFfhqnUfa578wK4V5B4Q12YVnyO-2ks5rZwYjgaJpZM4LJ8wS.gif

xamplo commented 7 years ago

Very good, Urs, its working. At the next opportunity, I will write a purge scripts for the backup files if the file has at least a specific size (validation) and is older than 1 month.

ursmeier-mercatus commented 7 years ago

I would keep them a very long time or forever as long as they don't take much space. The purge method should then go into the php-script.