Skip to content

Commit 2579b84

Browse files
committed
chore: init /var/log/wal-g/wal-verification-results
1 parent 570dbb3 commit 2579b84

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

ebssurrogate/scripts/surrogate-bootstrap-nix.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,9 @@ function clean_system {
258258

259259
# Setup wal-g logs
260260
mkdir /mnt/var/log/wal-g
261+
261262
touch /mnt/var/log/wal-g/{backup-push.log,backup-fetch.log,wal-push.log,wal-fetch.log,pitr.log}
263+
mkdir /mnt/var/log/wal-g/wal-verification-results
262264

263265
#Creatre Sysstat directory for SAR
264266
mkdir /mnt/var/log/sysstat

ebssurrogate/scripts/surrogate-bootstrap.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,9 @@ function clean_system {
258258

259259
# Setup wal-g logs
260260
mkdir /mnt/var/log/wal-g
261+
261262
touch /mnt/var/log/wal-g/{backup-push.log,backup-fetch.log,wal-push.log,wal-fetch.log,pitr.log}
263+
mkdir /mnt/var/log/wal-g/wal-verification-results
262264

263265
#Creatre Sysstat directory for SAR
264266
mkdir /mnt/var/log/sysstat

scripts/91-log_cleanup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ mkdir /var/log/postgresql
1717
chown postgres:postgres /var/log/postgresql
1818

1919
mkdir /var/log/wal-g
20+
2021
cd /var/log/wal-g
2122
touch backup-push.log backup-fetch.log wal-push.log wal-fetch.log pitr.log
23+
mkdir /var/log/wal-g/wal-verification-results
24+
2225
chown -R postgres:postgres /var/log/wal-g
2326
chmod -R 0300 /var/log/wal-g
2427

0 commit comments

Comments
 (0)