Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/actalog/mongodump
🍃 GitHub Action for creating a binary export of a database's contents
https://github.com/actalog/mongodump
actions backup database github-actions mongodb mongodump security
Last synced: about 2 months ago
JSON representation
🍃 GitHub Action for creating a binary export of a database's contents
- Host: GitHub
- URL: https://github.com/actalog/mongodump
- Owner: actalog
- License: unlicense
- Created: 2023-05-26T03:03:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-21T16:23:57.000Z (2 months ago)
- Last Synced: 2024-12-06T14:07:18.179Z (about 2 months ago)
- Topics: actions, backup, database, github-actions, mongodb, mongodump, security
- Language: Dockerfile
- Homepage: https://github.com/marketplace/actions/actalog-mongodump
- Size: 11.7 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mongodump
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: actalog/mongodump@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.