...
Code Block | ||
---|---|---|
| ||
cd c:\xampplitexampp\mysql\bin mysqldump -u openaudit -popenauditpassword --extended-insert=FALSE --routines openaudit > openaudit_backup.sql |
...
Code Block | ||
---|---|---|
| ||
copy openaudit_backup.sql c:\xampplitexampp\mysql\bin\ cd c:\xampplitexampp\mysql\bin mysql -u openaudit -popenauditpassword openaudit < openaudit_backup.sql |
...
NOTE - If you have upgraded versions in between backup and restore, ONLY restore the config directory (open-audit/code_igniter/application/config) and the attachments directory (open-audit/code_igniter/application/attachments). If you overwrite the other (program) files, you will effectively reverse the upgrade you have performed.