Skip to main content

Need a smart DB backup script in bash

Comments

9 comments

  • linux4me2
    I'm not sure it will handle a database as large as yours, but I think sourceforge.net/projects/automysqlbackup/ might meet your other requirements. You can set the way it rotates backups in order to determine how many it keeps.
    0
  • SpiritualWorlds
    No my friend,didn't work for me just like other's. Backup at some point is corrupted, i had tried with different settings and max upload buffer etc etc, no success. But if i use simple mysqldump with regular arg's then it work's. So better i use this (simple mysqldump command) in my .sh backup script Is there a way the backup (zip) is sent to dropbox ? [no S3, amazon etc] i had seen few open source, but i need your people advice which works for you always!
    0
  • Infopro
    Why not use the script you just posted about (now deleted) in another thread?
    0
  • SpiritualWorlds
    Why not use the script you just posted about (now deleted) in another thread?

    It was not working properly for DB having size more than 10 GB's o_O
    0
  • syslint
    mysqldump backup is not a perfect solution for large db's with continuous updates. You need to consider Percona XtraBackup percona.com/software/mysql-database/percona-xtrabackup
    0
  • cPanelMichael
    Hello :) You may also find the following URL helpful if you are seeking the services of a developer: System Administration Services Thank you.
    0
  • SpiritualWorlds
    Hello :) You may also find the following URL helpful if you are seeking the services of a developer: System Administration Services Thank you.

    Thanks. But i need a open source solution for exact same task.
    0
  • SpiritualWorlds
    mysqldump backup is not a perfect solution for large db's with continuous updates. You need to consider Percona XtraBackup percona.com/software/mysql-database/percona-xtrabackup

    Thanks. Why would mysqldump wont suffice ? Is there any official documentation which mentions limit for 'mysqldump' !
    0
  • cPanelMichael
    Hello :) MySQL documents this at: MySQL :: MySQL 5.6 Reference Manual :: 4.5.4 mysqldump " A Database Backup Program Thank you.
    0

Please sign in to leave a comment.