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

BackUp ZC [Support Thread]

Views: 60,195

Results 141 to 160 of 286
11 Jul 2012, 7:19 AM
#141
mickymix avatar

mickymix

New Zenner

Join Date:
Jun 2012
Posts:
41
Plugin Contributions:
0

BackUp ZC [Support Thread]

skipwater:

You should not be running php in safe mode.
If your host will not change this, then try and find a new host.

Thank you. I got this fixed from my host, but now I'm suffering another problem... the ZIP file I get, beside being much smaller than expected, is corrupted... and I have no other hints from the logs... nor even from the script (the final message seems fine...).

What should I check ?

ABANDONED PROJECT

11 Jul 2012, 1:02 PM
#142
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

mickymix:

Thank you. I got this fixed from my host, but now I'm suffering another problem... the ZIP file I get, beside being much smaller than expected, is corrupted... and I have no other hints from the logs... nor even from the script (the final message seems fine...).

What should I check ?

Try this using 7zip (7zip is free google it) to open the zip file. From what I can remember winzip and windows zip do not like zero size files or folders.

Skip

• 446F63746F722057686F •

11 Jul 2012, 3:14 PM
#143
mickymix avatar

mickymix

New Zenner

Join Date:
Jun 2012
Posts:
41
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

skipwater:

Try this using 7zip (7zip is free google it) to open the zip file. From what I can remember winzip and windows zip do not like zero size files or folders.

Skip

Thank you Skip... you're right, but the problem was not there... I think I found something else which caused problems (as I was finally able to see the contents of my first successful backup).

Since my webshop do use IMAGE HANDLER, I've found that the inclusion of the folder /bmz_cache would stop the script for unknown reasons...
/bmz_cache folder do contains the various images in various sizes for items on sale and its structure is somewhat particular: inside the folder there are 16 subfolders using a single character as a name ("0"~"f") and each of this folders do contain from 30 up to 100 files whose name is something like "f4c1e439d9719089428f509924152620.image.150x200.jpg"...

i.e.

/bmz_cache/0/f4c1e439d9719089428f509924152620.image.150x200.jpg
/bmz_cache/0/001e389e021733240fa9f2cabc32ef77.image.150x84.jpg
/bmz_cache/0/001e389e021733240fa9f2cabc32ef77.image.170x95.jpg
/bmz_cache/0/02be4a955844bccda43a0d6d6244ea9c.image.150x180.jpg
/bmz_cache/0/02fe4e81b9611961f668ebe971201cc7.image.150x180.jpg
...
/bmz_cache/3/3dc3d711e88dd8a1331f5425a8cc67c7.image.29x40.jpg
/bmz_cache/3/3dd8d6581b7299b9675719d65deac819.image.500x281.gif
...

I guess that this causes some troubles on command line which generates the archive file...

I confirm I was able to see my first successful backup only after placing this folder in the EXCLUDE list in backup_zconfig.php

Just to let you know. :huh:

ABANDONED PROJECT

14 Jul 2012, 8:13 PM
#144
homebre avatar

homebre

New Zenner

Join Date:
Jun 2012
Location:
Fitchburg, MA
Posts:
13
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

I'm a newbie, and I have a question on installation. It seems like you're telling me to overwrite the existing ADMIN folder with the plugin's ADMIN folder, since I'm renaming the plugin ADMIN folder to match the existing one and placing it in the same super-folder.

I've tried putting the plugin package (from the ADMIN folder down) into the site root (i.e. under public_html/).

I also tried to put the ENTIRE package (including backup_zc_v1.1, the ADMIN folder's superfolder) into both public_html and public_html/catalog to avoid putting the new ADMIN into the same folder with the old admin.

From your directions as I understand them, there's nothing more I need to do, but the " 'Backup ZenCart' option under Admin->Tools" doesn't appear, even if I log out and log back in.

My hosting service is Arvixe, and it's a Linux server.

14 Jul 2012, 10:19 PM
#145
homebre avatar

homebre

New Zenner

Join Date:
Jun 2012
Location:
Fitchburg, MA
Posts:
13
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Disregard the question. I didn't realize that the FTP program would prompt me about replacing existing files. I was pretty sure it would, but I didn't want to take a chance.

The install went fine, and I've performed my first backup.

Thanks for this program.

23 Jul 2012, 11:41 AM
#146
kobiadato avatar

kobiadato

New Zenner

Join Date:
Aug 2005
Posts:
25
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

I have installed it in 1.5 and its working great. One question....Is there a way i can back it up to a folder other then the cache? I am trying to backup outside of the public_html or at least in a folder name backup..
Thank You for this great add

23 Jul 2012, 1:38 PM
#147
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

kobiadato:

I have installed it in 1.5 and its working great. One question....Is there a way i can back it up to a folder other then the cache? I am trying to backup outside of the public_html or at least in a folder name backup..
Thank You for this great add

Open and edit backup_zconfig.php

Find this at line 64

$file_location = DIR_FS_SQL_CACHE."/"; // Set cache directory as default where the arcive will be

Change it to the folder you want. The location must be writable for php.
COMPLETE path to your folder. eg: /var/www/vhost/accountname/public_html
Example: $file_location = "/var/www/vhost/accountname/backup/";

Skip

• 446F63746F722057686F •

7 Sep 2012, 1:17 PM
#148
faristababa avatar

faristababa

New Zenner

Join Date:
Dec 2006
Posts:
45
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

I Install 1.5.0. Zen cart and I install backup_zc_v1 -> Install everything is fine.
From download: BackUp /home/tshirtcom/t-shirt-tshirt.com/Complete Site (Defualt)

I get only one zip file, if I open this zip file with - 7 ZIP – I get 189 Errors.

Cache an admin backups is on 777 I rely don’t know what to too now.

Screenshot: Attachment 11093

thanks for help

Listen to the music of the Earth, Dance to the rhythm of Life. -- www.naspex.info -- www.bamboomoon.at --

7 Sep 2012, 1:57 PM
#149
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

What do you have set ?
Create a SQL BackUp File From xxxx Database: Yes/No
Download Archive: Yes/No

Try setting to:
Create a SQL BackUp File From xxxx Database: Yes
Download Archive: No
This will place a zip file on the server (default your-zencart/cache/ )
Then use a ftp utility to download zip file.

Skip

• 446F63746F722057686F •

7 Sep 2012, 2:52 PM
#150
faristababa avatar

faristababa

New Zenner

Join Date:
Dec 2006
Posts:
45
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Thanks for fast replay

I make it as you write again but the same result, it is a fresh install no new plug INS only backup_zc.
Maybe it is my filll zilla program. I have 2 other zip programs but the same result.

big Screenshot: http://t-shirt-tshirt.com/BackUp.zc.png and http://t-shirt-tshirt.com/BackUp.zc.2.png

thanks

Listen to the music of the Earth, Dance to the rhythm of Life. -- www.naspex.info -- www.bamboomoon.at --

7 Sep 2012, 4:46 PM
#151
faristababa avatar

faristababa

New Zenner

Join Date:
Dec 2006
Posts:
45
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Try setting to:
Create a SQL BackUp File From xxxx Database: Yes
Download Archive: No
This will place a zip file on the server (default your-zencart/cache/ )
Then use a ftp utility to download zip file.

Skip[/QUOTE]

I download the file more time but every time the zip file have a deference size.

File Zilla Screenshot: http://t-shirt-tshirt.com/BackUp.zc.3.png

how can this happens?

thanks

Listen to the music of the Earth, Dance to the rhythm of Life. -- www.naspex.info -- www.bamboomoon.at --

7 Sep 2012, 6:35 PM
#152
faristababa avatar

faristababa

New Zenner

Join Date:
Dec 2006
Posts:
45
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Download size is OK it was the Sql files from admin backups folder ;)

But the 7zip Errors are the same.

Listen to the music of the Earth, Dance to the rhythm of Life. -- www.naspex.info -- www.bamboomoon.at --

7 Sep 2012, 7:11 PM
#153
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

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.

Skip

• 446F63746F722057686F •

8 Sep 2012, 3:41 AM
#154
faristababa avatar

faristababa

New Zenner

Join Date:
Dec 2006
Posts:
45
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Yes GZip Compression is set to off '0'

If I download all Directories I can backup ;)

With BackUp /home/tshirtcom/t-shirt-tshirt.com/Complete Site (Defualt)
I have errors.

If I zip the file I get the popup from 7zip “Confirm file replace” it looks like I have ghost file on my server.
The existing files have 0bytes and if I click yes replace it get the errors.

7ZIP popup Screenshot: http://t-shirt-tshirt.com/BackUp.zc.4.png

thanks

Listen to the music of the Earth, Dance to the rhythm of Life. -- www.naspex.info -- www.bamboomoon.at --

25 Sep 2012, 7:43 AM
#155
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

[Attachment no longer available]
Hi,
as you can see from the image i uploaded, I have not correctly installed this mod, could you please point out what I did wrong & how i can fix it, thanks ;-)

regards,

ed

25 Sep 2012, 12:44 PM
#156
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

Hi,
as you can see from the image i uploaded, I have not correctly installed this mod, could you please point out what I did wrong & how i can fix it, thanks ;-)

regards,

ed

text at top of page:
Warning WARNING: You have entered /<--deliberately removed-->/extras in backup_zconfig.php as a EXCLUDED directory BUT it DOES NOT EXIST on your system.
Warning WARNING: You have entered /<--deliberately removed-->/pub in backup_zconfig.php as a EXCLUDED directory BUT it DOES NOT EXIST on your system.

25 Sep 2012, 1:33 PM
#157
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

You have listed folders in your config file backup_zconfig.php that are not on your server.

You need to edit your_admin_folder/backup_zconfig.php file.
Fine this section of code and edit it to your system.

// ***********************************************************************
  // Set default exclude directories
  // ***********************************************************************
  $exclude_files = array("".DIR_FS_CATALOG."cache",
  						 "".DIR_FS_CATALOG."extras",
  						 "".DIR_FS_CATALOG."pub"
  						 );

To this

// ***********************************************************************
  // Set default exclude directories
  // ***********************************************************************
  $exclude_files = array("".DIR_FS_CATALOG."cache"
  						 );

Skip

• 446F63746F722057686F •

25 Sep 2012, 3:58 PM
#158
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: BackUp ZC [Support Thread]

skipwater:

You have listed folders in your config file backup_zconfig.php that are not on your server,....etc

Hi Skip,
thanks for that fix, works a treat, what a star you are Sir! :D :clap:
http://www.zen-cart.com/images/smilies/clap.gif

many thanks!

best regards,

ed

6 Nov 2012, 1:06 PM
#159
su35 avatar

su35

Zen Follower

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

Re: BackUp ZC [Support Thread]

backup_zc_v1.1
zencart v150

  1. There are single quotation marks in the sql file that formed by this add-on as below. How to remove the quotation marks? I means removing the quotation marks surrounding the customers_id and keeping those that surrounding the 0.
CREATE TABLE `address_book` (
  `address_book_id` int(11) NOT NULL AUTO_INCREMENT,
  `customers_id` int(11) NOT NULL DEFAULT '0',
......
  1. When selecting the files to backup, how to make a multi-choices for each time?
6 Nov 2012, 2:36 PM
#160
skipwater avatar

skipwater

Totally Zenned

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

Re: BackUp ZC [Support Thread]

su35

single quotation marks in the sql file
You would need to edit the class file youradmin/includes/classes/mysql_db_backup.class.php

selecting the files to backup

Backup ZC is not setup to backup files it is based on folders. At this time there are no options to select multi-choices at once.

Skip

• 446F63746F722057686F •