#!/bin/bash

#
# A simple script to copy database dumps over to public space on lockbox01
# 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 db01:/backups/db01.phx2.fedoraproject.org/pkgdb2.db /srv/web/infra/db-dumps/pkgdb2.db

scp db01:/backups/db01.phx2.fedoraproject.org/fedoratagger.db /srv/web/infra/db-dumps/fedoratagger.db
