|
From: Thiruvarasu a/l M. <s98...@mm...> - 2002-10-09 13:37:29
|
Rene, I've managed to get rid of the php errors which i had earlier. The only error i get now is on the left pane of the frame. This happens when i try to browse through both the current and incremental. Warning: Missing argument 3 for db_fetch_entries() in /var/www/html/bobs/inc/class_db.php on line 412 No files were found in Thanks On Wed, 2002-10-09 at 03:45, Rene Rask wrote: > On Tue, 2002-10-08 at 18:15, Thiruvarasu a/l Muthusamy wrote: > > Rene, > > > > I think there's something very basic that i think i'm doin wrong here. Let > > me just run through how i installed, n tell me if there's anything wrong. I > > just did the ./configure using root with all the default settings n did the > > "make install". Since i'll be doin back up for samba files only i didn't > > install nfs or rsync. Then i logged on to the admin.php and added a new > > share with the "create backup of this server checked". After creating all > > that i tried loggin in as the specified user and tried to browse through but > > i'm getting the DBA errors. > > I think you need to run the backup before these directories are created. > > run the command "php /var/www/html/bobs/cron/backup.php" as root user. > and move backup.php into /etc/cron.daily/ to have it run every night > > The install script is not installing a file which is needed. > > Edit the file <bobs-sources>/cron/check_loop and change the line: > CMDLOOP_DIR=/mnt/tera1/backup/process > to > CMDLOOP_DIR=/usr/local/share/bobsdata/current/process > (That path should contain a file called "cmdloop") > Copy the "check_loop" file into into > "/usr/local/share/bobsdata/current/process/" > > To start the script, insert this line into the file "/etc/crontab" > > Now You'll need to make some changes to your /etc/crontab file. > > 0-59/5 * * * * root /usr/local/share/bobsdata/current/process/check_loop > & > (Please beware of line breaks in the email. The "&" character is the > last part of the line) > > now reload the cron configuration. > On Redhat run > "/etc/init.d/crond reload" > > This will update the configuration of cron and start the cmdloop script > within 5 minutes. > If you ran backup.php it will start a backup as soon as cmdloop starts. > > I hope this helps. > > -Rene > I'll look into making most of this happen on installation. |