Page 1 of 1

Re: Mysqldump restore Attachments opencats-0.9.6

Posted: 11 Mar 2025, 08:14
by unclestrategy
mysqldump -u my_user -pmypassword my_database joborders > joborders_dump.sql

Re: Mysqldump restore Attachments opencats-0.9.6

Posted: 27 Mar 2025, 00:08
by Peter
Which type of dump are you talking about?

Re: Mysqldump restore Attachments opencats-0.9.6

Posted: 23 May 2025, 08:46
by acpsupport
Here are the commands for your reference.

If you intend to backup the existing MySQL Database
mysqldump -u [user name] -p[password] [database name] > [dump file.sql]

If you have already backed up database and intend to restore into already existing database
mysql -u [user name] -p[password] [database name] < [dump file.sql]

ensure,
When you do the backup, use mysqldump and > symbol
When you do the restore, use mysql and < symbol

Thank you