|
From: Joe Z. <jz...@co...> - 2004-01-04 03:52:46
|
I think bobs is ready for release 0.6.1 with the new rsync_ssh method. Still needed, but I don't want to make this release wait: - db3/db4 problem - db driver error when browsing server that hasn't yet been backed up. Any comments? Joe |
|
From: Jochen M. <j.m...@om...> - 2004-01-04 11:31:16
|
Hi Joe, Am Son, den 04.01.2004 schrieb Joe Zacky um 04:52: > I think bobs is ready for release 0.6.1 with the new rsync_ssh method. > > Still needed, but I don't want to make this release wait: > - db3/db4 problem > - db driver error when browsing server that hasn't yet been backed up. > > Any comments? > Well, Rene made a rsync_restore method. The patch was in the mailing list. I think it would be a good thing to include that in the release 0.6.1 too. I didn't have the time to test it, because I am still having problems with my hardware. What do you think about it ? BTW, did you get that patch from me, concerning "stats". Should I commit it or will you do that? Cheers Jochen > Joe > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel -- omatix internet services omatix solutions & trainings omatix onlineverlag Jochen Metzger j.m...@om... Telefon +49(30) 78709298 Fax +49(30) 78709296 |
|
From: Jochen M. <ml...@om...> - 2004-01-04 15:31:37
|
Hi Joe, > > BTW, did you get that patch from me, concerning "stats". Should I commit > it or will you do that? > Well, as it also a small patch. I have committed it. It is in /inc/templates/backup_create_databases.php It is now version 1.3. But, I cannot find it in the CVS-Tree online in the Browserversion of sourceforge-CVS-Browsing system. Is this cached and will be shown next day or something? Or do you first have to "commit" my commited patch? > Cheers > > Jochen > > Cheers Jochen |
|
From: Joe Z. <jz...@co...> - 2004-01-04 18:29:20
|
Jochen Metzger wrote: >Hi Joe, > > > > >>BTW, did you get that patch from me, concerning "stats". Should I commit >>it or will you do that? >> >> >> >Well, as it also a small patch. I have committed it. It is in >/inc/templates/backup_create_databases.php > >It is now version 1.3. >But, I cannot find it in the CVS-Tree online in the Browserversion of >sourceforge-CVS-Browsing system. > >Is this cached and will be shown next day or something? >Or do you first have to "commit" my commited patch? > > >Cheers >Jochen > > I'm surprised it takes so long for the commit to show up in the cvs tree. It does show up in less than 1 day. I think Sourceforge made some changes recently, commits used to show up immediately. I'll take a look for Rene's rsync restore patch in the mailing list. If you can test the changes I made to systemcheck.php by running "Check Configuration" against an rsync_ssh share I'd sure appreciate it. |
|
From: Jochen M. <j.m...@om...> - 2004-01-04 19:30:49
|
Hi Joe,
>
> I'll take a look for Rene's rsync restore patch in the mailing list.
>
fine ;o)
> If you can test the changes I made to systemcheck.php by running "Check
> Configuration" against an rsync_ssh share I'd sure appreciate it.
Well, it seems o.k. to me.
Well still I have 2 questions on it and 2 things that do not run smooth.
1. I try to figure out how the method submit() (in systemcheck.php) works.
Now I understand how it works.
BTW. -> what is the difference
between -> $srvtmpl->parse ....
nad $srvtmpl->assign ???
Can you give me a hint?
2. When I run the systemchecks for a servershare which is based on
rsync or rsync_ssh, the systemcheck searches for a mount in process/mounts
but naturally cannot find any, because they are not necessary and
then displays an error.
I think it would be better to keep this out, when backup_method "rsync" and
"rsync_ssh" is used, cause it is a bit confusing.
I would just use that when backup_method is not "rsync" nor "rsync_ssh"
(it is on line 405-426) systemcheck.php
It could be the same test a just below on line 432:
if (($method != "rsync") && ($method != "rsync_ssh")){
3. I get no process_id returned on the check (and I get a pass)
Checking for running check_loop process
check_loop process id is PASS
Is this a problem?
Cheers
Jochen
|
|
From: Joe Z. <jz...@co...> - 2004-01-04 20:39:44
|
Jochen Metzger wrote: >Hi Joe, > > > > >>I'll take a look for Rene's rsync restore patch in the mailing list. >> >> >> >fine ;o) > > > >>If you can test the changes I made to systemcheck.php by running "Check >>Configuration" against an rsync_ssh share I'd sure appreciate it. >> >> >Well, it seems o.k. to me. > >Well still I have 2 questions on it and 2 things that do not run smooth. > >1. I try to figure out how the method submit() (in systemcheck.php) works. > Now I understand how it works. > FYI, I picked the method name 'submit()' because I'm an AS400 programmer and the AS400 Control Language 'submit' command is used to send a batch job to the AS400 job queue. > BTW. -> what is the difference > between -> $srvtmpl->parse .... > nad $srvtmpl->assign ??? > > Can you give me a hint? > > I quote from the class.rFastTemplate.php tutorial at http://www.astrofoto.org/people/roland/rFT/tutorial.html "The assign assign() sets up an association between a tag and a value. Internally, this sets a variable for later use; it does not actually do the substitution, that happens when you call parse()." >2. When I run the systemchecks for a servershare which is based on > rsync or rsync_ssh, the systemcheck searches for a mount in process/mounts > but naturally cannot find any, because they are not necessary and > then displays an error. > > I think it would be better to keep this out, when backup_method "rsync" and > "rsync_ssh" is used, cause it is a bit confusing. > > I would just use that when backup_method is not "rsync" nor "rsync_ssh" > (it is on line 405-426) systemcheck.php > > It could be the same test a just below on line 432: > if (($method != "rsync") && ($method != "rsync_ssh")){ > > Okay, I'll put that in. But just to be clear, it did try to create the mount directories before it gave that error, right? What was the failure message? >3. I get no process_id returned on the check (and I get a pass) > Checking for running check_loop process > check_loop process id is PASS > Is this a problem? > > > It could be. The command it uses is '/sbin/pidof -x check_loop'. What is the output of that command on your system? This is what I get on mine: [joe@jupiter joe]$ /sbin/pidof -x check_loop 1024 Thanks for the input and stuff, Joe P.S. I just finished a late breakfast. I'm guessing it's getting close to your bed time. |
|
From: Jochen M. | steptown.c. <j.m...@st...> - 2004-01-04 21:08:34
|
Hi, > > > It could be. The command it uses is '/sbin/pidof -x check_loop'. What is > the output of that command on your system? > > This is what I get on mine: > > [joe@jupiter joe]$ /sbin/pidof -x check_loop > 1024 > Well actually I get not output, the problem is, that in my pid list (using ps aux | grep ) I only have an entry like this: root 688 0.0 1.4 1940 924 ? S Jan01 0:06 /bin/bash /backup So it is being cut of by the system: The complete would look like: ... /bin/bash /backup/bobsbackup/bobsdata/current/process/check_loop So there is no chance of getting that. Cheers Jochen > > P.S. I just finished a late breakfast. I'm guessing it's getting close > to your bed time. > Indeed, I am on my way to bed now.... ;o( Probably I watch a bit TV before I lay down, but that's all.. |
|
From: Jochen M. | steptown.c. <j.m...@st...> - 2004-01-04 21:16:47
|
> > >3. I get no process_id returned on the check (and I get a pass) > > Checking for running check_loop process > > check_loop process id is PASS > > Is this a problem? > > > > > > > It could be. The command it uses is '/sbin/pidof -x check_loop'. What is > the output of that command on your system? > > This is what I get on mine: > > [joe@jupiter joe]$ /sbin/pidof -x check_loop > 1024 > But how does he know the process is running, when he gets no pid? (on my system) .. because systemcheck says -> PASS > |
|
From: Jochen M. | steptown.c. <j.m...@st...> - 2004-01-04 21:18:35
|
> > I would just use that when backup_method is not "rsync" nor "rsync_ssh"
> > (it is on line 405-426) systemcheck.php
> >
> > It could be the same test a just below on line 432:
> > if (($method != "rsync") && ($method != "rsync_ssh")){
> >
> >
> Okay, I'll put that in. But just to be clear, it did try to create the
> mount directories before it gave that error, right? What was the failure
> message?
>
It appears files/_home hasn't been backed up.
I will attempt to create the mount directories needed to continue these
tests. PASS
Not really a failure message.
Actually, he cannot find the directories and also creates them
succesfully.
But actually they are not need because method is "rsync" or "rsync_ssh"
in this case.
Cheers and good night
Jochen
|
|
From: Joe Z. <jz...@co...> - 2004-01-04 21:37:50
|
>>> I would just use that when backup_method is not "rsync" nor "rsync_ssh"
>>> (it is on line 405-426) systemcheck.php
>>>
>>> It could be the same test a just below on line 432:
>>> if (($method != "rsync") && ($method != "rsync_ssh")){
>>>
>>>
>>Okay, I'll put that in. But just to be clear, it did try to create the
>>mount directories before it gave that error, right? What was the failure
>>message?
>>
>>
>>
>It appears files/_home hasn't been backed up.
>I will attempt to create the mount directories needed to continue these
>tests. PASS
>
>Not really a failure message.
>Actually, he cannot find the directories and also creates them
>succesfully.
>But actually they are not need because method is "rsync" or "rsync_ssh"
>in this case.
>
>Jochen
>
>
I understand and agree. I saw that when I changed systemcheck.php. I
wasn't sure if the mount directories would be needed somewhere else.
Even if they are (which I doubt) I don't need to create them in
systemcheck.php.
|
|
From: Jochen M. <j.m...@om...> - 2004-01-04 19:35:28
|
Hi Joe, there's actually a bug in user login. 2 people having the same password can log in to each others shares, because a check against the username is missing. I do not think this was meant to be so? I've fixed it and can commit the changes in class_server.php (just one line) Or shall I send you the patch first? Cheers Jochen |
|
From: Joe Z. <jz...@co...> - 2004-01-04 20:42:00
|
Jochen Metzger wrote: >Hi Joe, > > >there's actually a bug in user login. 2 people having the same password >can log in to each others shares, because a check against the username >is missing. > >I do not think this was meant to be so? > >I've fixed it and can commit the changes in class_server.php >(just one line) > >Or shall I send you the patch first? > >Cheers > >Jochen > > Please commit it. I trust your coding. We can always change it later if it's not right. Joe |
|
From: Jochen M. <ml...@om...> - 2004-01-04 21:12:12
|
> >Hi Joe, > > > > > >there's actually a bug in user login. 2 people having the same password > >can log in to each others shares, because a check against the username > >is missing. > > > >I do not think this was meant to be so? > > > >I've fixed it and can commit the changes in class_server.php > >(just one line) > Please commit it. I trust your coding. We can always change it later if > it's not right. > > Joe > Fine, I've done that.... |
|
From: Joe Z. <jz...@co...> - 2004-01-04 21:28:36
|
Jochen Metzger | steptown.com wrote: >Hi, > > > > >>It could be. The command it uses is '/sbin/pidof -x check_loop'. What is >>the output of that command on your system? >> >>This is what I get on mine: >> >>[joe@jupiter joe]$ /sbin/pidof -x check_loop >>1024 >> >> >> >Well actually I get not output, the problem is, that in my pid list >(using ps aux | grep ) > >I only have an entry like this: > >root 688 0.0 1.4 1940 924 ? S Jan01 0:06 /bin/bash >/backup > >So it is being cut of by the system: >The complete would look like: > >... /bin/bash /backup/bobsbackup/bobsdata/current/process/check_loop > >So there is no chance of getting that. > >Cheers > >Jochen > > If the result is PASS, then I guess it's still finding the process...hmmm...maybe. Would you please post the output of these commands? That will help me figure out what's going on. /sbin/pidof -x check_loop; echo $? /sbin/pidof -x cmdloop; echo $? /sbin/pidof -x bad_name; echo $? |
|
From: Jochen M. | steptown.c. <j.m...@st...> - 2004-01-05 08:01:53
|
Hi Joe, > > > >>It could be. The command it uses is '/sbin/pidof -x check_loop'. What is > >>the output of that command on your system? > >> > >>This is what I get on mine: > >> > >>[joe@jupiter joe]$ /sbin/pidof -x check_loop > >>1024 > >> > >> > >> > >Well actually I get not output, the problem is, that in my pid list > >(using ps aux | grep ) > > > >I only have an entry like this: > > > >root 688 0.0 1.4 1940 924 ? S Jan01 0:06 /bin/bash > >/backup > > > >So it is being cut of by the system: > >The complete would look like: > > > >... /bin/bash /backup/bobsbackup/bobsdata/current/process/check_loop > > > >So there is no chance of getting that. > > > >Cheers > > > >Jochen > > > > > If the result is PASS, then I guess it's still finding the > process...hmmm...maybe. > Would you please post the output of these commands? That will help me > figure out what's going on. > > /sbin/pidof -x check_loop; echo $? > /sbin/pidof -x cmdloop; echo $? > /sbin/pidof -x bad_name; echo $? > > Here are the outputs: /sbin/pidof -x check_loop; echo $? 1 [root@backup root]# /sbin/pidof -x cmdloop; echo $? 688 0 [root@backup root]# /sbin/pidof -x bad_name; echo $? 1 Cheers Jochen |