Last active
November 15, 2016 16:29
-
-
Save ykws/99e458afeca2e5c1f141c99adffb3f62 to your computer and use it in GitHub Desktop.
Tips: Automatically backup Bitnami Redmine for Windows ref: http://qiita.com/ykws/items/f206078f8710ceb9fe82
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
@echo off | |
<Bitnami Redmine Install Drive. If C was C:> | |
cd <Bitnami Redmine Install Path by htdocs> | |
<Bitnami mysql Install Path>mysqldump -u root -p<password> bitnami_redmine > backup.sql | |
net use <Share Files Server Path[=SFSP]> | |
copy config¥database.yml <SFSP> /Y | |
copy config¥configuration.yml <SFSP> /Y | |
copy backup.sql <SFSP> /Y | |
xcopy files <SFSP>¥files /Y /I /S | |
xcopy plugins <SFSP>¥plugins /Y /I /S | |
xcopy public¥themes <SFSP>¥themes /Y /I /S | |
copy log¥production.log <SFSP> /Y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment