Source

woocode / py / crawler / crawler / backup_db.sh

Full commit
1
2
3
4
5
#!/bin/sh

DST="/data/backups"

cp data.db $DST/$(date +%Y-%m-%d)-data.db