Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielrufino/mongodump-action
🍃 GitHub Action for creating a binary export of a database's contents
https://github.com/gabrielrufino/mongodump-action
actions backup database github-actions mongodb mongodump security
Last synced: 7 days ago
JSON representation
🍃 GitHub Action for creating a binary export of a database's contents
- Host: GitHub
- URL: https://github.com/gabrielrufino/mongodump-action
- Owner: gabrielrufino
- License: unlicense
- Created: 2023-05-26T03:03:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-28T22:29:14.000Z (11 months ago)
- Last Synced: 2024-05-01T14:55:47.855Z (7 months ago)
- Topics: actions, backup, database, github-actions, mongodb, mongodump, security
- Language: Dockerfile
- Homepage: https://github.com/marketplace/actions/mongodump-action
- Size: 12.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mongodump Action
GitHub Action for creating a binary export of a database's contents
## Example usage
```yml
name: Backupon:
schedule:
- cron: 0 0 * * *jobs:
backup:
runs-on: ubuntu-latest
steps:
- uses: gabrielrufino/mongodump-action@v1
with:
connection-string: ${{ secrets.MONGO_URI }}
- uses: actions/upload-artifact@v4
with:
name: dump
path: ${{ github.workspace }}/dump
```## Security
Remember that artifacts can be downloaded by anyone who has the artifact download link or access to the workflow run. Which means that you need to use a private repository if you want create backups and upload them as artifacts.