2
0

Added the downsync utility (both Bash and Powershell) to retrieve exported backups.

This commit is contained in:
2025-05-20 18:55:24 +02:00
parent a2c6a76956
commit 7638a0ea2d
5 changed files with 526 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#!/bin/bash
#
# This script retrieves daily backups from our remote web services.
# Contains (encoded) passwords, keep it confidentially!
# Maintained by hand.
# A download step
$HOME/bin/downsync \
-u <https user> -p "<base64-encoded https password>" \
'https://<remote website>/export' \
'<download destination pathname>'
# More download steps (if any)
# Rotates all backup folders.
# The actual schedule is defined per folder in the .rotate_folder.conf files.
$HOME/bin/rotatebackups "<downloads destination root folder>"