-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |