mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
Add basic backup shell scripts
This commit is contained in:
parent
a866b7cb4c
commit
31322f3fea
2 changed files with 11 additions and 0 deletions
8
scripts/rclone-db.sh
Executable file
8
scripts/rclone-db.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue