Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Backup Master module
 
Reply
   X-Cart forums > X-Cart 5 > Modules and themes (X-Cart 5)
 
Thread Tools Search this Thread
  #21  
Old 05-24-2016, 07:41 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,174
 

Default Re: New module for X-Cart 5 - Backup Master

Quote:
Originally Posted by rocky
At least you'll have a backup copy your X-Cart store can be recovered from.

What is the point in restoring from a backup that doesn't have all the database fields and files required to properly restore?
__________________
|
Our clients strive to be the best in their industry.
We position you for success with our strategically integrated approach to software, search engine optimization and social media.

E-COMMERCE FUTURE
https://www.stackdigital.com

LINKEDIN
https://www.linkedin.com/in/smackdigital
Reply With Quote
  #22  
Old 05-24-2016, 08:01 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: New module for X-Cart 5 - Backup Master

Thank you, guys, for the feedback and suggestions!

The ability to include custom database tables and files is a good improvement and we have it in our plans for the "Pro" version.


Quote:
Originally Posted by Jon
What is the point in restoring from a backup that doesn't have all the database fields and files required to properly restore?

Well, although most shops don't have any 3rd-party (non-X-Cart) database tables, I saw a number of websites having X-Cart installed along with third-party software in the same database. Let's say you install a custom module and it crashes the shop. There is no need to revert other software to the state that it was a month ago. Moreover, reverting all database tables and files to their past state may result into the loss a month of forum discussions, for example.

Last edited by xplorer : 05-24-2016 at 08:01 PM.
Reply With Quote
  #23  
Old 05-24-2016, 08:07 AM
  rocky's Avatar 
rocky rocky is offline
 

X-Cart team
  
Join Date: Jul 2005
Posts: 715
 

Default Re: New module for X-Cart 5 - Backup Master

Quote:
Originally Posted by Jon
What is the point in restoring from a backup that doesn't have all the database fields and files required to properly restore?


Sorry for answering with a question on a question, but what's the point of having custom (irrelevant to X-Cart) fields in one database?

As xplorer said if a custom feature is developed as a module for X-Cart (that can't be the other way in X-Cart 5) it will be dumped as well.

So, you'll restore your cart to the 100% working state.
__________________
Alexander Diatchkov
Head of Technical Support Department

Official X-Cart Support at:
http://www.x-cart.com/technical-support.html
Reply With Quote
  #24  
Old 05-24-2016, 08:10 AM
  cherie's Avatar 
cherie cherie is online now
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,532
 

Default Re: New module for X-Cart 5 - Backup Master

I'm more concerned with custom tables that support X-Cart. Unrelated tables are collateral damage.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #25  
Old 05-24-2016, 08:20 AM
  rocky's Avatar 
rocky rocky is offline
 

X-Cart team
  
Join Date: Jul 2005
Posts: 715
 

Default Re: New module for X-Cart 5 - Backup Master

Quote:
Originally Posted by cherie
I'm more concerned with custom tables that support X-Cart. Unrelated tables are collateral damage.


Custom tables which are part of custom tasks developed as X-Cart modules will be backed up as well.
If it's a custom module and it's installed using default modules installation procedures then X-Cart "knows" about these tables and will include them into backup created by Backup Master.
__________________
Alexander Diatchkov
Head of Technical Support Department

Official X-Cart Support at:
http://www.x-cart.com/technical-support.html
Reply With Quote
  #26  
Old 05-24-2016, 10:25 PM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: New module for X-Cart 5 - Backup Master

Quote:
Originally Posted by Triple A Racing
Will this then also be the first module that actually has a detailed changelog issued each time it is upgraded?

I will provide (in this forum thread) information on changes when releasing new versions of the module, like I do for other my modules (for example, for Shop by Brands module: v5.2.5, v5.2.6, v5.2.7, v5.2.8).

Also, I include information on changes in the Main.php script that you can find in the module's directory (classes/XLite/Module/QSL/{module_code}/Main.php).

Last edited by xplorer : 05-25-2016 at 08:15 PM.
Reply With Quote
  #27  
Old 05-24-2016, 10:39 PM
 
kevinrm kevinrm is offline
 

X-Adept
  
Join Date: Aug 2003
Posts: 967
 

Default Re: New module for X-Cart 5 - Backup Master

Are the backup files compressed? If I remember right, when I backup the MySQL database from cPanel they are compressed and the stock admin MySQL database backup is not. Just makes it easier to download when they are compressed.
__________________
X-Cart 5.3.6.4 Live
PHP7.2.22
FPM/FastCGI - enabled
Zend OpCache OFF - Won't work with phar extension in cPanel on
10.3.16-MariaDB
Apache 2.4.34
CENTOS 6.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT
32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1
Reply With Quote
  #28  
Old 05-24-2016, 10:49 PM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: New module for X-Cart 5 - Backup Master

Yes, the module compresses files and the database dump into a zip archive (or tar/tgz/tbz if ZipArchive extension is not enabled in your PHP server configuration).

Last edited by xplorer : 05-24-2016 at 11:19 PM.
Reply With Quote

The following user thanks xplorer for this useful post:
kevinrm (05-24-2016)
  #29  
Old 05-30-2016, 03:20 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: New module for X-Cart 5 - Backup Master

I've uploaded the 5.2.1 version of Backup Master module to the marketplace server.

This version:
- improves the logic that selects files to be incldued into the archive (now it selects all files inside var/ directory except var/tmp/, var/log/ and var/backup/ subdirectories)
- fixes the issue with the backup process hanging up due to restricted directory access permissions
- improves the error reporting and adds a number of detailed error messages
- fixes the bug in checking the free space on the disk
Reply With Quote
  #30  
Old 05-31-2016, 03:54 PM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: New module for X-Cart 5 - Backup Master

The new 5.2.2 version of Backup Master module implements a few optimizations that decrease the memory usage when creating backups.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modules and themes (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:21 AM.

   

 
X-Cart forums © 2001-2018