Page 1 of 5 123 ... LastLast
Results 1 to 10 of 286

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by joyjoy View Post
    Thank you for this great mod! But I have a problem...

    It was working flawlessly, but when I tried to backup today I get an 500 error screen, it says there's an internal error with programming or site maitnenance. I know the rest of the cart is working so i don't think it's maitnenance.

    Funny thing is, when I look in my directory there is a zip file there, but when I try to open it, it says its corrupted.

    I have not adjusted any of the coding for Backup ZC since it has been installed.

    Any ideas? Thank you!
    Each web account gets xxxx MB of drive space. It sounds like you have maxed out your drive space.

    Are you storing the files on the web server or downloading them?
    Also how many total MB is BackUp ZC saying there is?

    If you are backing up Zen Cart database each day and creating a zip file. Then all the sql files and all the zip files are adding up to your drive capacity. If you are downloading then the zip file will not be on the server but all the sql files will be, and they are adding up.

    There is much debate on how often a backup is needed and how to store the backup information on a media that is archival.

    My suggestion is that you back up once a week at a minimum, and any time you change something. Leave one backup on the server and download and archive the rest. Then and only then delete the rest off the server.

    Note: BackUp ZC is a server intensive application it uses all the power that the server allows. So please run when your site traffic is low. This will help your hosting company and make for a happy server.

    Skip
    • 446F63746F722057686F •

  2. #2
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Ahhhh thank you so much! Problem solved! I'm just starting out with zen cart and do backups each time I add a mod. I don't delete my backups. I purged it...and it worked!

    Thank you!

  3. #3
    Join Date
    Jul 2007
    Location
    Roseville, Michigan
    Posts
    188
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    I'm trying to exclude my images folder from being backup. I'm not sure if I'm doing right. I'm editing the archive.php in the classes folder. Here is what I have there.

    PHP Code:
             function exclude_files($list)
        {
            
    $temp $this->list_files($list);
            foreach (
    $temp as $current)
                
    $this->exclude[] = $current;
                  
    $example->exclude_files("../images/*.*");
        } 
    Is this correct?

    Also it would be nice if there was a restore option, at least for the db.

  4. #4
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by smoke133 View Post
    I'm trying to exclude my images folder from being backup. I'm not sure if I'm doing right. I'm editing the archive.php in the classes folder. Here is what I have there.

    PHP Code:
             function exclude_files($list)
        {
            
    $temp $this->list_files($list);
            foreach (
    $temp as $current)
                
    $this->exclude[] = $current;
                  
    $example->exclude_files("../images/*.*");
        } 
    Is this correct?

    Also it would be nice if there was a restore option, at least for the db.
    No need to edit the class file.

    To exclude more then one directory or file I had to change the exclude_files variable to an array. Note the changes below.

    File YOUR_ADMIN/backup_zc.php

    Find at line 62
    PHP Code:
    $exclude_files '../cache/*.*'// Exclude cache directory as default 
    Here is where you would add your list of directories/files that you want to exclude.

    Replace with
    PHP Code:
    // Note each directroy or file name must be surrounded with double quotes and a single comma with no space separating each.
    $exclude_files = array("../cache/*.*","../images/*.*"); 
    This change is for the display of excluded.
    Fine at line 388
    PHP Code:
    echo DIR_FILES_EXCLUDED.'<b>'$exclude_files '</b><br />'
    Replace with
    PHP Code:
    echo DIR_FILES_EXCLUDED.'<b>'implode(",",$exclude_files) . '</b><br />'
    This change is to match backup_zc which will download the archive.
    File YOUR_ADMIN/backup_zc_download.php
    Find at line 61
    PHP Code:
    $exclude_files '../cache/*.*'// Exclude cache directory as default 
    Replace with
    PHP Code:
      // Note each directroy or file name must be surrounded with double quotes and a single comma with no space separating each.
      
    $exclude_files = array("../cache/*.*","../images/*.*"); 
    Also it would be nice if there was a restore option, at least for the db.
    BackUp ZC uses Zen Carts information to understand the server and web site layout. So without a good working Zen Cart the restore can not be done. This is why there is no restore option at this time.

    Skip
    • 446F63746F722057686F •

  5. #5
    Join Date
    Jul 2007
    Location
    Roseville, Michigan
    Posts
    188
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    I add the php code like you suggested. The images in the folder are now being exclude from being backup.

    The problem that the folders are still showing up on the list folders. Is there a way so that they don't show up on the list?

  6. #6
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by smoke133 View Post
    I add the php code like you suggested. The images in the folder are now being exclude from being backup.

    The problem that the folders are still showing up on the list folders. Is there a way so that they don't show up on the list?
    I only had about 15 min to supply you a fix. I have that on my list to do. Hope to get to it tonight or tomorrow.

    As always the list is longer then the hours in a day.

    Skip
    • 446F63746F722057686F •

  7. #7
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Version 1.0.5 has been submitted to the free software add ons and should be ready for download in a couple of days. But until then here is a link to BackUp ZC Version 1.0.5

    Read the readme file for install and upgrade info.

    Skip
    • 446F63746F722057686F •

  8. #8
    Join Date
    Jan 2010
    Posts
    5
    Plugin Contributions
    0

    bug Re: BackUp ZC [Support Thread]

    hi,
    this module was used on ZenCart 1.3.9h, module version 1.0.7 and was working fine on previous server with mysql 1.0.92. not sure what the php server was, but the new one is 5.2.17
    the servers have moved since then and upgraded to mysql 1.1.56
    i have set chmod 777 on the zc_admin\backups and cache directories as suggested, though this has no effect as to creating the backup files. backup zc says they are created if i choose not to download, but when i go into ftp the files are not there. if i choose to download however, i get the following message:

    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.


    but this is because the files are not being created where Backup ZC says they should be. the directories mentioned have been given 777 CHMOD access via FileZilla 3.5.0, but to no effect.

    what could be wrong??? 0o
    Last edited by Greywacke; 1 Jul 2011 at 01:17 PM. Reason: clarifying
    Sincerely,
    Pierre du Toit

  9. #9
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    It sounds like it is all about user rights.
    Using your ftp software who owns the cache directory and admin/backup directory.

    Backup ZC default uses the cache and admin/backup to write to so the script needs write access to those directories.

    Skip
    • 446F63746F722057686F •

  10. #10
    Join Date
    Nov 2009
    Location
    Aurora, IN
    Posts
    37
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    I installed this according to the instructions and all the files seem to be in the right place. But when I click on Tools->Backup Zencart, I get the notes on the left, and at the bottom it states, "Please be patient scanning your Zen Cart directory structure." But nothing ever appears on the right side of the screen. Any ideas?

    I am running 1.3.9h and downloaded ver. 1.07.

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 766
    Last Post: 18 Oct 2025, 11:23 AM
  3. SysCheck [support thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 24 Oct 2020, 05:28 AM
  4. v151 Ship2Pay Support thread
    By Design75 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 5 Nov 2019, 01:14 PM
  5. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg