From: Joe Z. <joe...@za...> - 2005-04-21 16:52:14
|
James W. Beauchamp wrote: > Joe: > I've installed the cvs version of bobs and have manually run the > backup.php script. I now see many screenfulls of this: > > > <b>Warning</b>: unlink() failed (Is a directory) in > <b>/var/www/html/bobs/inc/class_cleanup.php</b> on line <b>95</b><br /> > Unable to remove /backup/bobsdata/incremental/main/homedirs// > <br /> > <b>Fatal error</b>: Maximum execution time of 30 seconds exceeded in > <b>/var/www/html/bobs/inc/class_cleanup.php</b> on line <b>89</b><br /> > > It's failing to remove something. Is this just a one time thing or an > indication of something else? > > Thanks > James I haven't seen that error before. Sounds like it's trying to remove a directory, but why it times out I don't know. If this were my system I'd consider deleting the server definition from the bobs admin screen, removing /backup/bobsdata/incremental/main/ and /backup/bobsdata/current/main/, then starting fresh. Maybe the database files (.db) are out of sync with what's actually archived? I don't know. If your backup is really huge, you can leave the files under the directory tree /backup/bobsdata/current/main/homedirs/ but remove the files in /backup/bobsdata/current/main/*. That way your first rsync won't have to do much work. I have no idea if that will help though. The real problem may have something to do with the timeout error. Joe |