commit 9fbc6b59825ce69facba4c5e1f4fc6b6e2f2bcdd
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Nov 4 15:29:52 2016 +0100
Update db02 databases backups
host_vars/db02.online.rpmfusion.net | 1 +
scripts/public-db-copy | 11 ++++-------
2 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git
a/host_vars/db02.online.rpmfusion.net b/host_vars/db02.online.rpmfusion.net
index 929206d..43a30bb 100644
---
a/host_vars/db02.online.rpmfusion.net
+++
b/host_vars/db02.online.rpmfusion.net
@@ -21,6 +21,7 @@ dbs_to_backup:
- bodhi2
- pkgdb2
- koji
+- fas2
# These are normally group variables, but in this case db servers are often different
lvm_size: 10240
diff --git a/scripts/public-db-copy b/scripts/public-db-copy
index ba2fd08..917614c 100755
--- a/scripts/public-db-copy
+++ b/scripts/public-db-copy
@@ -4,10 +4,7 @@
# A simple script to copy database dumps over to public space on batcave01
# Only the most recent dump is published
#
-scp db-datanommer02:/backups/datanommer-$(date +%F).dump.xz
/srv/web/infra/db-dumps/datanommer.dump.xz
-scp db-koji01:/backups/koji-$(date +%F).dump.xz /srv/web/infra/db-dumps/koji.dump.xz
-scp db01:/backups/pkgdb2-$(date +%F).dump.xz /srv/web/infra/db-dumps/pkgdb2.dump.xz
-scp db01:/backups/fedoratagger-$(date +%F).dump.xz
/srv/web/infra/db-dumps/fedoratagger.dump.xz
-scp db01:/backups/koschei-$(date +%F).dump.xz /srv/web/infra/db-dumps/koschei.dump.xz
-scp db01:/backups/bodhi2-$(date +%F).dump.xz /srv/web/infra/db-dumps/bodhi2.dump.xz
-scp anitya-backend01.fedoraproject.org:/backups/anitya-$(date +%F).dump.xz
/srv/web/infra/db-dumps/anitya.dump.xz
+scp db02:/backups/koji-$(date +%F).dump.xz /srv/web/infra/db-dumps/koji.dump.xz
+scp db02:/backups/pkgdb2-$(date +%F).dump.xz /srv/web/infra/db-dumps/pkgdb2.dump.xz
+scp db02:/backups/bodhi2-$(date +%F).dump.xz /srv/web/infra/db-dumps/bodhi2.dump.xz
+scp db02:/backups/fas2-$(date +%F).dump.xz /srv/web/infra/db-dumps/fas2.dump.xz