It’s not published on NPM yet, because I wanted to wait for some positive testing feedback first. You can clone the repo and either use the scripts directly via node backup.js and node restore.js or you can install and link the executables globally via npm install -g . in the repo root. The latter gives you rs-backup and rs-restore commands.
There’s no discovery or auth yet, so you’ll have to provide the actual storage base URL (e.g. for 5apps that would be https://storage.5apps.com/yourusername/) and a valid token for either the whole storage or the category you’re trying to backup/restore.
PRs are very welcome, of course. The whole thing is less than 200 lines of code and really simple. It’s more of a quick hack actually, but I could reliably migrate storage accounts with it so far.
Would be great if some of you could try it out and let me know if it worked for you. Thanks!
Awesome!
I was searching for something like this since more than 3 years
Even built (and failed) my own version before: https://github.com/jorinvo/rs-backup
The CLI approach is way simpler.
I will give it a try!
I made it a CLI, so it can also be set up as a cron job and such. Whoever wants to could also use Electron to give it some desktop UI. How about you deprecate yours and we collaborate on the new one then?
Edit: I would move it to the RS org, if someone is willing to help me maintain it properly.