add donmai scripts

This commit is contained in:
albert
2013-02-16 23:33:43 -05:00
parent 7e0e961656
commit 7570de0754
6 changed files with 57 additions and 0 deletions

3
script/donmai/backup_db Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
PGOPTIONS="-c statement_timeout=0" pg_dump -Fc -hdbserver -f /var/www/danbooru2/shared/backup/db-`date +"%Y-%m-%d-%H-%M"`.dump danbooru2