-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e217618
commit 2d42a94
Showing
4 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
python -O -m compileall ../hchq | ||
find -name "*.py" -exec rm -f {} \; | ||
rm -rf INSTALL mysql_backup mysql_backup.bat deploy.txt README update*.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/bin/bash | ||
filename=`date +%Y%m%d` | ||
|
||
mysqldump -uroot -p2011 hchq | gzip > hchq-$filename.sql.gz | ||
mysqldump -uroot -phchq2010-2014*.* hchq | gzip > hchq-$filename.sql.gz | ||
|
||
cd ../static/images/ | ||
tar czf ../../mysql_backup/photos.tar.gz photos | ||
tar czf ../../mysql_backup/photos.tar.gz photos | ||
tar czf ../../mysql_backup/thumbnails.tar.gz thumbnails | ||
|