mongodb-center

Create backups and restore MongoDB Databases

Usage no npm install needed!

<script type="module">
  import mongodbCenter from 'https://cdn.skypack.dev/mongodb-center';
</script>

README

Backup MongoDB to S3

Create backup for MongoDB databases and deploy to S3. Can be used either with a single or multiple databases.

Installation

yarn add mongodb-backup

Usage

The name for the backup is automatically generated using luxon

Region: If region is us-east-1, leave empty region name. By default bucket is created in region us-east-1.

Features

  • Backup multiple databases
  • Backup single databases
  • Backup locally
  • Backup to S3
  • Restore MongoDB from local backup
  • Restore MongoDB from S3

Execution