mirror of
https://codeberg.org/yuukixyz/taiko-web-db.git
synced 2024-10-22 11:05:43 +02:00
10 lines
440 B
Bash
10 lines
440 B
Bash
#!/bin/bash
|
|
|
|
docker exec -i taiko-mongo mongoexport --db taiko --collection users --out /dev/stdout | sort -n > users.json
|
|
docker exec -i taiko-mongo mongoexport --db taiko --collection songs --out /dev/stdout | sort -n > songs.json
|
|
docker exec -i taiko-mongo mongoexport --db taiko --collection scores --out /dev/stdout | sort -n > scores.json
|
|
|
|
git add -A
|
|
git commit --author="bot <user@example.com>" -m "$(date +%s)"
|
|
git push origin main
|