klenwell information services : CategoryLampback

Most recent edit on 2007-06-24 20:54:57 by KlenwellAdmin

Additions:
google code repository
test scripts


Deletions:
google code repository



Edited on 2007-06-24 20:50:41 by KlenwellAdmin

Additions:

Directory



Deletions:

Downloads





Edited on 2007-06-24 20:45:04 by KlenwellAdmin

Additions:

Usage

    // create object
    $LampBack = new LampBack($debug=1);
   
    // settings
    $LampBack->mysqldump_path = '/usr/local/bin/mysqldump';  // default setting
    $LampBack->db_user = 'USER';
    $LampBack->db_pass = 'PASS';
    $LampBack->mail_to = 'user@example.com';
    $LampBack->mail_from = 'lampback-mailer';
    $LampBack->tar_on = 1;
    $LampBack->mail_on = 1;
    $LampBack->save_files = 0;
    // database (add as many as you want)
    $LampBack->DATABASE['DB_NAME'] = '*';
    // back up
    if ( $num_dbs_backed = $LampBack->export() )
        $LampBack->print_d("LampBack complete -- $num_dbs_backed databases backed up", 'green');
    else
        $LampBack->print_d('LampBack export failed');




Edited on 2007-06-24 20:40:02 by KlenwellAdmin

Additions:
LampBack is hosted at the google code site
google code repository

Similar Projects

PHP Script Backups Databases and Files (tvlgiao.com)


Deletions:
LampBack is hosted at the code site
google code repository

References





Oldest known version of this page was edited on 2007-06-24 20:36:43 by KlenwellAdmin []
Page view:

LampBack

LampBack is a PHP class I've developed to create simple automated backup scripts for LAMP-based websites. It makes a system call to mysqldump to back up mysql databases to a file which can then be sent to a designated email address. By configuring a crontab to run LampBack, you can create simple regular backup of your remotely hosted mysql databases.

LampBack is hosted at the code site

Downloads

google code repository

References

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.1278 seconds