facebookarchive / rocks-strata

Other
133 stars 24 forks source link

Can backups be initiated from a remote server? #23

Closed asdf01 closed 7 years ago

asdf01 commented 7 years ago

Hey Guys

Can the strata backup process be initiated from a remote server or does it need direct file system access as well as the mongo shell access credentials?

I tried initiating the strata backup process from somewhere else on the internet. Initially it didn't work as strata only connects to localhost. But after I setup a reverse proxy to redirect traffic from localhost to my mongodb on the internet, it failed with some other error. I'm guessing the strata process needs direct file system access is that right?

Thanks

AGFeldman commented 7 years ago

strata backup accesses the local filesystem to perform a backup, so it needs to run on the same machine that runs the database. You can still invoke it remotely, but you'd need to do something like http://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-shell-script-on-a-remote-machine.

asdf01 commented 7 years ago

Hi AGFeldman. Thanks for your help on this issue.