Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[Question] Monitoring scheduled backups #594
Comments
|
Scheduling and failure notification is generally achieved via crontab on the host running the backup utilities: https://github.com/github/backup-utils/blob/master/docs/scheduling-backups.md We have also seen some customers use a CI type system as a job runner. |
|
Can the backup command fail ? Let's say we use crontab and schedule backups, is there a way to know if the cron job is running as expected? and also report failures if any? |
|
@djdefi We were also considering using Azure's backup functionality, do you know if that be used for restoring ? |
|
Yes @singhsarab I'm sure the backup process can fail -- I would recommend checking cron logs if you are using cron to schedule backups. |
|
As an example, you can take advantage of cron emails and pagerduty integration. If the command returns anything, an email will be sent to the MAILTO address. Pagerduty has a decent list of features around email integrations. Since the below is redirecting standard out to a file, the only time an email will be sent is if something is printed to standard error.
|
|
Please re-open if you have any other questions related to this. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

What is the recommended way to setup scheduled backups for GHES instances?
Are there any recommendations for monitoring whether the scheduled backup is running as expected?