aboutsummaryrefslogtreecommitdiff
path: root/builds/daily/postgres-backups.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'builds/daily/postgres-backups.yaml')
-rw-r--r--builds/daily/postgres-backups.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/builds/daily/postgres-backups.yaml b/builds/daily/postgres-backups.yaml
index e67f93f..bac186b 100644
--- a/builds/daily/postgres-backups.yaml
+++ b/builds/daily/postgres-backups.yaml
@@ -25,7 +25,7 @@ tasks:
pgbackup.gz backups@192.168.1.246:/tank/backups/postgres/matrix-pgbackup.gz
- prom: |
ssh backups@matrix.cyberia.club \
- echo pg_backup_completion_time $(date +%s) \
- > /var/lib/prometheus/textfile_collector/pg_backup.prom.$$ \
+ 'echo pg_backup_completion_time $(date +%s) \
+ > /var/lib/prometheus/textfile_collector/pg_backup.prom.$$ \
&& mv /var/lib/prometheus/textfile_collector/pg_backup.prom.$$ \
- /var/lib/prometheus/textfile_collector/pg_backup.prom
+ /var/lib/prometheus/textfile_collector/pg_backup.prom'