Child pages
  • Backup and Restore

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
cd c:\xampplitexampp\mysql\bin
mysqldump -u openaudit -popenauditpassword --extended-insert=FALSE --routines openaudit > openaudit_backup.sql

...

Code Block
languagebash
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.