Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    help question Automated Database / MySQL Backup

    What do most folks use for auto db back up of their Zen Carts?

    I would like to automatically do a complete weekly backup and a per transaction backup. The per transaction would just need to backup the tables involved!

    Any thoughts???

    Thanks
    Experience is what you get when you don’t get what you want…

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Automated Database / MySQL Backup

    We use a script that backups the DB daily so that the most lost would be 1 day or part of a day...it emails the backup file to, preferably an email account not on your server
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Automated Database / MySQL Backup

    Thanks kobra,

    Do you use a custom script, Zen addon or other?
    Experience is what you get when you don’t get what you want…

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Automated Database / MySQL Backup

    It is a custom shell script....this avoids any php limits
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Automated Database / MySQL Backup

    Sounds as if it would be better to do backups through shell script rather then php...

    Do you have any suggestions as to a ready made shell script? I have root access since we are on a dedicated server.

    I have read that using mysqldump may cause issues with the mysql cache and table locking...not being that versed with this level of mysql...don't know if this is something I should worry about.

    Are you using MyISAM or InnoDB? Would Zen benifit from InnoDB?
    Experience is what you get when you don’t get what you want…

  6. #6

    Default Re: Automated Database / MySQL Backup

    There's no way to make backups after each transaction. The closest to it would be MySQL ##############tion (lol, Zen Cart thinks that I sell watches?:) it was r e p l i c a tion) - but You need two servers for that.

  7. #7

    Default Re: Automated Database / MySQL Backup

    Quote Originally Posted by kwright View Post
    Are you using MyISAM or InnoDB? Would Zen benifit from InnoDB?
    Use InnoDB - MyISAM tables might get corrupted during server crash. InnoDB might also be faster.

  8. #8
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Automated Database / MySQL Backup

    Thanks all,

    You gave me some food for thought. Database backups would seem to be a straightforward deal, but I am finding there is much more to it. Especially if you ever had to do a real life restore!

    additional input is welcomed...
    Experience is what you get when you don’t get what you want…

 

 

Similar Threads

  1. Backup MySQL Database
    By rued in forum Addon Admin Tools
    Replies: 326
    Last Post: 25 Jan 2026, 12:07 PM
  2. Automated database backup
    By mooneyn in forum General Questions
    Replies: 4
    Last Post: 19 Oct 2008, 07:39 AM
  3. Backup MySQL Database vs using cPanel backup option?
    By IronMan101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jul 2007, 08:46 AM

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