Re: BackUp ZC [Support Thread]
barco57,
Thanks for your reply. I want to be sure I understand your reply.
I do sell downloads. Could you explain why 'PUB' is in both pieces of code and Extras should not be backed up?
I want to better understand.
There is two sections of code that look like PUB duplicated.
Here is the code in the
// ***********************************************************************
// Note each directroy or file name must be surrounded with double quotes
// and a single comma with no space separating each.
// DIR_FS_CATALOG = Zen Carts root files system path you must use this and
// just add the directory you want excluded.
// Rember that directories names are case sensitive!
// ***********************************************************************
/* Sample Exclude
$exclude_files = array("".DIR_FS_CATALOG."cache",
"".DIR_FS_CATALOG."pub",
"".DIR_FS_CATALOG."admin",
"".DIR_FS_CATALOG."download"
);
*/
// ***********************************************************************
// Set default exclude directories
// ***********************************************************************
$exclude_files = array("".DIR_FS_CATALOG."cache",
"".DIR_FS_CATALOG."extras",
"".DIR_FS_CATALOG."pub"
);
// ***********************************************************************
Re: BackUp ZC [Support Thread]
The first section is a commented out example of setting up exclusions.
extras is just a folder of troubleshooting tools that should be removed on a production site, nothing ever changes in there.
If you sell downloads you could backup pub, but things in there change all the time, symlinks get added and removed, and you would never want too restore the pub folder in its entirety because you would add symlinks back in for stuff that was already downloaded by the client. Unless your storing other stuff in the pub folder (tsk, tsk).
Re: BackUp ZC [Support Thread]
This may sound like a very basic question but here it is.
How do i restore the database from the SQL file created by Backup_ZC?
Re: BackUp ZC [Support Thread]
Hi Zen Cart Experts
I am running BackUp Zc version 1.1 on Zen Cart 1.54. Here is my problem: I have a live store in my root directory and a test store in another sub directory on the same server using different databases. Using the BackUp ZC in the test store there are absolutely no problems, mod works like a charm and very fast. On the live store in the root directory, first in runs very sloooooooowly. At this time I can do an sql backup and I can do a admins directory backup even if it does do it slowly. I can not however do an includes directory backup or a complete backup. It just times out and gives a 500 error.
The includes backup is for 8.07MB and the complete backup is for about the same. As a matter of fact the file sizes for the downloads on the test store and the live store are about the same. As I said the test store backup goes lickety split for a complete backup and the live site one just crawls, eventually does either or sql backup or a admin directory backup but not a includes directory or full backup, just times out. Followed all the suggestions in this thread about eliminating directories, increasing the timeout time etc, etc, etc. Any Ideas or suggestions?
Need further information just ask.
Re: BackUp ZC [Support Thread]
Quote:
Originally Posted by
fjbern1943
Hi Zen Cart Experts
I am running BackUp Zc version 1.1 on Zen Cart 1.54. Here is my problem: I have a live store in my root directory and a test store in another sub directory on the same server using different databases. Using the BackUp ZC in the test store there are absolutely no problems, mod works like a charm and very fast. On the live store in the root directory, first in runs very sloooooooowly. At this time I can do an sql backup and I can do a admins directory backup even if it does do it slowly. I can not however do an includes directory backup or a complete backup. It just times out and gives a 500 error.
The includes backup is for 8.07MB and the complete backup is for about the same. As a matter of fact the file sizes for the downloads on the test store and the live store are about the same. As I said the test store backup goes lickety split for a complete backup and the live site one just crawls, eventually does either or sql backup or a admin directory backup but not a includes directory or full backup, just times out. Followed all the suggestions in this thread about eliminating directories, increasing the timeout time etc, etc, etc. Any Ideas or suggestions?
Need further information just ask.
One of my clients has the exact same problem. Works great on the test store but on main site getting Internal Server Error.
Re: BackUp ZC [Support Thread]
I follow the steps upload all the files to the position you mention. but cannot see in the Admin->Tools. is anyother thing I missed
my zencart is ver 1.5
Re: BackUp ZC [Support Thread]
Quote:
Originally Posted by
soso838
my zencart is ver 1.5
Which 1.5.x do you have?
Re: BackUp ZC [Support Thread]
I follow the steps upload all the files to the position you mention. but cannot see in the Admin->Tools. is anyother thing I missed
my zencart is ver 1.54
Re: BackUp ZC [Support Thread]
Hi DrByte
It looks like that this plugin isn't compatible with PHP7. PHP7 has quitted mysql_connect. Could you update it? Thanks.
Re: BackUp ZC [Support Thread]
Quote:
Originally Posted by
su35
Hi DrByte
It looks like that this plugin isn't compatible with PHP7. PHP7 has quitted mysql_connect. Could you update it? Thanks.
Hmmm. I never use this plugin. I do use the "Backup MySQL" plugin though, and it's PHP7 compatible ... but only does MySQL backups, not PHP files.