9 lines
187 B
Bash
9 lines
187 B
Bash
|
#!/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
|
||
|
|