You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Mongodump & Mongorestore action
v1.0.0
GitHub Action for creating a MongoDB dump using mongodump
.
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