aqa-test-tools
aqa-test-tools copied to clipboard
Backup story for TRSS server
The current TRSS server https://trss.adoptopenjdk.net/ is down for almost two days. And we cannot ping the machine. While people are looking into the issue, we need to have a backup story for TRSS server (in case this happens again in the future).
This backup story will include not only quick bring up of a new server, but a schedule for backing up mongodb on the backend (so we have test history available in the new instance).
related: https://docs.mongodb.com/manual/core/backups/#backup-with-mongodump https://docs.mongodb.com/manual/tutorial/backup-and-restore-tools/
Related: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1295
A cron job can be created on the machine to export MongoDB data weekly. Ideally, the exported data should be stored on a separate server (i.e., artifactory, git repo, etc). For now, we can just store the backup data on the machine.
@llxia Can you set up a script to do that? As a first pass I'm happy with that and then I can look at getting the backups exported off the machine
Sorry, missed your above message. Talked with @OscarQQ , he will help with this issue.