Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Romitou authored Nov 12, 2021
1 parent c9d1eda commit 67296d0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# MongoBackup 🍃
Fast and efficient tool to backup Mongo databases via a Discord webhook.

### It's fast ⚡
Totally written in Go, you benefit from all the advantages of these languages, optimized for performance. This program also uses the official Mongo drivers.

<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Go_Logo_Aqua.svg/1200px-Go_Logo_Aqua.svg.png" height=40 width=auto>

### It's simple 🤓
All you have to do is download the application binaries, fill in a configuration file and create a cron job. Simple, isn't it?
```yml
# Where the logs are located
logPath: "./logs.log"

# The Mongo URI used to connect to the database
mongoUri: "mongodb://127.0.0.1/"

# The archive password
zipPassword: "supersecretpassword"

# Example: https://discord.com/api/webhooks/763413460892641305/gFx3ERX1IVmyVJ2etAXfQ8OVIYARz06JUmXzJOW8Z5ALv4-GE5lkW
webhook:
id: "763413460892641305"
token: "gFx3ERX1IVmyVJ2etAXfQ8OVIYARz06JUmXzJOW8Z5ALv4-GE5lkW"
```
### It's secure 🔒
When storing or uploading to Discord, the archive is encrypted with a password you set in the configuration. Only those who know the password can read the archive containing the backup.

0 comments on commit 67296d0

Please sign in to comment.