Revision [612]

Last edited on 2007-06-24 20:54:57 by KlenwellAdmin
Additions:
[[http://lampback.googlecode.com/svn/trunk/ google code repository]]
[[http://lampback.googlecode.com/svn/trunk/test/ test scripts]]
Deletions:
[[http://code.google.com/p/lampback/ google code repository]]


Revision [611]

Edited on 2007-06-24 20:50:41 by KlenwellAdmin
Additions:
===Directory===
Deletions:
===Downloads===


Revision [610]

Edited on 2007-06-24 20:45:04 by KlenwellAdmin
Additions:
===Usage===
%%(php)
// 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');
%%


Revision [609]

Edited on 2007-06-24 20:40:02 by KlenwellAdmin
Additions:
""LampBack"" is hosted at the [[http://code.google.com/p/lampback/ google code site]]
[[http://code.google.com/p/lampback/ google code repository]]
===Similar Projects===
[[http://blog.tvlgiao.com/2006/05/09/php-cron-job-backups.html PHP Script Backups Databases and Files]] (tvlgiao.com)
Deletions:
""LampBack"" is hosted at the [[google code site]]
google code repository
===References===


Revision [608]

The oldest known version of this page was created on 2007-06-24 20:36:43 by KlenwellAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki