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

BackUp ZC [Support Thread]

Views: 60,195

Results 161 to 180 of 286
7 Nov 2012, 12:57 AM
#161
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

BackUp ZC [Support Thread]

Thanks a lot.

26 Nov 2012, 4:37 PM
#162
tom_r avatar

tom_r

New Zenner

Join Date:
Sep 2012
Posts:
16
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

I know this probably sounds like a stupid question. I have BackUp ZC installed on v1.5.1. and I have several full backups stored on the server of both the database and store files. I'm having trouble with installing the image handler 4 where I'm getting an error message in the zen cpanel telling me there are files missing or unreadable. I would like to do a complete restore but I' not sure of where to put the .sql files to restore the database. I tried using the Hosts restore system but it only stores daily, weekly, and monthly backups and I want to choose a different date. What's the best way to do a complete restore using the files saved on the server.

Tom R

27 Nov 2012, 12:02 AM
#163
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

Tom R:

I know this probably sounds like a stupid question. I have BackUp ZC installed on v1.5.1. and I have several full backups stored on the server of both the database and store files. I'm having trouble with installing the image handler 4 where I'm getting an error message in the zen cpanel telling me there are files missing or unreadable. I would like to do a complete restore but I' not sure of where to put the .sql files to restore the database. I tried using the Hosts restore system but it only stores daily, weekly, and monthly backups and I want to choose a different date. What's the best way to do a complete restore using the files saved on the server.

Tom R

A sql file is the data that was exported from a sql database. So you need to use a SQL utility or MySQL to import the data into a database.
phpMyAdmin is one of these MySQL utilities.

Skip

• 446F63746F722057686F •

27 Nov 2012, 12:41 AM
#164
tom_r avatar

tom_r

New Zenner

Join Date:
Sep 2012
Posts:
16
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Thanks Skip

It's just what I needed. I'm pretty new at this, but I'm learning.

Tom R

28 Nov 2012, 2:16 AM
#165
tom_r avatar

tom_r

New Zenner

Join Date:
Sep 2012
Posts:
16
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

I can't log in to my admin page after I replaced the includes and myadmin files that I saved using Backup ZC. I also replaced the database of the same date. I get a 404 page not found error from my website otherwise my website is working fine.

I tried disabling the cache and cookies but that didn't do anything. I checked the configuration files and they seem to be alright. Do I need to replace all the files from the original backup? I believe the two files I mentioned were the only ones altered. Any help is appreciated.

28 Nov 2012, 3:29 AM
#166
tom_r avatar

tom_r

New Zenner

Join Date:
Sep 2012
Posts:
16
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Well, I went ahead and did a full replace of the the files from backup zc but now when I try to log in to admin I get the System Setup Required page. My website is still working though. What should I be looking for? I did have the includes configure.php fail in the upload.
but when I did a compare they were identical and seemed to be correct. I 'm at a loss here. Any ideas.

28 Nov 2012, 8:49 PM
#167
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

I try to log in to admin I get the System Setup Required page

Not seeing the site tree it sounds like you are missing folders/files in the admin section ZC. Double check that the admin section has all the folders and files.

Skip

• 446F63746F722057686F •

29 Nov 2012, 9:03 PM
#168
tom_r avatar

tom_r

New Zenner

Join Date:
Sep 2012
Posts:
16
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Skip

Figured it out - finally! :yes: The saved files I was using had corrupted files in it, probably from an interrupted download, I'm guessing. Luckily I had saved several earlier versions.

Thanks for your help

Tom R

19 Dec 2012, 7:42 AM
#169
li_he_qi avatar

li_he_qi

New Zenner

Join Date:
Dec 2010
Posts:
12
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Skip, dream addon, I really want to have it fire up on my site.

The installing is fine, but when I try to backup my site I always got internal server error (seem like 500 error, the error don't say 500, also there is no error message both in server error logs and zencarr Cache fold.), it seems that godaddy just limit the memory/cpu use or something else, not know since I have little knowledge about codes.

My site information from zencart server infor page: zencart 1.3.9H, godaddy Linux shared hosting, PHP 5.2.17, PHP memory limit 64M, PHP File Uploads: On Max Size: 32M, Database: MySQL 5.0.92-log.

I have 2 sites both on godaddy shared hosting, one is free coming with a domain name on godaddy, on this site BankUp ZC works fine, whole site size is 111MB

On another site the whole site size is about 78MB, smaller than the free site, but I always failed, if I choose to only backup the SQL file or the files under the root directory, it did work.

I know this problem should be on Godaddy side, what should I mention when I contact Godaddy support ? or is there a workaround on the addon side, Skip ?

Thank you, for your great work

19 Dec 2012, 11:46 PM
#170
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

li-he-qi:

Skip, dream addon, I really want to have it fire up on my site.

The installing is fine, but when I try to backup my site I always got internal server error (seem like 500 error, the error don't say 500, also there is no error message both in server error logs and zencarr Cache fold.), it seems that godaddy just limit the memory/cpu use or something else, not know since I have little knowledge about codes.

My site information from zencart server infor page: zencart 1.3.9H, godaddy Linux shared hosting, PHP 5.2.17, PHP memory limit 64M, PHP File Uploads: On Max Size: 32M, Database: MySQL 5.0.92-log.

I have 2 sites both on godaddy shared hosting, one is free coming with a domain name on godaddy, on this site BankUp ZC works fine, whole site size is 111MB

On another site the whole site size is about 78MB, smaller than the free site, but I always failed, if I choose to only backup the SQL file or the files under the root directory, it did work.

I know this problem should be on Godaddy side, what should I mention when I contact Godaddy support ? or is there a workaround on the addon side, Skip ?

Thank you, for your great work

In your ZC admin go to tools->Server/Version Info on both sites and see what is the difference from the one working and the one that is not.
It looks like the memory might be the issue. I like 128mb for php memory

Skip

• 446F63746F722057686F •

20 Dec 2012, 9:32 AM
#171
li_he_qi avatar

li_he_qi

New Zenner

Join Date:
Dec 2010
Posts:
12
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Thank you very much for your reply, , Skip

Actually both sites have the same PHP memory limits: 64MB

I have saved the sever/version info from 2 sites into 2 files, and then compared by winmerger, below is the difference:

production site / free site:

Server OS: Linux 2.6.32-279.14.1.el6.x86_64
Server OS: Linux 2.6.18-238.19.1.el5PAE

Database Data Size: 11,798 kB
Database Data Size: 1,423 kB

Database Index Size: 2,399 kB
Database Index Size: 1,171 kB

Configure Command './configure' '--with-libdir=lib' '--enable-cgi'
Configure Command './configure' '--enable-fastcgi'

auto_prepend_file no value no value
auto_prepend_file /..../protect.php /..../protect.php

register_argc_argv On On
register_argc_argv Off Off


apc
APC Support enabled
Version 3.1.9
APC Debugging Disabled
MMAP Support Enabled
MMAP File Mask no value
Locking type pthread mutex Locks
Serialization Support php
Revision $Revision: 308812 $

Directive Local Value Master Value
apc.cache_by_default On On
apc.canonicalize On On
apc.coredump_unmap Off Off
apc.enable_cli Off Off
apc.enabled On On
apc.file_md5 Off Off
apc.file_update_protection 2 2
apc.filters no value no value
apc.gc_ttl 3600 3600
apc.include_once_override Off Off
apc.lazy_classes Off Off
apc.lazy_functions Off Off
apc.max_file_size 1M 1M
apc.mmap_file_mask no value no value
apc.num_files_hint 1000 1000
apc.preload_path no value no value
apc.report_autofilter Off Off
apc.rfc1867 Off Off
apc.rfc1867_freq 0 0
apc.rfc1867_name APC_UPLOAD_PROGRESS APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_ upload_
apc.rfc1867_ttl 3600 3600
apc.serializer default default
apc.shm_segments 1 1
apc.shm_size 32M 32M
apc.slam_defense On On
apc.stat On On
apc.stat_ctime Off Off
apc.ttl 0 0
apc.use_request_time On On
apc.user_ttl 0 0
apc.write_lock On On

cURL Information libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
cURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

libxml Version 2.7.6
libxml Version 2.6.26

FreeType Version 2.3.11
FreeType Version 2.2.1

iconv library version 2.12
iconv library version 2.5

libXML Version 2.7.6
libXML Version 2.6.26

MHASH API Version 20060101
MHASH API Version 20020524

Client API version 5.5.19
Client API version 5.0.77

MYSQL_LIBS -L/usr/lib -lmysqlclient
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient

Client API library version 5.5.19
Client API header version 5.5.19

Client API library version 5.0.77
Client API header version 5.0.77

OpenSSL Version OpenSSL 1.0.0-fips 29 Mar 2010
OpenSSL Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

PDO Driver for MySQL, client library version 5.5.19
PDO Driver for MySQL, client library version 5.0.77

libxml2 Version 2.7.6
libxml2 Version 2.6.26

libxslt Version 1.1.26
libxslt compiled against libxml Version 2.7.6
libxslt Version 1.1.17
libxslt compiled against libxml Version 2.6.26

libexslt Version 1.1.26
libexslt Version 1.1.17

20 Dec 2012, 9:45 AM
#172
li_he_qi avatar

li_he_qi

New Zenner

Join Date:
Dec 2010
Posts:
12
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

one more questions: can I change the PHP memory limit from 64MB to 128MB by editing the PHP.ini ?

20 Dec 2012, 10:24 PM
#173
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: BackUp ZC [Support Thread]

li-he-qi:

one more questions: can I change the PHP memory limit from 64MB to 128MB by editing the PHP.ini ?
Yes. Your hosting company can help you with specific instructions for the way they've configured your specific server.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Dec 2012, 4:13 AM
#174
li_he_qi avatar

li_he_qi

New Zenner

Join Date:
Dec 2010
Posts:
12
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

DrByte:

Yes. Your hosting company can help you with specific instructions for the way they've configured your specific server.

:P wow, DrByte talked to me! so happy and great honor, ok I will ask godaddy to do their job, and then come back here.

21 Dec 2012, 4:28 PM
#175
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

Sorry about not getting back here sooner. The one thing that you also might check is the permissions for your-admin/backup folder and your cache folder. Are the two sites the same?

Skip

• 446F63746F722057686F •

21 Dec 2012, 5:14 PM
#176
li_he_qi avatar

li_he_qi

New Zenner

Join Date:
Dec 2010
Posts:
12
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

skipwater:

Sorry about not getting back here sooner. The one thing that you also might check is the permissions for your-admin/backup folder and your cache folder. Are the two sites the same?

Skip

It's OK, Skip, you are such kind nice guy.

no, they are not, In my free site these 2 folders are both 755 permission, in my production site both 705, I don't change the permission, since both folder are writable (Cache folder can be wrote into debug files, Backups folder can be wrote into SQL files)

I did change the permission to 777 in my production site, same result, no help.

BTW, I have already changed the PHP memory from 64MB to 128MB by uploading a customized php5.ini into my site root, now the server/version info page says the PHP memory is 128MB (I did this by following this article: jamesnorthway dot com/edit_php_ini_godaddy_4gh.html)

3
Still Firefox gave the exact same error:

"500 Internal Server Error:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache Server at mydomainname dot com Port 80"

  1. I found 6 identical debug files in the Cache folder, they relate to this problem:
PHP Warning:  stat() [<a href='function.stat'>function.stat</a>]: stat failed for ../interactive_2012_ in /*****/html/myadmin/includes/classes/archive.php on line 245

"interactive_2012_" this is the wordpress folder (I integrated wordpress into my zencart site), actually the full name is "interactive_2012_11_2_wordpress_stop", I don't know why the folder name was trimmed short.

Skip, would you please figure out what's going on?

21 Dec 2012, 7:55 PM
#177
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

Try this test.
edit your_admin/backup_zconfig.php
find starting on line 51

$exclude_files = array("".DIR_FS_CATALOG."cache",
  						 "".DIR_FS_CATALOG."extras",
  						 "".DIR_FS_CATALOG."pub"
  						 );

Add your worpress root folder to exclude files;

  $exclude_files = array("".DIR_FS_CATALOG."cache",
  						 "".DIR_FS_CATALOG."extras",
  						 "".DIR_FS_CATALOG."pub",
						 "".DIR_FS_CATALOG."interactive_2012_11_2_wordpress_stop"
  						 );

Note: If a folder is in this list it has to be really there.

Skip

• 446F63746F722057686F •

22 Dec 2012, 3:28 AM
#178
li_he_qi avatar

li_he_qi

New Zenner

Join Date:
Dec 2010
Posts:
12
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Thank you Skip:smile:
Actually I already did this, now the complete site size is only 67MB, still got 500 error, and there is no backup zip file generated in the Cache folder.

Any other thoughts?

6 Feb 2013, 3:06 PM
#179
dranet avatar

dranet

New Zenner

Join Date:
Mar 2008
Posts:
23
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Hi, I've tried searching in this thread but can't seem to find an answer. My friend has a site with a LOT of downloadable files (now over 80 gig). Whenever she tries to backup using cpanel, it tries to add those files in with the backup and of course, it fails.

With this add on's selective directory option, can she exclude all the downloadable files and products from the backup and only do the database and zen cart/add on files?

Thank you,
Tracy

6 Feb 2013, 6:02 PM
#180
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

dranet:

Hi, I've tried searching in this thread but can't seem to find an answer. My friend has a site with a LOT of downloadable files (now over 80 gig). Whenever she tries to backup using cpanel, it tries to add those files in with the backup and of course, it fails.

With this add on's selective directory option, can she exclude all the downloadable files and products from the backup and only do the database and zen cart/add on files?

Thank you,
Tracy

edit your_admin/backup_zconfig.php

If the files are out side of zen cart installation you need to use the real path to the folder.
ie: /path/to/your/webspace/public_html/zen/folder_you_want_to_exclude -- leave no trailing slash
You can find /path/to/your/webspace/public_html information in zen carts includes/configure.php file and then just add the folder you want to exclude.

Example:

$exclude_files = array("".DIR_FS_CATALOG."cache",
  			       "".DIR_FS_CATALOG."extras",
  			       "".DIR_FS_CATALOG."pub",
                               "/home/webspace/public_html/donotbackup"
  				);

Skip

• 446F63746F722057686F •