Skip to content

Mongodump & Mongorestore action

Actions
GitHub action to run mongodump/mongorestore commands
v1.4.1
Latest
Star (1)

Mongodump Action

GitHub Action for creating a MongoDB dump using mongodump or restoring a MongoDB dump using mongorestore.

Example usage

name: Dump MongoDB

on:
  schedule:
    - cron: 0 0 * * *

jobs:
  backup:
    runs-on: ubuntu-latest
    steps:
      - uses: zahornyak/[email protected]
        with:
          connection-string: ${{ secrets.MONGO_URI }}
          compress: true
          mongo-command: mongodump # this is by default. You can use `mongorestore` also here
          additional-args: '--tlsInsecure'

Mongodump & Mongorestore action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub action to run mongodump/mongorestore commands
v1.4.1
Latest

Mongodump & Mongorestore action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.