Forums / All Other Contributions/Addons / BackUp ZC [Support Thread]

BackUp ZC [Support Thread]

Views: 60,196

Results 221 to 240 of 286
13 May 2013, 10:43 PM
#221
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

BackUp ZC [Support Thread]

It appears that in my case using "Download Archive" "No" doesn't work (also checked the suggested server settings but they appeared to be ok), probably due to the server mod_fcgid settings. But selecting "Yes" "Download Archive" does the trick!

When using the download option the total time for backing up the database + all files takes about 20 seconds and isn't interrupted by the server.

14 May 2013, 4:08 PM
#222
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: BackUp ZC [Support Thread]

Unfortunately a fresh upload still produces the same results, as Paulm states this only appears to affect some options (mostly the larger file size ones though)

Due to some ZC systems that are very heavy in large images/large data bases I have seen that php can not do a complete backup in one pass. That is why there are the options to do sections of what to backup. (This is a work around for php limitations)

Skip

• 446F63746F722057686F •

14 May 2013, 7:48 PM
#223
scytheuk avatar

scytheuk

New Zenner

Join Date:
Apr 2009
Posts:
42
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

I thought that might have been a problem, so I excluded the images folder from the back up

addon states total back up should be approx 97meg

I have no real frame of reference, I thought that was not too large, or am I being hopeful lol :)

9 Aug 2013, 12:18 AM
#224
markz avatar

markz

New Zenner

Join Date:
Feb 2013
Posts:
15
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Sorry for the newbie question but will this work with version 1.5.1?

9 Aug 2013, 1:02 PM
#225
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: BackUp ZC [Support Thread]

markz:

Sorry for the newbie question but will this work with version 1.5.1?

Yes Backup ZC 1.5.x will work

• 446F63746F722057686F •

10 Aug 2013, 6:59 PM
#226
markz avatar

markz

New Zenner

Join Date:
Feb 2013
Posts:
15
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Okay, I've got it installed and in 'appearance' it looks like it should be working, but isn't. I tried backing up my complete site (default) but when I click the button to backup I'm taken to my login page. This happens regardless whether I'm trying to download or cache my backup. Any suggestions?

10 Aug 2013, 7:08 PM
#227
markz avatar

markz

New Zenner

Join Date:
Feb 2013
Posts:
15
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Whoops, okay I just noticed this message from my webhost: "Reminder: The Terms of Service does not allow inappropriate use of our network for online storage. Please see "UNLIMITED" USAGE POLICIES AND DEFINITIONS for more information. Files uploaded in connection with your hosted site are always welcome. For approved online backup services please visit the Partners section of cPanel."

I guess I'm going to have to uninstall the Plugin!...booooo...

28 Aug 2013, 3:17 PM
#228
wakeleymb avatar

wakeleymb

New Zenner

Join Date:
Sep 2011
Location:
Sydney, Australia
Posts:
48
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Hi Skipwater,

I am currently having problems with this plugin. It used to work fine, but now it doesn't zip properly. It just leaves a blank screen. I've had the support team from the server I use (imhosted.com) work with me on this even though its unsupported on their end. From what we can see, .rar and .gzip are fine, but .zip gets corrupted. Not sure if the hosting provider have changed anything on their side, but if they have, they're are ready to make server wide changes to help resolve the issue for me and other potential zen cart users of this plugin.

I'm running z cart 1.5.0 until I get this plugin to work then ill upgrade.

wakeleymb.com.au

28 Aug 2013, 4:10 PM
#229
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: BackUp ZC [Support Thread]

wakeleymb:

Hi Skipwater,

I am currently having problems with this plugin. It used to work fine, but now it doesn't zip properly. It just leaves a blank screen. I've had the support team from the server I use (imhosted.com) work with me on this even though its unsupported on their end. From what we can see, .rar and .gzip are fine, but .zip gets corrupted. Not sure if the hosting provider have changed anything on their side, but if they have, they're are ready to make server wide changes to help resolve the issue for me and other potential zen cart users of this plugin.

I'm running z cart 1.5.0 until I get this plugin to work then ill upgrade.

Check in zen cart admin if Configuration->GZip Compression is set to off '0'. If it is not off set it to off.

On some servers this interferes with zc backups zip compression.

If that is not it try and find out if the server is compressing the data. Before zc backup zips(compress) it again.

Or is zc backup timing out when the zip option is selection?

Check if there are any error files in your cache folder.

Skip

• 446F63746F722057686F •

3 Sep 2013, 12:53 AM
#230
jonnoc avatar

jonnoc

New Zenner

Join Date:
May 2013
Location:
Australia
Posts:
14
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Hi all

Just wanted to share an issue we had and how it was fixed (some solutions already provided in this thread but I don't believe this exact and very easy fix that ended up working for us as we could not edit the server PHP settings as it's on a shared server).

During backups we would randomly get Error 500 (basically the backup was taking longer than the PHP time out and displaying the Error 500 after around 1 - 1.5min of running)

If any one has this same issue (which I see a number of people have already) the below seemed to fix it for us:

Zencart Admin --> Configuration --> My Store --> Admin Set max_execution_time for processes --> 200

Hope it helps others.... Enjoy!

11 Sep 2013, 11:46 AM
#231
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Hi there

I love this plugin but I do have the same problem as per message #106:
"
Sorry, your security clearance does not allow you to access this resource.
Please contact your site administrator if you believe this to be incorrect.
Sorry for any inconvenience."

In your reply to it you state that it is folder permission error which is actually not entirely correct. I think it is a problem with how the plugin interacts with the User management and profiles .

First of all I do use zen cart 1.51v

Now to the problem and explanation. I can use the plugin with no problem as long as I log into the system as Superuser. When I create a profile called Editor and assign permissions to that Editor to use the plugin, I can create backups and store them on the server no problem. When though I chose to download such backup then and only then I get the security clearance error.

That of course means that the permissions for directories etc are correct but there is something that the plugin does not like with regards to user roles. That's irrespectively of what permissions someone has added to the user profile.

Any ideas will be highly appreciated :-)

Regards

Tassos

11 Sep 2013, 8:17 PM
#232
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: BackUp ZC [Support Thread]

hrinfo:

Hi there
First of all I do use zen cart 1.51v

Now to the problem and explanation. I can use the plugin with no problem as long as I log into the system as Superuser. When I create a profile called Editor and assign permissions to that Editor to use the plugin, I can create backups and store them on the server no problem. When though I chose to download such backup then and only then I get the security clearance error.

That of course means that the permissions for directories etc are correct but there is something that the plugin does not like with regards to user roles. That's irrespectively of what permissions someone has added to the user profile.

Any ideas will be highly appreciated :-)

Regards

Tassos

I wish all explanations or a error where stated so well. Thank You

Here is what should fix your error.

Open and edit YOUR_ADMIN/includes/extra_datafiles/backup_zc.php
You will see:

define('FILENAME_BACKUP_ZC', 'backup_zc');
define('BOX_TOOLS_BACKUP_ZC', 'BackUp ZenCart');

Make it look like this:

define('FILENAME_BACKUP_ZC', 'backup_zc');
define('FILENAME_BACKUP_ZC_DOWNLOAD', 'backup_zc_download');
define('BOX_TOOLS_BACKUP_ZC', 'BackUp ZenCart');

Next use tools install sql patch and paste this in:

INSERT INTO `admin_pages` (`page_key`, `language_key`, `main_page`, `page_params`, `menu_key`, `display_on_menu`, `sort_order`) VALUES('backup_zc_download', 'BOX_TOOLS_BACKUP_ZC', 'FILENAME_BACKUP_ZC_DOWNLOAD', '', 'tools', 'N', 28);

When you go to Admin Profiles Tools you will see two(2) Backup ZenCart listed check both.

Now you should go to Admin Profiles and select your user and check that both Backup ZenCart boxes are checked.

Skip

• 446F63746F722057686F •

31 Oct 2013, 3:34 AM
#233
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

I installed on two sites and it worked perfectly. On a third site, rather than display the message that the plugin is being installed, it goes straight through to the admin login. This site is also 1.51. I have overwritten files and got the same result. Using same zip download for all three sites.

31 Oct 2013, 1:53 PM
#234
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: BackUp ZC [Support Thread]

godt:

I installed on two sites and it worked perfectly. On a third site, rather than display the message that the plugin is being installed, it goes straight through to the admin login. This site is also 1.51. I have overwritten files and got the same result. Using same zip download for all three sites.

Check that backup_zc.php file is located in YOUR_ADMIN\includes\functions\extra_functions\ before you login to your zc admin. This is the file that will install backup_zc into zc.

Skip

• 446F63746F722057686F •

1 Nov 2013, 5:54 AM
#235
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Ah. Yes. Thank you. So much for my disciplined file uploading.

10 Nov 2013, 3:30 PM
#236
tonyz avatar

tonyz

New Zenner

Join Date:
Aug 2004
Location:
Providence, RI USA
Posts:
30
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Hello,

Does Backup ZC require the server's exec() function to be enabled? I have been using the Dr. Byte "Backup MYSQL" plugin for years, but now it has stopped working because my server admin has disabled the exec() function.

Thank you,
Tony

9 Dec 2013, 12:36 PM
#237
wakeleymb avatar

wakeleymb

New Zenner

Join Date:
Sep 2011
Location:
Sydney, Australia
Posts:
48
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Has anybody had any issues with this plugin? It used to work fine for me and now I have issues trying to back up the complete website and download. All I get is a blank screen and I cant seem to find the back file via ftp in any of the folders?

wakeleymb.com.au

9 Dec 2013, 10:23 PM
#238
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: BackUp ZC [Support Thread]

wakeleymb:

Has anybody had any issues with this plugin? It used to work fine for me and now I have issues trying to back up the complete website and download. All I get is a blank screen and I cant seem to find the back file via ftp in any of the folders?

Your site has grown beyond the size php is set for.
You can increase php setting in your php.ini or if your server is setup to use htaccess file you can add these lines to the file.

Try these settings.
php_value max_execution_time 600
php_value memory_limit 1024M

Skip

• 446F63746F722057686F •

10 Jan 2014, 1:10 PM
#239
pewe avatar

pewe

Zen Follower

Join Date:
Aug 2006
Posts:
134
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

skipwater:

Open backup_zconfig.php on line 61 find

$file_name = $SERVER['HTTP_HOST'].''.date("mdY-Hi"); // Create File Name

> Change to
> ```
$file_name = $_SERVER['HTTP_HOST'].'_'.date("Ymd-Hi"); // Create File Name

Skip

This was the answer to a question about changing the date of the backup file created.

As well as line 61, the same code appears on lines 77 and again on line 81.
I am not sure what these relate too, but do these need to be changed too?

Also, what is the purpose of these lines (211/212) in backup_zc.php

//Default file name format.
			$backup_obj->fname_format = 'm_d_Y';

Thanks

10 Jan 2014, 1:28 PM
#240
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: BackUp ZC [Support Thread]

pewe:

This was the answer to a question about changing the date of the backup file created.

As well as line 61, the same code appears on lines 77 and again on line 81.
I am not sure what these relate too, but do these need to be changed too?

Also, what is the purpose of these lines (211/212) in backup_zc.php

//Default file name format.
$backup_obj->fname_format = 'm_d_Y';

> 
> Thanks

No you do not need to change the file name formats. It is just a option.

You will find a text file root/YOURADMIN/includes/classes/mysql_db_backup.class_readme.txt that will help explain. 

Skip

• 446F63746F722057686F •