Skip to content

Commit

Permalink
resolved merge issues with the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Rowe committed Apr 29, 2018
2 parents e76d73a + 35eaf16 commit e7bc1de
Show file tree
Hide file tree
Showing 6 changed files with 1,912 additions and 241 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ mysqldb_retro_stats_db:
./bin/retrosched-dbloader --dbtype mysql --dbname $(RETRODB) --dbuser root --dbpass itsmerob -inputdir ~/src/retrosheet/schedule
./bin/retrosched-dbloader --dbtype mysql --dbname $(STATSDB) --dbuser root --dbpass itsmerob -inputdir ~/src/retrosheet/schedule

mysqldb_backup:
mysqldump -u root -p $(BDDB) >./backups/mysql_databank_backup_$(VERSION).sql
mysqldump -u root -p $(STATSDB) >./backups/mysql_combined_backup_$(VERSION).sql
mysqldump -u root -p $(RETRODB) >./backups/mysql_retrosheet_backup_$(VERSION).sql
mysqldump --no-data -u root -p $(RETRODB) >./schemas/mysql_retrosheet_schema_$(VERSION).sql
mysqldump --no-data -u root -p $(STATSDB) >./schemas/mysql_combined_schema_$(VERSION).sql
mysqldump --no-data -u root -p $(BDDB) >./schemas/mysql_databank_schema_$(VERSION).sql

mysqldb_tar:
tar zcvf ./backups/mysql_databank_backup_$(VERSION).tgz ./backups/mysql_databank_backup_$(VERSION).sql
rm backups/mysql_databank_backup_$(VERSION).sql
Expand Down
Loading

0 comments on commit e7bc1de

Please sign in to comment.