Added the downsync utility (both Bash and Powershell) to retrieve exported backups.
This commit is contained in:
17
.utils/downsync/getbackups
Normal file
17
.utils/downsync/getbackups
Normal 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>"
|
Reference in New Issue
Block a user