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
  #11  
Old 05-20-2016, 12:25 AM
 
Triple A Racing Triple A Racing is offline
 

X-Adept
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 785
 

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

Quote:
Originally Posted by xplorer
We have released a new module for X-Cart 5 - Backup Master
This maybe a good idea for some users but for others.....aren't comprehensive and selectable backups both simple, available and free anyway? (albeit only manually done at present) That is assuming you have the correct server access? (and in this example using Apache)

Two simple steps:

Backup (manage as well of course...) all the relevant SQL data via https://www.phpmyadmin.net

Back up all / some / selected items / directories / files etc remotely (via SSH) and relevant simple specific remote commands e.g.

tar -zcvf backupdate-live.tar.gz --exclude= /****/****/public_html/spare

(Or write simple a backup script(s) and run the script(s) command remotely)

You can then copy the backup or backups to an alternate remote / non-server storage area too e.g.

rsync -va --progress login_details:/source/ /destination

Backups we don't find a problem and we can't see us ever needing a module to do them (sledgehammer to crack a nut?) but it's obviously different for everybody dependent on their own setups

However....backing up both CORE and Modules that still don't work properly aka as they should
Yes, we do find annoying because we're actually just making interim back ups of faults until these are (eventually) rectified.
__________________
Live Store & Dev Store / XC Business 5.4.0.6 / PHP 7.3.12
Ubuntu 18.04.3 LTS (HWE 5.0.0-37.40 Kernel) / Plesk Obsidian
Nginx 1.16.1 / Apache 2.4.29 (Ubuntu Backported) / MariaDB 10.3.20
Reply With Quote
  #12  
Old 05-20-2016, 05:31 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

Quote:
Let's say the cart is installed in root. There is a directory in root which is not stock XC5. Will the backup include this directory?

It will not include this directory. The module creates a backup of the X-Cart 5 based shop only.

Quote:
Or more simple question - does the module backs up everything found under the cart installation directory and everything found within the cart database?

The dump will include only the tables having the same prefix that is used for XC5 tables. Other tables are not included into the dump.

If someone stores files in extra directories / extra database tables (that XC5 knows nothing about), I believe he/she knows what he/she is doing and can either create the backup from the console, or can alter the module's class method that returns the list of directories and files to include into the archive.

But this should not be the problem for a lot of "stock" X-Cart 5 shops and XC5 shops with custom modules developed as per the documentation.

Quote:
Backups we don't find a problem and we can't see us ever needing a module to do them (sledgehammer to crack a nut?) but it's obviously different for everybody dependent on their own setups

Well, if you want to create backups from the Linux console manually, you don't need this module. Unless you don't have the SSH access.

Last edited by qualiteam : 05-23-2016 at 10:01 PM.
Reply With Quote
  #13  
Old 05-20-2016, 08:57 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,615
 

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

I think there is a need for module like this. Definitely some users want to double on the backups and not rely on the host only and these users are not knowledgeable enough to mess with the console.

Ok Slava this could be included in your Pro version:
- on the backup page have a list of all directories/files the backup will not include by default and allow user to select any of them to include
- same with database tables

This will satisfy Kevin's requirement too
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 3 users thank cflsystems for this useful post:
qualiteam (05-23-2016), rocky (05-24-2016), xplorer (05-24-2016)
  #14  
Old 05-20-2016, 10:18 AM
  cherie's Avatar 
cherie cherie is offline
 

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

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

All tables in the X-Cart database should be included in the X-Cart database backup.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
rocky (05-24-2016)
  #15  
Old 05-20-2016, 12:02 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,615
 

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

Quote:
Originally Posted by cherie
All tables in the X-Cart database should be included in the X-Cart database backup.
Yes I still think the module should backup all files/directories and entire database regardless
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #16  
Old 05-20-2016, 06:44 PM
 
kevinrm kevinrm is online now
 

X-Adept
  
Join Date: Aug 2003
Posts: 967
 

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

It's not really a matter "if" I can do a manual backup, I can. It's a matter if I have time to do it, among the multitude of other things I have to do everyday. Looking for something that can be set up, it backs up x-cart, uploads it to Drop Box (or other offsite location), on a scheduled basis, I have backup files in case the whole server dies, and I don't have to think about it anymore. That's what I'm looking for, anyway.
__________________
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

The following user thanks kevinrm for this useful post:
rocky (05-24-2016)
  #17  
Old 05-23-2016, 06:27 AM
 
xgarb xgarb is offline
 

eXpert
  
Join Date: Jul 2004
Location: UK
Posts: 262
 

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

A better approach might be a system where a remote storage system is somehow permitted to access all files and the database over some secure connection and pulls the data into the backup.

This way if someone gets onto your server they can't attack the backups as well as the server with X-cart installed doesn't have access to the backups.
__________________
Core version: 5.3.xx
PHP: 5.6
MySQL: 5.5.50-cll
Web server: Apache
Reply With Quote

The following user thanks xgarb for this useful post:
rocky (05-24-2016)
  #18  
Old 05-23-2016, 09:58 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

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

I've removed a number of messages that are off-topic to this forum thread.
You are welcome to give your feedback on the module there, but please keep discussions on how backups work in X-Cart 4, or how you can create backups through the Linux console, in separate forum threads.
Thanks!
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #19  
Old 05-24-2016, 12:57 AM
 
Triple A Racing Triple A Racing is offline
 

X-Adept
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 785
 

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

Quote:
Originally Posted by qualiteam
I've removed a number of messages that are off-topic to this forum thread
No problem with that action (some were ours, some were not) as we don't own or manage the forum.

Database backups / restores (SQL only) were a free core function in the old XC4 that we used and have been accurately replicated in XC5 under the Tools section. Some other free core functions from XC4 however have only re-appeared in XC5 as 'paid' add-on modules, which does not feel like progress to end users who have made the product change (like us)... Added to this, is that there are still no visible signs of, or discussions about (yet...) access to changelogs for modules and you can see why people may want to discuss alternatives to the theory that 'modules are the only way...'

https://dl.dropboxusercontent.com/u/50440624/Z-Forum/IMG_8171.jpg

Please consider that viewing from a perspective (different than your own) is also important for other forum members. After all, this isn't a new, online evo-version of the old Pravda!
__________________
Live Store & Dev Store / XC Business 5.4.0.6 / PHP 7.3.12
Ubuntu 18.04.3 LTS (HWE 5.0.0-37.40 Kernel) / Plesk Obsidian
Nginx 1.16.1 / Apache 2.4.29 (Ubuntu Backported) / MariaDB 10.3.20
Reply With Quote
  #20  
Old 05-24-2016, 01:45 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

Guys,

Thank you very much for the feedback on this module.

It's true that this module is not aimed to the experienced and tech-savvy X-Cart users. They can do backups on their own and it's not hard if you know how to do it (we can say the same about almost everything). Moreover, backups can be done through the hosting control panel (cPanel, Plesk and so on). It's not that convenient though since you back the entire account up, not only X-Cart store. It might take some time to create such a backup and restore it then. Furthermore, sometimes you don't need to restore all the account and just need X-Cart files to get your store back online as soon as possible.

The module is aimed to that part of X-Cart community who doesn't know how to create backups at all, they don't have time to learn and just don't want to learn and it's their right.

What can be simpler than creating a backup with only 1 button from admin area? I guess nothing.

Yes, you might be not that tech savvy to restore the backup, but you can contact us and we can help you. At least you'll have a backup copy your X-Cart store can be recovered from.

Believe it or not, but numerous of time our customers came to us saying that their store is messed (server went down, developer messed files, upgrade went wrong and so on) and they don't have a backup. None. At all. Their hosting didn't do backups and they didn't know how to do it on their own.
Nightmare scenario. You have to start everything from a scratch.

With this module X-Cart client can do a one-button-click backup before updating an inventory or upgrading the store and be safe.

The module is just released and hasn't been announced yet (apart from this forum thread), but it's already been sold several times. Our customers likes an idea of creating a backup with one button directly from admin area.


We do really appreciate all your suggestions and will definitely take them into consideration while working on Pro version.

Thank you.
__________________
Alexander Diatchkov
Head of Technical Support Department

Official X-Cart Support at:
http://www.x-cart.com/technical-support.html

Last edited by rocky : 05-24-2016 at 03:41 AM.
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 08:55 AM.

   

 
X-Cart forums © 2001-2018