Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Discord Notifications to Backup Script #634

Merged
merged 1 commit into from
May 23, 2023

Conversation

dan3805
Copy link
Contributor

@dan3805 dan3805 commented May 22, 2023

In this commit, we enhanced the Docker backup script by integrating it with Discord notifications. The notifications are sent through a Discord webhook which enables real-time updates about the backup process.

Here are the key changes made:

Discord Webhook Integration: Added a Discord webhook at the end of the backup process for each Docker container. This webhook sends a message to the specified Discord channel when a backup has been completed.

Dynamic Messages: The Discord messages are dynamically generated to include the name of the Docker container (ARCHIVE), the folder where the backup is stored (STORAGE), and the current timestamp when the backup was completed.

Improved Tracking: With these notifications, users can monitor the progress of the backup process in real-time and can immediately know if a backup has been successfully completed or if there are issues that need to be addressed.

This feature adds a new layer of visibility to the backup process and makes it easier for users to manage their Docker containers.

Please ensure to add on the line WEBHOOK_URL="" your actual Discord webhook URL to make use of this feature.

Remember to keep this script secure as it contains sensitive information like your Discord Webhook URL. The script must not be shared publicly or with untrusted parties to prevent misuse.

The changes are designed to improve user experience and provide an efficient way

to keep track of Docker backups. As always, we appreciate any feedback or suggestions for further improvements.

@dan3805 dan3805 requested a review from drag0n141 as a code owner May 22, 2023 20:53
@mergify
Copy link

mergify bot commented May 22, 2023

@dan3805
Please follow the Contributing Guidelines.
Before we can merg the PR , we will check the PR.

@dan3805
Copy link
Contributor Author

dan3805 commented May 22, 2023

scrrenshot

@github-actions github-actions bot force-pushed the backup-script-discord-webhook branch from 365e86f to 5757dc4 Compare May 23, 2023 15:35
@github-actions github-actions bot force-pushed the backup-script-discord-webhook branch 2 times, most recently from eb797d5 to 23c6561 Compare May 23, 2023 16:08
@github-actions github-actions bot force-pushed the backup-script-discord-webhook branch 2 times, most recently from 707c1fc to a4216f1 Compare May 23, 2023 18:12
In this commit, we enhanced the Docker backup script by integrating it with Discord notifications. The notifications are sent through a Discord webhook which enables real-time updates about the backup process.

Here are the key changes made:

Discord Webhook Integration: Added a Discord webhook at the end of the backup process for each Docker container. This webhook sends a message to the specified Discord channel when a backup has been completed.

Dynamic Messages: The Discord messages are dynamically generated to include the name of the Docker container (ARCHIVE), the folder where the backup is stored (STORAGE), and the current timestamp when the backup was completed.

Improved Tracking: With these notifications, users can monitor the progress of the backup process in real-time and can immediately know if a backup has been successfully completed or if there are issues that need to be addressed.

This feature adds a new layer of visibility to the backup process and makes it easier for users to manage their Docker containers.

Please ensure to replace the placeholder "[Your Discord Webhook URL Here]" with your actual Discord webhook URL to make use of this feature.

Remember to keep this script secure as it contains sensitive information like your Discord Webhook URL. The script must not be shared publicly or with untrusted parties to prevent misuse.

The changes are designed to improve user experience and provide an efficient way

to keep track of Docker backups. As always, we appreciate any feedback or suggestions for further improvements.

Signed-off-by: DoCtEuR3805 | FRENCH-QC <35934387+dan3805@users.noreply.github.com>
@github-actions github-actions bot force-pushed the backup-script-discord-webhook branch from 3e18d46 to 08c3067 Compare May 23, 2023 19:01
@drag0n141 drag0n141 merged commit 61b7533 into dockserver:master May 23, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants