mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
7 lines
199 B
Bash
Executable file
7 lines
199 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Usage: rclone-db.sh <remote>:<path>
|
|
# eg. rclone-db.sh b2:pluralkit
|
|
|
|
FILENAME=pluralkit-$(date -u +"%Y-%m-%dT%H:%M:%S").sql.gz
|
|
$(dirname $0)/dump-db.sh | gzip | rclone rcat $1/$FILENAME
|