From: Joe Z. <jz...@us...> - 2004-05-23 21:25:47
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21371 Modified Files: Makefile.am Makefile.in TODO admin.php systemcheck.php Log Message: Remove old incremental files and directories during daily backup. Index: Makefile.am =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.am,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- Makefile.am 19 Apr 2004 01:52:05 -0000 1.18 +++ Makefile.am 23 May 2004 21:25:37 -0000 1.19 @@ -114,6 +114,7 @@ echo "*******************************"; \ fi + -$(myrealSYSCONFDIR)/init.d/cmdloopd stop -$(myrealSYSCONFDIR)/init.d/cmdloopd start # Remove some other crap for 'make distclean' Index: Makefile.in =================================================================== RCS file: /cvsroot/bobs/bobs/Makefile.in,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- Makefile.in 19 Apr 2004 01:52:05 -0000 1.16 +++ Makefile.in 23 May 2004 21:25:37 -0000 1.17 @@ -539,6 +539,7 @@ echo "*******************************"; \ fi + -$(myrealSYSCONFDIR)/init.d/cmdloopd stop -$(myrealSYSCONFDIR)/init.d/cmdloopd start # Remove some other crap for 'make distclean' Index: TODO =================================================================== RCS file: /cvsroot/bobs/bobs/TODO,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- TODO 19 Apr 2004 16:51:20 -0000 1.23 +++ TODO 23 May 2004 21:25:37 -0000 1.24 @@ -36,7 +36,10 @@ Browser interface to allow maintaining authorized users and groups. ---- Suggestions from Murray Curtis 3-31-2003 --- +Suppress dba_open warning messages when testing for db3/db4. + Priority: Medium/easy + Easily done by using @dba_open instead of dba_open. + Suggested by Cornelius Hald 5-04-2004. Edit or escape share names. Priority: Medium @@ -49,21 +52,45 @@ It's important to know if the systems are getting backed up properly each day. Done (but it's not optional): Have backups write to optional log file. - Would be nice to be able to view backup status in GUI too. How is /bobsdata going to get cleaned up? Priority: Medium - Will it just keep growing? + Use the database to determine file age. Write man/info pages Priority: Low Minimal man page exists. ---- End of Murray's Suggestions --- +Get rid of error in "Browse Incremental" when no incremental files exist. + Priority: Medium + Warning: First argument to array_keys() should be an array in + /var/www/html/bobs/inc/class_db.php on line 440 + Warning: Invalid argument supplied for foreach() in + /var/www/html/bobs/inc/class_db.php on line 441 + No files were found in + +Allow rsync restore + Priority: Medium + You can manually restore using a file browser like Konqueror. + +rsync should use compression + Priority: High + Suggested by Rodrigo VB. + I think this was overlooked. rsync backups should go much + faster with compression. + +bobs-Bugs-958727: Restore doesn't show "root folder" files + Priority: High + The backup process saves all of the files and + subdirectories on drive c from the remote computer + in /var/bobsdata/current/master/c. When clicking on + the "root folder", it shows no files. All of the + subdirectories are shown. The files in the subdirectors + are also shown. + ----- WISHLIST ------ (Add anything you would like to see in the future, in detail if possible) - More flexible file locations. File locations should be defined in the individual servers config file(s) Offline file should also be allowed. (like tape backups) @@ -74,3 +101,8 @@ Multilingual support. Perhaps implement with .ini files and language class. + +Rebuild database. + php script to rebuild bob database files. This would only be used + if for testing or if the database became corrupt. + It should rebuild the database for each configured server directory. Index: admin.php =================================================================== RCS file: /cvsroot/bobs/bobs/admin.php,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- admin.php 7 Apr 2004 23:32:09 -0000 1.26 +++ admin.php 23 May 2004 21:25:37 -0000 1.27 @@ -321,7 +321,11 @@ $details = get_server_html("$server_key", $settings, $mode); break; } - + + // Get incremental file retension days + $retention_days = $servercfg->get_incrementals(); + if ($retention_days == 0) $retention_days = "infinite"; + // Display the server details $t = new rFastTemplate('inc/templates'); // Instantiate new template @@ -337,6 +341,7 @@ $t->assign('SERVERKEY', "$server_key"); $t->assign('SERVER', "$servercfg->config['server']"); $t->assign('SHARE', "$servercfg->config['share']"); + $t->assign('RETENTION_DAYS', "$retention_days"); $t->parse('SERVER_DETAILS', 'server_details'); // Prepare the final output $t->FastPrint(); // and send it to stdout. Index: systemcheck.php =================================================================== RCS file: /cvsroot/bobs/bobs/systemcheck.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- systemcheck.php 28 Mar 2004 22:33:21 -0000 1.8 +++ systemcheck.php 23 May 2004 21:25:37 -0000 1.9 @@ -241,9 +241,9 @@ $t->assign ('ITEM', "Checking for dba (db3 or db4) database support"); $tempfile = '/tmp/bobstest' . posix_getpid(); -$handle = @dba_open("$tempfile", "c", "db3"); // open a temporary database +$handle = @dba_open("$tempfile", "n", "db3"); // open a temporary database if (!$handle) { - $handle = @dba_open("$tempfile", "c", "db4"); // open a temporary database + $handle = @dba_open("$tempfile", "n", "db4"); // open a temporary database if (!$handle) { $t->assign ('STATUS', 'FAIL'); $t->assign ('HELP', "dba database support is not working.<br> |