database-backup-image/backup.sh
Adam Štrauch 4753f6f057
All checks were successful
Build a dev image / build (push) Successful in 14s
Release of a new version / build (release) Successful in 14s
Add local snapshot command
2025-10-18 02:08:37 +02:00

9 lines
196 B
Bash

#!/bin/bash
if [ "$1" = "local" ]; then
source /backup_local.sh
elif [ "$1" = "restic" ]; then
source /backup_restic.sh
else
echo "Unknown backup method. Use 'local' or 'restic'."
fi