aqa-test-tools icon indicating copy to clipboard operation
aqa-test-tools copied to clipboard

Backup story for TRSS server

Open llxia opened this issue 5 years ago • 5 comments

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).

llxia avatar Feb 04 '20 16:02 llxia

related: https://docs.mongodb.com/manual/core/backups/#backup-with-mongodump https://docs.mongodb.com/manual/tutorial/backup-and-restore-tools/

smlambert avatar Feb 07 '20 13:02 smlambert

Related: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1295

sxa avatar Jul 08 '20 11:07 sxa

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 avatar Dec 02 '20 19:12 llxia

@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

sxa avatar Jan 14 '21 17:01 sxa

Sorry, missed your above message. Talked with @OscarQQ , he will help with this issue.

llxia avatar Jan 19 '21 20:01 llxia