Automate MongoDB database backup directly to your DigitalOcean Spaces.
This time, I'll show you how to configure your MongoDB backup and store it on DigitalOcean Spaces.
At SimpleBackups, we love DigitalOcean since day one. It's a great company providing an excellent service at an affordable price for developers. Their DigitalOcean Spaces product is what makes the most sense for storing backups. Which makes it the perfect pick for SimpleBackups.
Create a new "Spaces" using the create menu at the top right
That's it! Your DigitalOcean Spaces is now created.
Don't leave the DigitalOcean interface, we'll now have to create your credentials.
Information you'll need in step 3:
Getting your DigitalOcean Spaces setup, was easy, ... and so will be getting your credentials! We've covered how to get this done in a how to create a DigitalOcean Spaces credentials. Follow this simple article and you'll get the access created in ... less than 2 minutes.
Information you'll need in step 3:
You'll have to input :
You'll be redirected to the list of storage where you'll find your newly connected storage.
Now it's time to head to the create backup page.
From this screen you'll be able to configure what data you're backing up (MongoDB in this case), where you want it to be saved (in this case your DigitalOcean Bucket), and how often you want this to be done.
FYI this section will be the same, no matter what storage you pick. And that's the beauty of it, if you want to change storage, just select another one from the list (DigitalOcean, AWS, or whatever you might prefer) and you'll be good to go.
Select your schedule option (here we picked a daily schedule)
You can select a pre-defined schedule (daily, weekly, monthly) or a custom option allowing you to schedule it whenever you want using CRON syntax.
Example of CRON schedule for "20:00 every Tuesday" = 0 22 * * 2
Finally the "On demand" option won't schedule anything but will allow you to trigger the backup manually or using our API.
Congratulations, you now have you MongoDB database, backed up on DigitalOcean Spaces.
Run it once manually (using the "Run" backup button from the backups list) and you'll trigger your first backup!
Sign up for FREE. Get started in less than one minute.
No credit card required. Free 7-day trial.