Enhance Gitea database backup script with relative paths, logging, and Docker checks; update scheduling script to include Docker check

This commit is contained in:
2025-04-19 19:36:36 -06:00
parent 5f329bc7e3
commit cba5e8167b
8 changed files with 157 additions and 9 deletions

13
run-backup.ps1 Normal file
View File

@@ -0,0 +1,13 @@
# This script is automatically generated - do not edit manually
# It runs the Docker check script followed by the backup script
# Get the script directory
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
# Run the Docker check script first
$dockerCheckScript = Join-Path $scriptDir "ensure-docker-running.ps1"
& $dockerCheckScript
# Then run the backup script
$backupScript = Join-Path $scriptDir "backup-gitea-db.ps1"
& $backupScript