If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Windows Server / Backing up through MySQL Workbenc - Which dump options are required?

Backing up through MySQL Workbenc - Which dump options are required?

Started by robax on 12 Mar 2015, 5:34 AM · Views: 2,766

Results 1 to 4 of 4
12 Mar 2015, 5:34 AM
#1
robax avatar

robax

Zen Follower

Join Date:
Mar 2006
Posts:
187
Plugin Contributions:
0

Backing up through MySQL Workbenc - Which dump options are required?

Hi everyone

I just have a quick question about creating a db backup.

I have MySQL Workbench 6.2 installed and I know how to go about exporting data. I am exporting to a self-contained SQL file solely for the purpose of being able to restore the website if something terrible goes wrong. I regularly save a copy of the SQL file plus a zip of the file system.

What I want to know is whether I need to select any of these options on the export page:

Dump Structure and Data << I always choose this option
Dump Stored Procedures and Functions << Should I also take this?
Dump Events << prob not?
Dump Triggers << maybe?
Include create Schema << don't know?

I've done some research but it's not clear what is best for the purpose.
Thanks for any advice on this.
Rob

12 Mar 2015, 8:04 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Backing up through MySQL Workbenc - Which dump options are required?

robax:

What I want to know is whether I need to select any of these options on the export page:

Dump Structure and Data << I always choose this option

Yes

robax:

Dump Stored Procedures and Functions << Should I also take this?
Dump Events << prob not?
Dump Triggers << maybe?

No, No, No.

robax:

Include create Schema << don't know?

Unsure. 'Yes' if the exported sql contains 'DROP tables/database'. No if the export contains 'TRUNCATE tables'.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Mar 2015, 11:17 AM
#3
robax avatar

robax

Zen Follower

Join Date:
Mar 2006
Posts:
187
Plugin Contributions:
0

Re: Backing up through MySQL Workbenc - Which dump options are required?

Thanks for the info Rod, much appreciated!

Let me know if you need any tips with your Windows setup (was just reading another thread of yours). Mine has been on Windows since 2006 and the latest install to 2012 was dead simple.. did everything one-click via the Windows Platform Installed in IIS Manager.
Rob

12 Mar 2015, 5:36 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Backing up through MySQL Workbenc - Which dump options are required?

robax:

Let me know if you need any tips with your Windows setup (was just reading another thread of yours). Mine has been on Windows since 2006 and the latest install to 2012 was dead simple.. did everything one-click via the Windows Platform Installed in IIS Manager.
Rob

I think you've misunderstood my problem. It is the ozpost module that doesn't install correctly on Windows servers, and the problem(s) are related to some of the 'low level' code that the module is trying to do and it is the file/folder path naming conventions that are causing the problem.

lat9 has been kind enough to supply me with most of the fixes needed, but there are still a few remaining that don't appear to affect functionality (so I've been told), but they do create error logs.
I don't like my code to be creating error logs. :-)

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.