Compare commits
12 commits
4831430455
...
ab70e4696c
Author | SHA1 | Date | |
---|---|---|---|
b12f | ab70e4696c | ||
teutat3s | 6dab4ffb2e | ||
teutat3s | 9cbd60a80b | ||
teutat3s | 6a235fa0d8 | ||
teutat3s | 19963ee749 | ||
teutat3s | b2cb9755e1 | ||
teutat3s | 3556a653be | ||
teutat3s | b72384b8d1 | ||
teutat3s | 7910f61dd5 | ||
teutat3s | c4d95b625f | ||
teutat3s | 4119a01f77 | ||
b12f | 529766413e |
|
@ -154,11 +154,11 @@ in
|
|||
"/tmp/obs-portal-backup.sql"
|
||||
];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 01:30:00 Etc/UTC";
|
||||
OnCalendar = "*-*-* 00:30:00 Etc/UTC";
|
||||
};
|
||||
initialize = true;
|
||||
backupPrepareCommand = ''
|
||||
${pkgs.docker}/bin/docker exec -i --user postgres obs-portal-db pg_dump obs > /tmp/obs-portal-backup.sql
|
||||
${pkgs.docker}/bin/docker exec -ti --user postgres obs-portal-db pg_dump obs > /tmp/obs-portal-backup.sql
|
||||
'';
|
||||
backupCleanupCommand = ''
|
||||
rm /tmp/obs-portal-backup.sql
|
||||
|
|
Loading…
Reference in a new issue