PluralKit/scripts/rclone-db.sh
2018-10-11 11:54:04 +02:00

9 lines
187 B
Bash
Executable File

#!/bin/sh
# Usage: rclone-db.sh <remote>:<path>
# eg. rclone-db.sh b2:pluralkit
FILENAME=pluralkit-$(date +"%Y-%m-%dT%H:%M:%S").sql
$(dirname $0)/dump-db.sh | rclone rcat $1/$FILENAME