Open Tootman opened 4 years ago
Open Firebase connection
close connections
How to Perform tasks in order (all are async) Now tested locally Got node script to terminate properly at last (needed to do app.delete() at end Working for an array of refPaths - but can only do maps indevidually, due to FB user permissions (Created a new user specifically for reading /copying to remote location) also cannot access / Users/ for same reason
Created new FB user for Backup - readAll no write. See Trello clientMap board for details. Running into problems with simple-ftp timeout datasocket. (and not writing large file to local filesystem. - see Trello etc
Now working - at least from local, since Broadband upgraded. Moved whole FB database as one file from Local to Remote shared via FTP
So currently planning to use Heroku - but howabout using Firebase functions - using the same node code?? (cannot use the native Firebase cron scheduling equivalent is this feature is a paid service)
For data security and resilience purposes.
script to copy data to another (online) location Scripted /triggered/scheduled from where Website using php cron, Firebase function??, or from request from local PC eg running MapAdmin, or onDemand (only when new data added), using Zapier, with OneDrive?? Also investaged feasability of using GoDaddy Ended up Using Heroku
Sort out FB rules - not working for /Maps/ or any /Users/, but is for indevidual maps etc