Skip to content

Commit cd9b704

Browse files
authored
Merge pull request #105 from furynick/fix_backup_ls
Show backup files
2 parents c1fed8f + ad38928 commit cd9b704

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

charts/firefly-db/templates/backup.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ spec:
2525
rm "$(ls -1t /var/lib/backup/$DBNAME-*.sql.gz | tail -1)" || exit 1
2626
sync
2727
done
28+
df -h /var/lib/backup/
2829
{{- end }}
29-
ls -la
30+
ls -la /var/lib/backup/
3031
{{- if eq .Values.backup.destination "http" }}
3132
if [ -z "$BACKUP_URL" ]; then
3233
echo "ERROR: BACKUP_URL is required when backup.destination is set to 'http'. Backup will not be uploaded, but remain in PVC."

0 commit comments

Comments
 (0)