...
Note #2- The log entries in the database will be deleted (but you still have them on your original Open-AudIT server, remove the DELETE LOGS command from below if you really need to keep them (most users shouldn't).
Code Block |
---|
mysql -u root -popenauditrootuserpassword openaudit -e "DELETE FROM oa_user_sessions; DELETE FROM logs;" mysqldump -u root -popenauditrootuserpassword --extended-insert=FALSE --routines openaudit > /tmp/openaudit.sql |
...