Re: [BackupPC-users] BackupPC data pool

2012-07-13 Thread Jim McNamara
On Fri, Jul 13, 2012 at 12:51 PM, Mike ispbuil...@gmail.com wrote:

 On 12-07-13 01:50 PM, Bryan Keadle (.net) wrote:
  I think I had a buddy try AoE and found it problematic - not yet ready
  for prime time?
 

 I've used it for a variety of things from software RAID to network
 booting - no problems here?

 +1 to AoE. I've connected AoE devices directly to my servers via cat5. AoE
isn't a tcp protocol, and the lack of error checking on transmissions
allows good speed in communications between server and storage unit. It
just presents itself as a blank disk to the OS, and the OS formats it
however you desire. I generally choose XFS for backuppc, and have never had
an issue. If you do this however you want the low tech solutions, just a
single box and cat5. Getting something that basically acts as a samba
server as a front end to your storage will kill the possible speed. Having
a dedicated 4,8,16, or 24 bay storage unit that appears local to the
backuppc server has served me quite well, but as mentioned elsewhere in
this thread, you don't want to share it with other boxes.



 --
 Looking for (employment|contract) work in the
 Internet industry, preferrably working remotely.
 Building / Supporting the net since 2400 baud was
 the hot thing. Ask for a resume! ispbuil...@gmail.com



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Upgrading from etch to lenny

2009-06-10 Thread Jim McNamara
On Tue, Jun 9, 2009 at 6:24 PM, Ward... James Ward jew...@torzo.com wrote:

 I have two etch BackupPC servers and two lenny BackupPC servers.  All were
 built at the OS level currently running.  I like the new BackupPC interface
 a lot and would like to upgrade the etch servers to lenny and therefore
 BackupPC.  How smoothly is this likely to go?  Any HOWTOs or READMEs or
 gotchas I can study beforehand?

 Thanks,

 James


I've had backuppc running on Debian boxes since sarge. Upgrading the OS
never caused a problem for me. My hosts tend to backup single digit machine
on LANs, but I haven't even seen a hiccup from doing the dist-upgrades.







 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Upgrading from etch to lenny

2009-06-10 Thread Jim McNamara
On Wed, Jun 10, 2009 at 11:50 AM, Ward... James Ward jew...@torzo.comwrote:

 Have you specifically done a dist-upgrade from etch to lenny?

 On Jun 10, 2009, at 8:14 AM, Jim McNamara wrote:



 On Tue, Jun 9, 2009 at 6:24 PM, Ward... James Ward jew...@torzo.comwrote:

 I have two etch BackupPC servers and two lenny BackupPC servers.  All were
 built at the OS level currently running.  I like the new BackupPC interface
 a lot and would like to upgrade the etch servers to lenny and therefore
 BackupPC.  How smoothly is this likely to go?  Any HOWTOs or READMEs or
 gotchas I can study beforehand?

 Thanks,

 James


 I've had backuppc running on Debian boxes since sarge. Upgrading the OS
 never caused a problem for me. My hosts tend to backup single digit machine
 on LANs, but I haven't even seen a hiccup from doing the dist-upgrades.







 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/



 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.

 http://p.sf.net/sfu/businessobjects___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/


 Ward... James Ward
 Tekco Management Group, LLC
 jew...@torzo.com
 520-290-0190x268
 ICQ: 201663408



 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/


Yes, I did upgrade from Etch to Lenny on over 20 machines running backuppc,
none of them had any issues.

By the way, top posting (writing above the previous post) is frowned upon by
most mailing lists. Most mail programs handle it well, but people trying to
read the thread via archives or on older software have trouble when someone
writes above the older text.
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-17 Thread Jim McNamara
On Wed, Dec 17, 2008 at 12:49 PM, Les Mikesell l...@futuresource.com wrote:

 Jim McNamara wrote:
 
  Thanks again for everyone's help, I'm a longtime lurker on these boards,
  and I was quite pleased to have support when my usualy install
  conditions were thrown out!

 I'm still curious about the real cause of your problem, though.  I
 revived an old vmware image of Centos 4.x, updated to 4.7, then
 installed a backuppc 3.1.0, taking defaults from the configure.pl script
 for about everything except putting the cgi interface in
 /var/www/cgi-bin and images under /var/www/html/backuppc, and the only
 thing it took to make it work was changing the group of
 /var/www/cgi-bin/BackupPC_Admin to apache and then making it suid again.


That is also how I did it, once the issue I had with setuid were solved. I
chose more Debian-ish directories
(/usr/share/backuppc/cgi-bin/BackupPC_Admin), but that is more or less how I
did it.


 It does have httpd-suexec installed but it isn't complaining.  Is your
 backuppc user id below 500?  That could have been a problem - the
 default suexec configuration sets 500 as the minimum uid to permit.
 Below that is reserved for system ids and the system tools like
 'adduser' should start at 501.


I had thought about that. My initial install had user/group backuppc both as
150, then I upped both uid and gid to 1012, still the same problems existed.
Maybe something was messed up by moving uis/gid around? It is functional now
with both uid and gid set to 1012.




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-17 Thread Jim McNamara
On Tue, Dec 16, 2008 at 5:25 PM, Adam Goryachev 
mailingli...@websitemanagers.com.au wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I'm guessing your telephony system will be some commercial version of
 asterisk? I would seriously question the idea of putting both your
 telephony system and backuppc on the same machine !
 Apart from keeping the backups on the same system as your live server,
 there are the performance impacts which may easily cause problems to
 your telephone call quality.

 Just a heads up I would prefer two separate boxes for the task.


I don't believe it is commercial asterisk, but I don't know and wasn't
consulted on that. There is a PCI card added that directly interfaces with
PRI phone lines. That card wasn't provided by the people that insisted on
RHEL 4.5/CentOS 4.7, and cost around $5000 US dollars, which is well more
than the brand new servers themselves cost.  I haven't touched asterisk in
years (2003 or 2004 was the last time I used it), but at that time
everything I knew about was done over TCP/IP, and this card isn't TCP/IP, it
is some direct interface.

This BackupPC isn't going to be backing up an office or anything of the
sort, there's just 2 linux servers, one doing the telephony and the other
being the database of data to make the calls from. As what is really
important is the database, it made more sense to put BackupPC on the
telephony server. A 3rd (BackupPC only) server was ruled out on space and
cost, so the point of failure kicked in. If the telephony box dies the
database still exists, and the telephony is under contract to be rebuilt
(though /var thereby /var/lib/backuppc as well lives on its own SAS disks),
whereas keeping the database backup is my responsibility, and I'm familiar
with BackupPC, though again, obviously not installing it on an out-of-date
OS that's new to me!

Beyond all that, the telephony will be silent well above 99.9% of the time.
It isn't making phone calls unless something on the order of natural
disaster or a terrorist attack occur, and the continental US (save one day
of infamy in 2001) is relatively safe. Our geographic location is light on
natural disasters, but should one occur, this entire install is put in place
to forewarn folks. Should the true purpose of this box kick on, I can easily
script a something along the lines of {if telephony = ON, then
/etc/init.d./backuppc stop}.

Thanks again for everyone's help, I'm a longtime lurker on these boards, and
I was quite pleased to have support when my usualy install conditions were
thrown out!
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-16 Thread Jim McNamara
On Mon, Dec 15, 2008 at 5:01 PM, Adam Goryachev 
mailingli...@websitemanagers.com.au wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jim McNamara wrote:
  I didn't think it was incompatible with CentOS, I'm just stuck in
  the position of having done this probably 20 times on Debian without
  issue (past the first) and now with my first try on CentOS, I'm
  floundering badly. I changed the permissions on my BackupPC_Admin
  script from 4550 to 4750 to match yours, the owner and groups were
  already identical. I still get the same error.
 
  [r...@telephony logs]# ls -al /var/www/cgi-bin/
  total 24
  drwxr-xr-x  2 root root 4096 Dec 12 11:44 .
  drwxr-xr-x  9 root root 4096 Dec 11 22:40 ..
  -rwsr-x---  1 backuppc apache   3993 Dec 11 18:13 BackupPC_Admin
  -rwxr-xr-x  1 backuppc backuppc   70 Dec 12 11:44 testsetuid
 
 
  When I try to run the BackupPC script I still get the common
  premature end of script headers message, and the most telling
  thing I find is in the suexec.log file, which complains when I try
  to run BackupPC_Admin or the testsetuid script from the wiki -
 
  [r...@telephony logs]# tail suexec.log
  [2008-12-15 10:37:00]: uid: (1010/backuppc) gid: (1010/1010) cmd:
  BackupPC_Admin
  [2008-12-15 10:37:00]: file is either setuid or setgid:
  (/var/www/cgi-bin/BackupPC_Admin)
  [2008-12-15 10:38:09]: uid: (1010/backuppc) gid: (1010/1010) cmd:
  BackupPC_Admin
  [2008-12-15 10:38:09]: file is either setuid or setgid:
  (/var/www/cgi-bin/BackupPC_Admin)
  [2008-12-15 10:38:15]: uid: (1010/backuppc) gid: (1010/1010) cmd:
  testsetuid
  [2008-12-15 10:38:15]: target uid/gid (1010/1010) mismatch with
  directory (0/0) or program (1010/1010)
 
  I would love to find the suexec config, but google seems to indicate
  that if you're unhappy with suexec, your only option is to compile
  your own and remove the packeged version. That seems odd, but this
  whole rpm thing seems fairly odd as well.

 Looks like you need to do these:

 chown -R backuppc.backuppc /var/www/cgi-bin/
 chmod 755 /var/www/cgi-bin/BackupPC_Admin

 Basically suexec will help you change user from nobody or www-user
 which is what apache runs as to backuppc (the owner of the file).
 However, to ensure everything is secure it makes sure a lot of things
 are done properly such as permissions and owner/group of the file and
 directory.

 Try the above and let us know how you go.

 Regards,
 Adam
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFJRtPVGyoxogrTyiURAqJTAKCddqgvNE05BnoF60J/Roa3fLfLbwCgx/x6
 7mR5wI3/Q+zSJAdgdUMiZdQ=
 =sFuB
 -END PGP SIGNATURE-



Changing the permissions as you suggested helped, but now I'm plagued with a
new set of errors that make little to no sense to me. When I go to
http://my.lan.ip/cgi-bin/BackupPC_Admin I get a half-formed page, and this
as the contents of the /var/log/httpd/error_log -

[Tue Dec 16 10:18:43 2008] [error] file permissions deny server
execution/var/www/backuppc/backuppc/image/BackupPC_stnd.css
[Tue Dec 16 10:18:43 2008] [error] file permissions deny server
execution/var/www/backuppc/backuppc/image/sorttable.js
[Tue Dec 16 10:18:43 2008] [error] file permissions deny server
execution/var/www/backuppc/backuppc/image/logo.gif

I can't see why those files should be executable. Changing them to
executable still leads to the same errors.

Thanks again for your help!
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-16 Thread Jim McNamara
On Tue, Dec 16, 2008 at 11:36 AM, Nils Breunese (Lemonbit) 
n...@lemonbit.com wrote:

 Les Mikesell wrote:

  Why is suexec involved?

 Les is right, you don't need suexec. Trying to use it is probably
 causing your problem.

  [2008-12-15 10:37:00]: file is either setuid or setgid:
  (/var/www/cgi-bin/BackupPC_Admin)
 
  Yes, the config.pl script should have installed it mode 04554.any
 interest (an
  It needs to be group-readable by apache, owned by backuppc and suid.

 4550 should be enough for everybody. :o)

 Nils Breunese.


Ladies and  Gentlemen,

There's been a ton of posts in the last few minutes, so I'll try to respond
to all of those in this reply.

To Adam Goryachev, I don't have any interest in CentOS (and judging by other
posts in this thread, competence with it either). The company I work for got
roped in using it for an individual project, as another vendor brought in to
do the telephony portion of this project will only work on RHEL 4.5 and
luckily (for the bottom line) CentOS 4.7.  I've been strictly a Debian user
since Woody, and this whole experience has confirmed to me that my default
choice was correct!

To Les and Nils, first I'm sorry to be disparaging one of your preferred
versions of linux. I installed httpd-suexec somewhere almost immediately
after installing the OS, and it certainly appears to be the proverbial
smoking gun. I tried usung yum just to remove httpd-suexec, and it would
only do that if I also allowed yum to remove httpd! As noting else is
installed yet (the other contractor mentioned previously begins work
tomorrow), I allowed it. That went fine, it pulled out these packages -

mod_perl, php-pear, php-odbc, mod_ssl, system-config-httpd, httpd,
httpd-manual, httpd-suexec, webalizer, php-ldap, php, and mod_python.

I figured all would be well with this. Let it remove everything listed
above, then reinstall httpd, and hopefully the skies will brighten, rainbows
and unicorns will dance around me, and oh yes, backuppc will work!

Unfortunately, yum won't install just httpd without httpd-suexec, as show
here -

[r...@telephony jim]# yum install httpd
Loading fastestmirror plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
-- Populating transaction set with selected packages. Please wait.
--- Package httpd.x86_64 0:2.0.52-41.ent.2.centos4 set to be updated
-- Running transaction check
-- Processing Dependency: httpd-suexec for package: httpd
-- Restarting Dependency Resolution with new changes.
-- Populating transaction set with selected packages. Please wait.
--- Package httpd-suexec.x86_64 0:2.0.52-41.ent.2.centos4 set to be updated
-- Running transaction check

Dependencies Resolved

=
 Package Arch   Version  RepositorySize
=
Installing:
 httpd   x86_64 2.0.52-41.ent.2.centos4
update955 k
Installing for dependencies:
 httpd-suexecx86_64 2.0.52-41.ent.2.centos4
update 31 k

Transaction Summary
=
Install  2 Package(s)
Update   0 Package(s)
Remove   0 Package(s)
Total download size: 986 k
Is this ok [y/N]: n
Exiting on user Command
Complete!

Yum clean all followed by yum update still tries to install both httpd and
httpd-suexec.

I'm going to google to find a solution to this (clearly isn't backuppc
related), and when I can get a functional httpd, I'll post back. If anyone
has suggestions on how to accomplish this, please email me off list.

Thanks again for everyone's help!
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-16 Thread Jim McNamara
On Tue, Dec 16, 2008 at 2:24 PM, Mark Maciolek m...@sr.unh.edu wrote:



 Jim McNamara wrote:
 
 
  On Tue, Dec 16, 2008 at 11:36 AM, Nils Breunese (Lemonbit)
  n...@lemonbit.com mailto:n...@lemonbit.com wrote:
 
  Les Mikesell wrote:
 
Why is suexec involved?
 
  Les is right, you don't need suexec. Trying to use it is probably
  causing your problem.
 
[2008-12-15 10:37:00]: file is either setuid or setgid:
(/var/www/cgi-bin/BackupPC_Admin)
   
Yes, the config.pl script should have installed it mode 04554.any
  interest (an
It needs to be group-readable by apache, owned by backuppc and
 suid.
 
  4550 should be enough for everybody. :o)
 
  Nils Breunese.
 
 
  Ladies and  Gentlemen,
 
  There's been a ton of posts in the last few minutes, so I'll try to
  respond to all of those in this reply.
 
  To Adam Goryachev, I don't have any interest in CentOS (and judging by
  other posts in this thread, competence with it either). The company I
  work for got roped in using it for an individual project, as another
  vendor brought in to do the telephony portion of this project will only
  work on RHEL 4.5 and luckily (for the bottom line) CentOS 4.7.  I've
  been strictly a Debian user since Woody, and this whole experience has
  confirmed to me that my default choice was correct!
 
  To Les and Nils, first I'm sorry to be disparaging one of your preferred
  versions of linux. I installed httpd-suexec somewhere almost immediately
  after installing the OS, and it certainly appears to be the proverbial
  smoking gun. I tried usung yum just to remove httpd-suexec, and it would
  only do that if I also allowed yum to remove httpd! As noting else is
  installed yet (the other contractor mentioned previously begins work
  tomorrow), I allowed it. That went fine, it pulled out these packages -
 
  mod_perl, php-pear, php-odbc, mod_ssl, system-config-httpd, httpd,
  httpd-manual, httpd-suexec, webalizer, php-ldap, php, and mod_python.
 
  I figured all would be well with this. Let it remove everything listed
  above, then reinstall httpd, and hopefully the skies will brighten,
  rainbows and unicorns will dance around me, and oh yes, backuppc will
 work!
 
  Unfortunately, yum won't install just httpd without httpd-suexec, as
  show here -
 
  [r...@telephony jim]# yum install httpd
  Loading fastestmirror plugin
  Setting up Install Process
  Setting up repositories
  Loading mirror speeds from cached hostfile
  Reading repository metadata in from local files
  Parsing package install arguments
  Resolving Dependencies
  -- Populating transaction set with selected packages. Please wait.
  --- Package httpd.x86_64 0:2.0.52-41.ent.2.centos4 set to be updated
  -- Running transaction check
  -- Processing Dependency: httpd-suexec for package: httpd
  -- Restarting Dependency Resolution with new changes.
  -- Populating transaction set with selected packages. Please wait.
  --- Package httpd-suexec.x86_64 0:2.0.52-41.ent.2.centos4 set to be
 updated
  -- Running transaction check
 
  Dependencies Resolved
 
 
 =
   Package Arch   Version  Repository
  Size
 
 =
  Installing:
   httpd   x86_64 2.0.52-41.ent.2.centos4
  update955 k
  Installing for dependencies:
   httpd-suexecx86_64 2.0.52-41.ent.2.centos4
  update 31 k
 
  Transaction Summary
 
 =
  Install  2 Package(s)
  Update   0 Package(s)
  Remove   0 Package(s)
  Total download size: 986 k
  Is this ok [y/N]: n
  Exiting on user Command
  Complete!
 
  Yum clean all followed by yum update still tries to install both httpd
  and httpd-suexec.
 
  I'm going to google to find a solution to this (clearly isn't backuppc
  related), and when I can get a functional httpd, I'll post back. If
  anyone has suggestions on how to accomplish this, please email me off
 list.

 yum install httpd -x httpd-suexec

 We are running CentOS 5.2 backing up 37 clients so far with no major
 issues.

 rpm -qa|grep htt
 system-config-httpd-1.3.3.3-1.el5
 httpd-2.2.3-11.el5_2.centos.4

 rpm -qa | grep Back
 BackupPC-3.1.0-2.el5



 --


Solved! Thanks for everyone's help. I found that I did fine by manually
downloading a httpd rpm, but knowing that -x doubles for --exclude is nice.
That didn't make my yum man page.

I now have graphics, password protection and all is well.

I still will stick to Debian however!!
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09

Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-15 Thread Jim McNamara
On Fri, Dec 12, 2008 at 7:13 PM, Nils Breunese (Lemonbit) n...@lemonbit.com
 wrote:

 Les Mikesell wrote:

  [r...@telephony conf.d]# cat /etc/selinux/config
  # This file controls the state of SELinux on the system.
  # SELINUX= can take one of these three values:
  #   enforcing - SELinux security policy is enforced.
  #   permissive - SELinux prints warnings instead of enforcing.
  #   disabled - SELinux is fully disabled.
  SELINUX=disabled
  # SELINUXTYPE= type of policy in use. Possible values are:
  #   targeted - Only targeted network daemons are protected.
  #   strict - Full SELinux protection.
  SELINUXTYPE=targeted
 
  Is that a cut/paste error or do you actually have targeted
  uncommented?

 Probably it's uncommented. Why would that be strange? As long as
 SELINUX=disabled it doesn't really matter what SELINUXTYPE is set to.

  By the way, it takes a reboot to make a change take effect.

 The output of 'sestatus' tells you the status of SELinux.

[r...@telephony logs]# sestatus
SELinux status: disabled


 We used to run BackupPC on CentOS 4 (now on CentOS 5), so I'm sure it
 can work.

 # ll /var/www/cgi-bin/BackupPC_Admin
 -rwsr-x--- 1 backuppc apache 3993 Apr  8  2008 /var/www/cgi-bin/
 BackupPC_Admin

 Nils Breunese.

I didn't think it was incompatible with CentOS, I'm just stuck in the
position of having done this probably 20 times on Debian without issue (past
the first) and now with my first try on CentOS, I'm floundering badly. I
changed the permissions on my BackupPC_Admin script from 4550 to 4750 to
match yours, the owner and groups were already identical. I still get the
same error.

[r...@telephony logs]# ls -al /var/www/cgi-bin/
total 24
drwxr-xr-x  2 root root 4096 Dec 12 11:44 .
drwxr-xr-x  9 root root 4096 Dec 11 22:40 ..
-rwsr-x---  1 backuppc apache   3993 Dec 11 18:13 BackupPC_Admin
-rwxr-xr-x  1 backuppc backuppc   70 Dec 12 11:44 testsetuid



When I try to run the BackupPC script I still get the common premature end
of script headers message, and the most telling thing I find is in the
suexec.log file, which complains when I try to run BackupPC_Admin or the
testsetuid script from the wiki -


[Mon Dec 15 10:37:00 2008] [error] [client 192.168.0.231] Premature end of
script headers: BackupPC_Admin
[Mon Dec 15 10:38:09 2008] [error] [client 192.168.0.231] Premature end of
script headers: BackupPC_Admin
[Mon Dec 15 10:38:15 2008] [error] [client 192.168.0.231] Premature end of
script headers: testsetuid
[r...@telephony logs]# tail suexec.log
[2008-12-15 10:37:00]: uid: (1010/backuppc) gid: (1010/1010) cmd:
BackupPC_Admin
[2008-12-15 10:37:00]: file is either setuid or setgid:
(/var/www/cgi-bin/BackupPC_Admin)
[2008-12-15 10:38:09]: uid: (1010/backuppc) gid: (1010/1010) cmd:
BackupPC_Admin
[2008-12-15 10:38:09]: file is either setuid or setgid:
(/var/www/cgi-bin/BackupPC_Admin)
[2008-12-15 10:38:15]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-15 10:38:15]: target uid/gid (1010/1010) mismatch with directory
(0/0) or program (1010/1010)

I would love to find the suexec config, but google seems to indicate that if
you're unhappy with suexec, your only option is to compile your own and
remove the packeged version. That seems odd, but this whole rpm thing seems
fairly odd as well.

Thanks for the help so far, and I appreciate any further insights that
people can provide.





 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-12 Thread Jim McNamara
Hello all! I'm normally a Debian guy, but for a project I'm forced to use
CentOS 4.7. I installed BackupPC 3.1.0 from source. I'm trying to get
BackupPC running on that box, and I cannot seem to get BackupPC_Admin (or
the testsuid script found here -
http://backuppc.sourceforge.net/faq/debugCGI.html) to work.

Judging by what I've seen in this thread,
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg02493.htmlthere
seems to be a hurdle with suid that I can't overcome. I can get the
permissions correct from a BackupPC perspective, but then the CentOS apache
doesn't want to play nice.

[r...@telephony conf.d]# ls -al /var/www/cgi-bin/
total 24
drwxr-xr-x  2 root root 4096 Dec 12 11:35 .
drwxr-xr-x  9 root root 4096 Dec 11 22:40 ..
-r-sr-x---  1 backuppc apache   3993 Dec 11 18:13 BackupPC_Admin
-rwxr-xr-x  1 backuppc backuppc   76 Dec 12 11:35 testsetuid

Here's the end of the apache error log -

[Fri Dec 12 11:44:25 2008] [error] [client 192.168.0.4] Premature end of
script headers: testsetuid
[Fri Dec 12 11:44:36 2008] [error] [client 192.168.0.4] Premature end of
script headers: BackupPC_Admin

The premature end of headers message is all over the backuppc archives, and
it pointed me to the page I mentioned above -
http://backuppc.sourceforge.net/faq/debugCGI.html . Going through that page
in order, I can generate the html at the command line when I execute
BackupPC_Admin as either backuppc or apache, but when I try through a
browser, I encounter suid issues. Here's the full output of the
/var/log/httpd/suexec.log -

[2008-12-11 22:37:44]: uid: (150/backuppc) gid: (150/150) cmd:
BackupPC_Admin
[2008-12-11 22:37:44]: cannot run as forbidden uid (150/BackupPC_Admin)
[2008-12-12 10:05:20]: uid: (150/backuppc) gid: (150/150) cmd:
BackupPC_Admin
[2008-12-12 10:05:20]: cannot run as forbidden uid (150/BackupPC_Admin)
[2008-12-12 10:10:41]: uid: (150/backuppc) gid: (150/150) cmd: testsetuid
[2008-12-12 10:10:41]: cannot run as forbidden uid (150/testsetuid)
[2008-12-12 10:24:03]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 10:24:03]: file is either setuid or setgid:
(/var/www/cgi-bin/testse
tuid)
[2008-12-12 10:27:22]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 10:27:22]: file is either setuid or setgid:
(/var/www/cgi-bin/testse
tuid)
[2008-12-12 10:27:24]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 10:27:24]: file is either setuid or setgid:
(/var/www/cgi-bin/testse
tuid)
[2008-12-12 10:38:30]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 10:38:30]: file is either setuid or setgid:
(/var/www/cgi-bin/testse
tuid)
[2008-12-12 10:56:22]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 10:56:22]: file is either setuid or setgid:
(/var/www/cgi-bin/testse
tuid)
[2008-12-12 10:57:44]: uid: (1010/backuppc) gid: (48/48) cmd: testsetuid
[2008-12-12 10:57:44]: cannot run as forbidden gid (48/testsetuid)
[2008-12-12 10:58:48]: uid: (1010/backuppc) gid: (48/48) cmd: testsetuid
[2008-12-12 10:58:48]: cannot run as forbidden gid (48/testsetuid)
[2008-12-12 11:18:31]: uid: (1010/backuppc) gid: (48/48) cmd: testsetuid
[2008-12-12 11:18:31]: cannot run as forbidden gid (48/testsetuid)
[2008-12-12 11:19:26]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:19:26]: target uid/gid (1010/1010) mismatch with directory
(0/0) or program (1010/48)
[2008-12-12 11:20:30]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:20:30]: target uid/gid (1010/1010) mismatch with directory
(0/0) or program (1010/1010)
[2008-12-12 11:21:23]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:25:01]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:25:22]: uid: (1010/backuppc) gid: (1010/1010) cmd:
BackupPC_Admin
[2008-12-12 11:25:22]: file is either setuid or setgid:
(/var/www/cgi-bin/BackupPC_Admin)
[2008-12-12 11:33:59]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:35:05]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:43:26]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:43:26]: target uid/gid (1010/1010) mismatch with directory
(0/0) or program (1010/1010)
[2008-12-12 11:43:32]: uid: (1010/backuppc) gid: (1010/1010) cmd:
BackupPC_Admin
[2008-12-12 11:43:32]: file is either setuid or setgid:
(/var/www/cgi-bin/BackupPC_Admin)
[2008-12-12 11:44:25]: uid: (1010/backuppc) gid: (1010/1010) cmd: testsetuid
[2008-12-12 11:44:25]: target uid/gid (1010/1010) mismatch with directory
(0/0) or program (1010/1010)
[2008-12-12 11:44:36]: uid: (1010/backuppc) gid: (1010/1010) cmd:
BackupPC_Admin
[2008-12-12 11:44:36]: file is either setuid or setgid:
(/var/www/cgi-bin/BackupPC_Admin)


Obviously I changed the uid and gid for backuppc, thinking that was part of
the problem. It seemed to play a role, but wether it had the low uid (150)
or the higher (1010) it still wouldn't work.


Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-12 Thread Jim McNamara
On Fri, Dec 12, 2008 at 12:10 PM, Les Mikesell l...@futuresource.com wrote:

 Jim McNamara wrote:
  Hello all! I'm normally a Debian guy, but for a project I'm forced to use
  CentOS 4.7. I installed BackupPC 3.1.0 from source. I'm trying to get
  BackupPC running on that box, and I cannot seem to get BackupPC_Admin (or
  the testsuid script found here -
  http://backuppc.sourceforge.net/faq/debugCGI.html) to work.
 

 Do you have the perl-suidperl package installed (yum install
 perl-suidperl)?   And selinux disabled?

 --
   Les Mikesell
lesmikes...@gmail.com


 Yes to both -


[r...@telephony conf.d]# rpm -q perl-suidperl
perl-suidperl-5.8.5-36.el4_6.3

 [r...@telephony conf.d]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#   enforcing - SELinux security policy is enforced.
#   permissive - SELinux prints warnings instead of enforcing.
#   disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#   targeted - Only targeted network daemons are protected.
#   strict - Full SELinux protection.
SELINUXTYPE=targeted
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC

2008-12-12 Thread Jim McNamara


 Is that a cut/paste error or do you actually have targeted uncommented?
  By the way, it takes a reboot to make a change take effect.

 --
Les Mikesell
lesmikes...@gmail.com


That wasn't a cut/paste error, targeted came up uncommented from the get go.
I went through the install with selinux disabled from the get go. I
commented it out and rebooted, no difference.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Windows 2000 server and windows 2003 server

2008-06-18 Thread Jim McNamara
I have found that rsyncd usually needs to be run with administrator rights.
Trying to get it to run as a regular user or a system account has always
failed for me. With your connection refused message, I suspect that rsyncd
is not running at all. try either using nmap or telnetting to the windows
box at port 873. If those fail or don't show activity at port 873, rsyncd
isn't running on the windows box, so there is nothing for the backuppc
machine to connect to.

Most likely, you'll have much better backups with rsyncd instead of samba,
so I'd encourage you to get that working.

Peace,
Jim

On Wed, Jun 18, 2008 at 8:40 PM, David Kuntadi [EMAIL PROTECTED] wrote:

 On Wed, Jun 18, 2008 at 7:56 PM, Les Mikesell [EMAIL PROTECTED]
 wrote:
 
  If that works, the normal method should too.  I believe there are some
  versions of smbclient with bugs in command line parsing that have trouble
  with backuppc.  It's been mentioned on the list but I've forgotten the
  details.  Also, smbclient reads your default smb.conf file even though
 most
  of its settings relate to the server so it is possible to have problems
 that
  relate to the password server or similar global settings there.

 That is what  thought. But I think the problem is backuppc need to
 pass windows user name and password first before it could launch
 rsync, which is I do not know how to do it. Looks like the normal way
 of rsync require windows already open.

 Regards,
 David

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Windows 2000 server and windows 2003 server

2008-06-17 Thread Jim McNamara
First things first. How did you install rsyncd on the server? Did you use
the cygwin-rsyncd package from the sourceforge site?

http://sourceforge.net/project/showfiles.php?group_id=34854package_id=88133

Odds are very good that you have a windows or other software firewall in
place. You need to punch a hole at port 873 for rsync to get through.

If you are using the cygwin-rsyncd package, I've found that windows server
2000 is usually friendly with the hosts allow = a.b.c.d/n notation, but
server 2003 usually insists that it is just the IP of the backuppc server.

Also, as listed above, try signing in to your backuppc box as the backuppc
user, and just try rsync host:: The module part will be printed for you.
If rsync host:: doesn't return anything, you aren't making a connection to
the windows box.

Peace,
Jim



On Tue, Jun 17, 2008 at 8:38 PM, David Kuntadi [EMAIL PROTECTED] wrote:

 On Tue, Jun 17, 2008 at 7:30 PM, Les Mikesell [EMAIL PROTECTED]
 wrote:

  rsync host::module
 
  The double colons indicate a standalone remote and if you don't give a
 2nd
  argument you'll get a directory listing instead of a copy.  If you don't
 get
  a connection, check for firewalling between or on the client.

 When I try:

 rsync xxx.xxx.xxx.xxx(client IP address)::module

 I got:
 rsync: failed to connect to XXX.XXX.XXX.XXX: Connection refused (111)
 rsync error: error in socket IO (code 10) at clientserver.c(98)

 Regards,
 David

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Download file directly from browse fails...

2008-02-17 Thread Jim McNamara
On Feb 17, 2008 8:42 AM, Mirco Piccin [EMAIL PROTECTED] wrote:

 Hi.

  Creating the archive locally on the server (using BackupPC_tarCreate
  or BackupPC_zipCreate) and then transferring it to the Windows machine
  is not an option?

 Yes, it is an option.
 But I'm thinking to an option that not require the console .
 Not all the BackupPC user are *nix expert.


That seems to be the root of your problem. You certainly do need to be a
wizard at shell scripting to run BackupPC, but being unable/unwilling to use
the CLI on your server won't work.



 I'm thinking for example to a procedure (that a user can call with a
 button on the CGI interface) that create the zip and make it available
 in a http (not backuppc) folder :


There's no way for that to work. Most installations have BackupPC run as
user backuppc, sometimes of group backuppc, and sometimes as group www-data,
or whatever the apache group is. User backuppc will not have rights to
write in any apache controlled directory, save its own. That would require
at least some operations being performed as root, which will require human
intervention, or a script created for that purpose.


 maybe restore the file in a BackupPC localhost folder Samba shared  or
 http accessible - but here there will be problems about temporary user
 access.


You also would have the same problem here. BackupPC alone cannot do this, as
user backuppc cannot write to your samba shared directory.  Again, a script
from you or direct human interaction with the CLI would have to happen.



 I'd like to solve that problem without add user host in BackupPC and
 without use console.
 Is it possible?


Very dubious. The simplest solution has already been posted Nils Breunese
from the very beginning of this thread. Use BackupPC_zipCreate or
BackupPC_tarCreate, and then move that file into the samba share directory
or a apache directory yourself.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Cygwin, Rsyncd running slow

2007-06-16 Thread Jim McNamara

On two windows machines using rsyncd, the one on the LAN with the backuppc
machine does 44 Gb fulls in 132 minutes, and incrementals (about 200 Mb of
new data per day) takes 30. The other machine is across a VPN, but still
does 25 Gb fulls in 125 minutes, and incrementals (about 6 Gb of new data)
takes 45.

IIRC the initial backup took around 24 hours to do for each machine, but it
has been very smooth sailing since then. I'm 120 backups in, and its been
quick and easy after that first hurdle.

Peace,
Jim

On 6/16/07, Adam Goryachev [EMAIL PROTECTED] wrote:


Ski Kacoroski wrote:
 Hi,

 I am setting up my first rsyncd/cygwin backup of a windows client.  The
 client has 60GB of data on it and it currently takes 23 hours for a
 full backup (100MB link between the client and the server).  I thought
 the problem may the size and number of files with rsync so I split it
 into 3 backups of roughly 20GB each and it is still just as slow.

 Any ideas on how to speed this up or figure out where the slowdown is
 are most appreciated.

One thing I noticed is that my anti-virus program would do a virus scan
during the initial rsync search to build the list of files, and I assume
again while it was actually transferring the changed files.
Turning off the AV would significantly decrease the time for rsyncd to
build the file list.

Regards,
Adam


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] cgwin-rsyncd on vista

2007-05-19 Thread Jim McNamara

I've seen the same problem with Vista Home 32 bit. I tried using the
XYNTService project which works for everything from server 2003 on down, but
It won't start successfully on Vista. I get the feeling since Vista seems to
be slow to be picked up, that we might be waiting a good stretch of time
before 3rd party apps start appearing that work.

Jim McNamara

On 5/19/07, Richard Maynard / Wessex Networks [EMAIL PROTECTED]
wrote:


Hi Guys,

I have been an avid user of backuppc for both internal and use on client's
sites, and have had great success using cygwin-rsyncd in the past for
backing up Windows-based systems.

The problem is, that one of my clients has upgraded to vista, and *no
matter
what* I try, the service will not start.  It will register successfully
with
Windows via cygrunsrv, but the start signal from either cygrunsrv or from
the services control panel fail to start the service up.

I am at a complete loss what do to do now, backing up via smbclient is as
dodgy as always and plagued by the server timed out waiting for a
response
after 2 milliseconds errors.

- Client machine is Vista Ultimate x64
- Server is Debian Etch, backuppc v. 2.1.2-6, smbclient is v. 3.0.24-etch1

Help! I can't back this damned machine up!

TIA

Richard Maynard.

Wessex Networks
Linchmere Place
Ifield
Crawley
West Sussex
RH11 0EX
www.wessexnetworks.com [EMAIL PROTECTED]
T: 01293 542080 F: 01293 553849




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] RSync v. Tar

2007-03-27 Thread Jim McNamara

I have a bit of hard data to offer on this subject, as I recently switched a
backup from tar+ssh (over cygwin) to rsyncd.

The backuppc server is on the same physical LAN, and connect to each other
via a 192.168 address. All the cabling and switches support 100 MB full
duplex communications, and the servers have gigabit NICs. The backuppc
server is dumping the data to the /var partition which is on the 2 80Gb
satas in the case, running in a RAID 1 software array, under mdadm on Debian
stable.

These are the current stats, using rsyncd -

Backup#  Type  #Files  Size/MB  MB/sec  #Files  Size/MB  #Files
Size/MB  
30http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=30
full 168480
41758.5  5.66  168333  41639.8  310  118.9
35http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=35
incr 730
191.7  0.19  564  103.6  223  88.2
36http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=36
incr 785
198.4  0.18  725  123.0  106  75.4
37http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=37
full 169010
41836.6  5.73  168876  41750.2  276  86.5
38http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=38
incr 0
0.0  0.00  0  0.0  29  0.0
39http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=39
incr 0
0.0  0.00  0  0.0  0  0.0
40http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=40
incr 155
89.4  0.04  42  5.5  169  83.9
41http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=41
incr 321
124.2  0.05  142  19.8  234  104.4
Backup#  Type  Filled  Level  Start Date  Duration/mins  Age/days  Server
Backup Path  
30http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=30
full yes 0 3/16 18:00
122.9  11.2  /var/lib/backuppc/pc/sarah/30
35http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=35
incr no 1 3/21 18:00
16.9  6.2  /var/lib/backuppc/pc/sarah/35
36http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=36
incr no 1 3/22 18:00
17.9  5.2  /var/lib/backuppc/pc/sarah/36
37http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=37
full yes 0 3/23 18:00
121.7  4.2  /var/lib/backuppc/pc/sarah/37
38http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=38
incr no 1 3/24 18:00
16.5  3.2  /var/lib/backuppc/pc/sarah/38
39http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=39
incr no 1 3/25 18:00
15.4  2.2  /var/lib/backuppc/pc/sarah/39
40http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=40
incr no 1 3/26 18:00
33.1  1.2  /var/lib/backuppc/pc/sarah/40
41http://mail.stephanco.com/cgi-bin/BackupPC_Admin?action=browsehost=sarahnum=41
incr no 1 3/27 18:00
38.6  0.2
When it was doing tar, the full backups took far longer, in the neighborhood
of 600 minutes. The incremental backups took around an hour most days. So I
clearly made out better with rsyncd. Just as additional info, the server
being backed up is a file server for a small company. It is backing up the
directory where they store .jpg images of the products they sell. They
organize it by date, so obviously everything in the current day's directory
is new, but previous directories aren't modified most of the time.

I hope that helps.

Peace,
Jim

On 3/27/07, Holger Parplies [EMAIL PROTECTED] wrote:


Hi,

Les Mikesell wrote on 27.03.2007 at 01:03:32 [Re: [BackupPC-users] RSync
v. Tar]:
 Jesse Proudman wrote:
  I've got one customer who's server has taken 3600 minutes to
  backup.   77 Gigs of Data.  1,972,859 small files.  Would tar be
  better or make this faster?  It's directly connected via 100 Mbit to
 ^^^
  the backup box.
^^
 If the files don't change frequently, tar incremental runs will be much
 faster because they are based only on the target timestamps while rsync
will load the entire directory at both ends and compare them.

if you ask me, regardless of how your data changes, tar is the way to go,
not rsync, especially for *full* backups. With a direct 100 MBit
connection,
there's not much point in spending (lots of) CPU time for saving bandwidth
- not with 2 million files. rsync is good for low bandwidth connections,
where the link severely limits the transfer and speeding it up makes a
real
difference. In your case, your link speed is in the same order of
magnitude
as your disk I/O performance (considering our favorite topic, the seek
times
on the pool file system, the network link may in fact not even be the
limiting
factor - it clearly isn't, as 77 GB would take slightly more than 2 hours
to
transfer over a 100 MBit link, and rsync is not making it go faster than
that ;-).

rsync has additional benefits concerning finding and backing up new (or
moved) files with old timestamps and deleted files on *incremental*
backups,
but keeping the list of 

Re: [BackupPC-users] upgrade to 3.0

2007-03-26 Thread Jim McNamara


 is 3.0 yet apt-getable?

Don't know, I always install from source.

-Dave



Yes, it is. It is only in unstable though, so you'll need to specify that
apt-get use the unstable repositories to get version 3.0.

Peace,
Jim

-

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Hardware choices for a BackupPC server

2007-03-14 Thread Jim McNamara

I agree with what Jason wrote, particularly in regards to a 3ware
controller. I also like reiserfs, but for 1.5 Tb a strong case could be made
for XFS or JFS, depending on your standard issues like many small files in
the backup, or fewer larger files.

I would also consider raid 5 or 6. Nothing is wrong with 1+0, but you do
lose much space to parity that way. With a new controller and Sata II disks,
slow writes shouldn't be much of a factor. My backups rarely see more than 3
mb/sec of new data coming across, and with Sata II claiming 3 Gb per sec
(which we know it won't reach), unless you're doing a great many
simultaneous backups, you should be cool. Another advantage of raid 5 with
this setup is you could get a cheap 4 port card like this one -
http://www.newegg.com/Product/Product.asp?Item=N82E16816116031 for a PCI X
interface. That and 4 500 Gb drives and you're in great shape. They make the
same card for PCI as well.

I would use hardware raid even with multiple servers. Its so cheap now, it
doesn't make sense to deal with the headache of software raid when hardware
is well within corporate budgets. A controller at $300 + 4 drives at $150,
for $900 you have 1.5 Tb of safe space. Even with raid 1+0 you only go up a
few hundred dollars, but you would need a larger controller.

Peace,
JimBass
On 3/14/07, Jason Hughes [EMAIL PROTECTED] wrote:


John,

IMO, the point behind BackupPC is to use cheap, easily upgradeable disk
media to make backups available and easy.  That kind of steers me in the
direction of several low-end backup servers, either with separate
storage or all sharing a big fat fiber channel NAS.  Buying a high end
machine and trying to handle what is essentially a very parallelizable
task on a single box is sort of self-defeating, I think.  So, my
response would be to keep what you've got and buy another machine to
offload some clients.

There is definitely some tuning involved with respect to server
performance, given the various file systems, operating systems, physical
hardware choices.  But BackupPC can be tuned considerably based on the
transfer protocols and number of simultaneous backups.  Have you
exhausted these options?

I'm sure you'll get a different answer from every person on the list,
since most of what you're asking is kid-in-the-candy-store questions.
If you're maxing out a single server, chances are, you'll be better off
with two (or more) servers, or the one you have isn't configured for
maximum efficiency.  And get a good 3ware RAID card.  :-)

Hope that helps,
JH

John Pettitt wrote:


 It's time to build a new server.  My old one (a re-purposed Celeron D
 2.9Ghz / 768M FreeBSD box with a a 1.5 TB raid on a Highpoint card)
 has hit a wall in both performance and capacity. gstat on FreeBSD
 shows me that the Highpoint raid array is the main bottleneck (partly
 because it's in a regular PCI slot and partly because it's really
 software raid with crappy drivers) and CPU is a close second. I'm
 going to build a new box with SATA disks and a better raid card.

 So my question: Has anybody does any actual benchmarks on BackupPC
 servers?

 Which OS  Filesystem is best?  (I'm, leaning toward Ubuntu and
 RaiserFS)

 RAID cards that work well?  Allow for on the fly expansion?

 RAID mode ?  5?  6?  10?500GB drives seem to be the sweet spot in
 the price curve right now - I'd like to get 1.5TB after RAID  so 6
 drives in RAID 10.

 I'm leaning towards a core 2 duo box with 2Gb of ram.

 Any hardware to avoid?

 John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] web interface problems in 3.0.0

2007-03-05 Thread Jim McNamara

That script isn't intended to be tested through a web interface, it is just
a script to be run to see if your perl supports suid functions. Just run it
at the command line.

Your permissions also seem different from mine -

[EMAIL PROTECTED]:~$ ls -al /usr/share/backuppc/cgi-bin/
total 4
drwxr-xr-x 2 root root  104 2007-02-22 22:18 .
drwxr-xr-x 7 root root  168 2007-02-22 22:18 ..
lrwxrwxrwx 1 root root8 2007-02-22 22:18 image - ../image
-rwsr-xr-x 1 backuppc backuppc 3993 2007-02-14 17:14 index.cgi

Peace,
Jim

On 3/5/07, Filipe [EMAIL PROTECTED] wrote:


 Jim McNamara wrote:



On 2/21/07, Filipe [EMAIL PROTECTED] wrote:


 I've upgraded from 2.1.1 to 3.0.0 in a debian sarge, and some problems
 arise..
 First it was the error about the language, and resolved it by renaming
 /etc/backuppc and reinstalling the 3.0.0 version.


I saw the same problem in the same situation. In the Debian package, it
looks for the configs in /etc/backuppc, but the 2.0.0 tarball looks to
/etc/BackupPC. I symlinked them together.

Then some errors appeared when backing up hosts, and the web interface
 edit configuration does not work,


That is a permissions issue, and it is tied into the next problem as well.
The user backuppc needs to be able to write in the /etc/BackupPC directory,
and create subdirectories. In debian, the /etc/backuppc was installed as
root:root, and to edit I switched the ownership to backuppc:www-data. Once
backuppc is the owner of /etc/BackupPC, it will be able to write to the
config files, and create/modify the individual pc configs in the
subdirectory /etc/BackupPC/pc, which will be created the first time you
modify a host's config.


either manual incr/full backup button!
 When I press them I get back to home page.


I saw the exact same thing. The problem was that the sticky bit on the
BackupPC_Admin script in the cgi-bin had been altered. This page on the FAQ
helped me sole it - http://backuppc.sourceforge.net/faq/debugCGI.html ,
specifically the section with the script. For Debian, perl usually isn't in
/bin/perl, but rather /usr/bin/perl.

The BackupPC_Admin file needs to have these permissions on Debian, or it
generally won't work, and cause exactly the problems you were seeing:

-r-sr-x---  1 backuppc www-data 3993 2007-02-12 15:57 BackupPC_Admin

The sticky must be set on execute as owner, backuppc or the failures will
occur. Setting those permissions is covered both in the man page and on the
FAQ I cited above.

 I haven't solved yet the problem with the buttons and edit actions in cgi
interface!
read that and it seems that every thing's ok
when I do the script file test I am prompted to download the script file,
cut if I add the .cgi extension, it opens the file but gives the 500
Internal Server Error.
this does not happen with the printenv script ( with .cgi ext)

some important information that could help u identity the problem( if u
need more files/dir say it plz):

[EMAIL PROTECTED]:/# ls -al /usr/share/backuppc/cgi-bin
total 24
drwxr-xr-x  2 root root 4096 2007-03-05 12:06 .
drwxr-xr-x  7 root root 4096 2006-07-07 18:02 ..
-rwsr-xr-x  1 backuppc www-data 3993 2007-02-14 20:00 BackupPC_Admin
lrwxrwxrwx  1 root root8 2006-09-20 20:32 image - ../image
-rwsr-xr-x  1 backuppc backuppc 3925 2006-01-08 22:25 index.cgi
-rwxr-xr-x  1 backuppc www-data  268 2007-03-05 11:59 printenv.cgi
-rwxrwxr-x  1 backuppc www-data   69 2007-02-22 01:25 script.cgi

[EMAIL PROTECTED]:/# ls -al /etc/BackupPC/
total 172
drwxrwx---   3 backuppc www-data  4096 2007-02-26 09:19 .
drwxr-xr-x  65 root root  4096 2007-02-16 14:37 ..
-rw-r-   1 backuppc www-data   412 2007-03-05 15:04 apache.conf
-rw-r-   1 backuppc www-data 77136 2007-03-05 14:38 config.pl
-rw-r-   1 backuppc www-data 64544 2007-02-14 18:25
config.pl.pre-3.0.0
-rw-r-   1 backuppc www-data  2518 2007-01-06 18:19 hosts
-rw-r-   1 root www-data 0 2006-07-07 18:03 htgroup
-rw-r-   1 root www-data23 2006-09-08 18:00 htpasswd
drwxr-xr-x   2 backuppc www-data  4096 2007-03-02 18:43 pc



File: /etc/BackupPC/apache.conf

Alias /backuppc /usr/share/backuppc/cgi-bin/

Directory /usr/share/backuppc/cgi-bin/
AllowOverride
None   $
Options ExecCGI FollowSymlinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi

AuthGroupFile /etc/BackupPC/htgroup
AuthUserFile /etc/BackupPC/htpasswd
AuthType basic
AuthName BackupPC admin
require valid-user

/Directory






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID

[BackupPC-users] excludes on windows with spaces in names

2007-02-28 Thread Jim McNamara

Hello again list!

I'm running into some trouble with excluding directories in rsyncd.conf on a
windows machine. The machine in question is dying quickly, and rarely stays
alive for more than 30 minutes or so. Because of that, I'm trying to
slowly increment what is being backed up to the debian server.

The main problem is the excludes list is supposed to be separated by spaces,
and of course everyone's favorite OS has spaces in directory names. I tried
to get around this with quotation marks, but the things I ask to be excluded
are still included. I also tried adding explicit excludes to the config on
the backuppc, and that similarly didn't take. Here are the key configs -


From the host.pl on the backuppc -


$Conf{RsyncShareName} = [
 'documents'
];
$Conf{BackupFilesExclude} = {
 '/Administrator/' = [
   ''
 ],
 '/Application Data/' = [
   ''
 ],
 '/All Users/' = [
   ''
 ],
 '/Default User/' = [
   ''
 ]
};

This is the rsyncd.conf that is running from the cygwin-rsyncd
2.6.8_0package from the backuppc page at sourceforge. I am trying to
start with the
smallest possible amount of data from this machine, then I'll include things
one directory at a time.

use chroot = false
max connections = 4
log file = c:/rsyncd/rsyncd.log
pid file = c:/rsyncd/rsyncd.pid
lock file = c:/rsyncd/rsyncd.lock
[documents]
   path = c:/Documents and Settings
   comment = Everything
   strict modes = false
   auth users = backuppc
   secrets file = c:/rsyncd/rsyncd.secrets
   hosts allow = 192.168.68.103
   read only = false
   list = true
   exclude = /Administrator/ /All Users/ /Application Data/ /Default
User/ /Jennie and Andy/.java/ /Jennie and Andy/.javaws/ /Jennie and
Andy/.jpi_cache/ /Jennie and Andy/Application Data/ /Jennie and
Andy/Cookies/ /Jennie and Andy/Desktop/ /Jennie and Andy/Favorites/
/Jennie and Andy/Local Settings/ /Jennie and Andy/My Documents/ /Jennie
and Andy/NetHood/ /Jennie and Andy/PrintHood/ /Jennie and Andy/Recent/
/Jennie and Andy/SendTo/ /Jennie and Andy/Start Menu/ /Jennie and
Andy/Temp/


All in all that should leave only about 10 Mb worth of data under
c:\Documents and Settings that should be copied to the server, but every
attempt at rsyncing grabs absolutely everything in documents and settings.

Thanks for the help.

Peace,
Jim
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] excludes on windows with spaces in names

2007-02-28 Thread Jim McNamara

The modified parts of the files now look like:
$Conf{BackupFilesExclude} = {
 '/Administrator/' = [
   ''
 ],
 '/Application\ Data/' = [
   ''
 ],
 '/All\ Users/' = [
   ''
 ],
 '/Default\ User/' = [
   ''
 ]
};

and on windows:

exclude = /Administrator/ /All\ Users/ /Application\ Data/ /Default\
User/ /Jennie\ and\ Andy/.java/ /Jennie\ and\ Andy/.javaws/ /Jennie\
and\ Andy/.jpi_cache/ /Jennie\ and\ Andy/Application\ Data/ /Jennie\
and\ Andy/Cookies/ /Jennie\ and\ Andy/Desktop/ /Jennie\ and\
Andy/Favorites/ /Jennie\ and\ Andy/Local\ Settings/ /Jennie\ and\
Andy/My\ Documents/ /Jennie\ and\ Andy/NetHood/ /Jennie\ and\
Andy/PrintHood/ /Jennie\ and\ Andy/Recent/ /Jennie\ and\ Andy/SendTo/
/Jennie\ and\ Andy/Start\ Menu/ /Jennie\ and\ Andy/Temp/

I didn't think it would be necessary on the windows machine as it handled
c:\Documents and Settings without special regards to the whitespace in the
path, but figured it was better safe than sorry.

Unfortunately, it still grabs the entire contents of Documents and Settings.

Peace,
Jim


On 2/28/07, Brien Dieterle [EMAIL PROTECTED] wrote:


 Have you tried escaping the spaces with a \ ?  Like:
'/Application\ Data/'

Not sure if that will work, but it sounds like it's worth a shot.

brien

Jim McNamara wrote:

Hello again list!

I'm running into some trouble with excluding directories in rsyncd.conf on
a windows machine. The machine in question is dying quickly, and rarely
stays alive for more than 30 minutes or so. Because of that, I'm trying to
slowly increment what is being backed up to the debian server.

The main problem is the excludes list is supposed to be separated by
spaces, and of course everyone's favorite OS has spaces in directory names.
I tried to get around this with quotation marks, but the things I ask to be
excluded are still included. I also tried adding explicit excludes to the
config on the backuppc, and that similarly didn't take. Here are the key
configs -

From the host.pl on the backuppc -

$Conf{RsyncShareName} = [
  'documents'
];
$Conf{BackupFilesExclude} = {
  '/Administrator/' = [
''
  ],
  '/Application Data/' = [
''
  ],
  '/All Users/' = [
''
  ],
  '/Default User/' = [
''
  ]
};

This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0package 
from the backuppc page at sourceforge. I am trying to start with the
smallest possible amount of data from this machine, then I'll include things
one directory at a time.

use chroot = false
max connections = 4
log file = c:/rsyncd/rsyncd.log
pid file = c:/rsyncd/rsyncd.pid
lock file = c:/rsyncd/rsyncd.lock
[documents]
path = c:/Documents and Settings
comment = Everything
strict modes = false
auth users = backuppc
secrets file = c:/rsyncd/rsyncd.secrets
hosts allow = 192.168.68.103
read only = false
list = true
exclude = /Administrator/ /All Users/ /Application Data/
/Default User/ /Jennie and Andy/.java/ /Jennie and Andy/.javaws/
/Jennie and Andy/.jpi_cache/ /Jennie and Andy/Application Data/ /Jennie
and Andy/Cookies/ /Jennie and Andy/Desktop/ /Jennie and Andy/Favorites/
/Jennie and Andy/Local Settings/ /Jennie and Andy/My Documents/ /Jennie
and Andy/NetHood/ /Jennie and Andy/PrintHood/ /Jennie and Andy/Recent/
/Jennie and Andy/SendTo/ /Jennie and Andy/Start Menu/ /Jennie and
Andy/Temp/


All in all that should leave only about 10 Mb worth of data under
c:\Documents and Settings that should be copied to the server, but every
attempt at rsyncing grabs absolutely everything in documents and settings.

Thanks for the help.

Peace,
Jim

--

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn 
cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

--

___
BackupPC-users mailing [EMAIL 
PROTECTED]://lists.sourceforge.net/lists/listinfo/backuppc-usershttp://backuppc.sourceforge.net/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] excludes on windows with spaces in names

2007-02-28 Thread Jim McNamara

I did, and unfortunately it made no difference. Here is the rsyncd exclude
info I based my file on -

# --exclude *.o   would exclude all filenames matching *.o
# --exclude /foo  would exclude a file in the base directory called foo
# --exclude foo/  would exclude any directory called foo.
# --exclude /foo/*/bar  would exclude any file called bar two levels below a
 base directory called foo.
# --exclude /foo/**/bar would exclude any file called bar two or
more levels below
 a base directory called foo.

the full page is http://www.ss64.com/bash/rsync.html

I'm guessing the translation from bash to winworld is where my problem is
occurring.

Peace,
Jim

On 2/28/07, Brien Dieterle [EMAIL PROTECTED] wrote:


 perhaps the leading /s are causing it not to match?  Have you tried
just

'Administrator/'

brien


Jim McNamara wrote:

The modified parts of the files now look like:
$Conf{BackupFilesExclude} = {
  '/Administrator/' = [
''
  ],
  '/Application\ Data/' = [
''
  ],
  '/All\ Users/' = [
''
  ],
  '/Default\ User/' = [
''
  ]
};

and on windows:

exclude = /Administrator/ /All\ Users/ /Application\ Data/
/Default\ User/ /Jennie\ and\ Andy/.java/ /Jennie\ and\ Andy/.javaws/
/Jennie\ and\ Andy/.jpi_cache/ /Jennie\ and\ Andy/Application\ Data/
/Jennie\ and\ Andy/Cookies/ /Jennie\ and\ Andy/Desktop/ /Jennie\ and\
Andy/Favorites/ /Jennie\ and\ Andy/Local\ Settings/ /Jennie\ and\
Andy/My\ Documents/ /Jennie\ and\ Andy/NetHood/ /Jennie\ and\
Andy/PrintHood/ /Jennie\ and\ Andy/Recent/ /Jennie\ and\ Andy/SendTo/
/Jennie\ and\ Andy/Start\ Menu/ /Jennie\ and\ Andy/Temp/

I didn't think it would be necessary on the windows machine as it handled
c:\Documents and Settings without special regards to the whitespace in the
path, but figured it was better safe than sorry.

Unfortunately, it still grabs the entire contents of Documents and
Settings.

Peace,
Jim


On 2/28/07, Brien Dieterle [EMAIL PROTECTED] wrote:

 Have you tried escaping the spaces with a \ ?  Like:
 '/Application\ Data/'

 Not sure if that will work, but it sounds like it's worth a shot.

 brien

 Jim McNamara wrote:

 Hello again list!

 I'm running into some trouble with excluding directories in rsyncd.confon a 
windows machine. The machine in question is dying quickly, and rarely
 stays alive for more than 30 minutes or so. Because of that, I'm trying to
 slowly increment what is being backed up to the debian server.

 The main problem is the excludes list is supposed to be separated by
 spaces, and of course everyone's favorite OS has spaces in directory names.
 I tried to get around this with quotation marks, but the things I ask to be
 excluded are still included. I also tried adding explicit excludes to the
 config on the backuppc, and that similarly didn't take. Here are the key
 configs -

 From the host.pl on the backuppc -

 $Conf{RsyncShareName} = [
   'documents'
 ];
 $Conf{BackupFilesExclude} = {
   '/Administrator/' = [
 ''
   ],
   '/Application Data/' = [
 ''
   ],
   '/All Users/' = [
 ''
   ],
   '/Default User/' = [
 ''
   ]
 };

 This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0package 
from the backuppc page at sourceforge. I am trying to start with the
 smallest possible amount of data from this machine, then I'll include things
 one directory at a time.

 use chroot = false
 max connections = 4
 log file = c:/rsyncd/rsyncd.log
 pid file = c:/rsyncd/rsyncd.pid
 lock file = c:/rsyncd/rsyncd.lock
 [documents]
 path = c:/Documents and Settings
 comment = Everything
 strict modes = false
 auth users = backuppc
 secrets file = c:/rsyncd/rsyncd.secrets
 hosts allow = 192.168.68.103
 read only = false
 list = true
 exclude = /Administrator/ /All Users/ /Application Data/
 /Default User/ /Jennie and Andy/.java/ /Jennie and Andy/.javaws/
 /Jennie and Andy/.jpi_cache/ /Jennie and Andy/Application Data/ /Jennie
 and Andy/Cookies/ /Jennie and Andy/Desktop/ /Jennie and Andy/Favorites/
 /Jennie and Andy/Local Settings/ /Jennie and Andy/My Documents/ /Jennie
 and Andy/NetHood/ /Jennie and Andy/PrintHood/ /Jennie and Andy/Recent/
 /Jennie and Andy/SendTo/ /Jennie and Andy/Start Menu/ /Jennie and
 Andy/Temp/


 All in all that should leave only about 10 Mb worth of data under
 c:\Documents and Settings that should be copied to the server, but every
 attempt at rsyncing grabs absolutely everything in documents and settings.

 Thanks for the help.

 Peace,
 Jim

 --

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

Re: [BackupPC-users] excludes on windows with spaces in names

2007-02-28 Thread Jim McNamara

The error was found to be syntax on my config.pl. Carl has a good suggestion
on it, and Les Stott also helped off list. The problem was in the way I was
passing the excludes to backuppc. Rather than blocking the directory
Administrator within the share module [documents], I was trying to block
the module [Administrator] which doesn't exist, so it was excluded very
effectively!

None of the excludes should be done on the windows rsyncd.conf, that doesn't
seem to work at all. it can all be done through the individual host's
config. Here is the correct syntax to block directories with whitespaces
in their names from the backuppc server -

$Conf{RsyncShareName} = [
 'documents'
];
$Conf{BackupZeroFilesIsFatal} = '0';
$Conf{BackupFilesExclude} = {
 '*' = [
   '/Administrator/',
   '/Application Data/',
   '/All Users/',
   '/Local Settings/',
   '/Default User/',
   '/Jennie and Andy/Desktop/',
   '/Jennie and Andy/Local Settings/',
   '/Jennie and Andy/My Documents/'
 ]
};

Obviously the asterisk could be changed to an individual module's name if
you need different excludes in each of your shares.

My thanks again go out to everyone!

Peace,
Jim

On 2/28/07, Carl Wilhelm Soderstrom [EMAIL PROTECTED] wrote:


On 02/28 11:19 , Jim McNamara wrote:
 The main problem is the excludes list is supposed to be separated by
spaces,
 and of course everyone's favorite OS has spaces in directory names.

I do excludes on things like that, using a '?' in place of the spaces. So
for example:
$Conf{BackupFilesExclude} = {
   'cDrive' = ['/RECYCLER', '/winnt/tmp', '/temp', '/WUTemp',
'/WINDOWS', '*/Temporary?Internet?Files/' ]
   };



--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] web interface problems in 3.0.0

2007-02-21 Thread Jim McNamara

On 2/21/07, Filipe [EMAIL PROTECTED] wrote:



I've upgraded from 2.1.1 to 3.0.0 in a debian sarge, and some problems
arise..
First it was the error about the language, and resolved it by renaming
/etc/backuppc and reinstalling the 3.0.0 version.



I saw the same problem in the same situation. In the Debian package, it
looks for the configs in /etc/backuppc, but the 2.0.0 tarball looks to
/etc/BackupPC. I symlinked them together.

Then some errors appeared when backing up hosts, and the web interface

edit configuration does not work,



That is a permissions issue, and it is tied into the next problem as well.
The user backuppc needs to be able to write in the /etc/BackupPC directory,
and create subdirectories. In debian, the /etc/backuppc was installed as
root:root, and to edit I switched the ownership to backuppc:www-data. Once
backuppc is the owner of /etc/BackupPC, it will be able to write to the
config files, and create/modify the individual pc configs in the
subdirectory /etc/BackupPC/pc, which will be created the first time you
modify a host's config.


either manual incr/full backup button!

When I press them I get back to home page.



I saw the exact same thing. The problem was that the sticky bit on the
BackupPC_Admin script in the cgi-bin had been altered. This page on the FAQ
helped me sole it - http://backuppc.sourceforge.net/faq/debugCGI.html ,
specifically the section with the script. For Debian, perl usually isn't in
/bin/perl, but rather /usr/bin/perl.

The BackupPC_Admin file needs to have these permissions on Debian, or it
generally won't work, and cause exactly the problems you were seeing:

-r-sr-x---  1 backuppc www-data 3993 2007-02-12 15:57 BackupPC_Admin

The sticky must be set on execute as owner, backuppc or the failures will
occur. Setting those permissions is covered both in the man page and on the
FAQ I cited above.

I thought it has something to do with mod_perl, it didnt appeared with

apache -l command.
so I installed it with apt-get install libapache-mod-perl, but it still
didnt show mod_perl  so I gave up on that.
also I putted in  httpd.conf the config like in the docs-

http://kent.dl.sourceforge.net/sourceforge/backuppc/BackupPC-3.0.0.html#step_9__cgi_interface


now what is really strange is that I have a lot of folders with special
characters with accents and other portuguese language symbols, but I
managed to put it working correcly in the last version, but now only the
folders tar appear right, in the files some are missing, those are
filenames with special characters.
here is what I'm talking about:
http://img57.imageshack.us/my.php?image=backuppcnamesyb0.png

the host is an NT4 server...



Sorry, this part I can't help you with. I was seeing language errors until I
switched the ownership of /etc/BackupPC to backuppc, then they disappeared.
Maybe you'll have the same result.


Peace,
Jim
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] web interface problems in 3.0.0

2007-02-21 Thread Jim McNamara

Another thing I had forgotten to mention was that I ended up with two
BackupPC_Admin scripts, one from the .deb package, and another from the
3.0.0 tarball. The permissions you have one the one below seem a little
strange to me, because everyone can execute it, and be stickied as backuppc.
That may be something you elected to do, but if it wasn't, then maybe you're
working with the wrong script?

And you're entirely correct about the ownership of the /etc/BackupPC files.
Mine looks like this:
mailbox:/home/jim# ls -al /etc/BackupPC/
total 108
drwxr-x---   3 backuppc www-data  4096 2007-02-20 11:23 .
drwxr-xr-x  67 root root  4096 2007-02-19 12:00 ..
-rw-r-   1 backuppc www-data   556 2007-02-14 19:02 apache.conf
-rw-r-   1 backuppc www-data 77434 2007-02-17 17:11 config.pl
-rw-r-   1 backuppc www-data  2292 2007-02-13 23:21 hosts
-rw-r-   1 root www-data23 2007-02-20 11:23 htpasswd
-rw-r-   1 root www-data43 2007-02-20 11:19 htpasswd.normal
drwxr-xr-x   2 backuppc www-data  4096 2007-02-20 10:52 pc

Obviously if you can select a different location for your password file.

You're very welcome for the limited help I'm able to provide!

Jim



On 2/21/07, Filipe  [EMAIL PROTECTED] wrote:



Jim McNamara wrote:



On 2/21/07, Filipe [EMAIL PROTECTED]  wrote:


 I've upgraded from 2.1.1 to 3.0.0 in a debian sarge, and some problems
 arise..
 First it was the error about the language, and resolved it by renaming
 /etc/backuppc and reinstalling the 3.0.0 version.


I saw the same problem in the same situation. In the Debian package, it
looks for the configs in /etc/backuppc, but the 2.0.0 tarball looks to
/etc/BackupPC. I symlinked them together.

Then some errors appeared when backing up hosts, and the web interface
 edit configuration does not work,


That is a permissions issue, and it is tied into the next problem as well.
The user backuppc needs to be able to write in the /etc/BackupPC directory,
and create subdirectories. In debian, the /etc/backuppc was installed as
root:root, and to edit I switched the ownership to backuppc:www-data. Once
backuppc is the owner of /etc/BackupPC, it will be able to write to the
config files, and create/modify the individual pc configs in the
subdirectory /etc/BackupPC/pc, which will be created the first time you
modify a host's config.

  yeah it was sort of that... but I have also to put chmod 770 to
everything in /etc/BackupPC
The colours in webinterface changed, and names of files in recent backups
are shown correctly. old ones are still with the same problem..
http://img341.imageshack.us/my.php?image=backp3tl4.png


either manual incr/full backup button!
 When I press them I get back to home page.


I saw the exact same thing. The problem was that the sticky bit on the
BackupPC_Admin script in the cgi-bin had been altered. This page on the FAQ
helped me sole it - http://backuppc.sourceforge.net/faq/debugCGI.html ,
specifically the section with the script. For Debian, perl usually isn't in
/bin/perl, but rather /usr/bin/perl.

The BackupPC_Admin file needs to have these permissions on Debian, or it
generally won't work, and cause exactly the problems you were seeing:

-r-sr-x---  1 backuppc www-data 3993 2007-02-12 15:57 BackupPC_Admin

The sticky must be set on execute as owner, backuppc or the failures will
occur. Setting those permissions is covered both in the man page and on the
FAQ I cited above.

 done that but it still remains the same...
-rwsr-x--x  1 backuppc www-data 3993 2007-02-14 20:00 BackupPC_Admin

when I go to the url http://backuppcserver/backuppc/BackupPC_Admin I got
the download window from that file... it seems that I can read it ...

Thanks a lot for the answers.
regards.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] web interface problems in 3.0.0

2007-02-21 Thread Jim McNamara

Yes, apparently I have sticky on the brain!
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsyncd problem

2007-02-20 Thread Jim McNamara

Craig,

Thanks for your personal attention on this. The XferLOG is now available in
the images directory:

http://mail.stephanco.com/backuppc/images/

The log from the email you replied to has since been overwritten since it
was only considered a partial backup. The emails yesterday between the one
you replied to and now seem to show that backuppc is only able to get one of
the two modules rsyncd is sharing. Initially it allowed apps to work and UPC
failed. I changed UPC to upc, and now that works while apps fails.

Thanks again,
Jim

On 2/20/07, Craig Barratt [EMAIL PROTECTED] wrote:


Jim writes:

 $Conf{RsyncShareName} = ['UPC', 'apps'];

 Here are the last few lines of the backuppc error log:

The interesting part of the log file will be the beginning, since
that's where UPC is backed up.  BackupPC believes that no files
were dumped for that share.  It complains about it after all the
shares are finished.

Can you email me the first part of the XferLOG file off list, or
send a URL to the complete XferLOG file?

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] {Fraud?} {Disarmed} rsyncd problem

2007-02-19 Thread Jim McNamara

Ok, now it gets weird. After removing the passwords, I also changed the UPC
share to upc, and it worked. Then apps, which had been working without a
problem, failed. So the issue seems to be for what ever reason we can get
the first of 2 shares, but not both. Here is the Xferlog:

attribSet(dir=fupc, file=VONMAUJR231837.xls)
attribSet(dir=fupc, file=cygdrive)
 create d 555   0/0   0 cygdrive
 makePath(/var/lib/backuppc/pc/mas90-server/new//fupc/fcygdrive, 0777)
 attribSet(dir=fupc, file=cygdrive)
 Finished deltaGet phase 0
 Child is sending done
 Got done from child
 Finished deltaGet phase 1
 Got stats: 4287 61821419 61800702 5 ('errorCnt' = 0,'ExistFileSize' =
61800598,'ExistFileCnt' = 205,'TotalFileCnt' = 206,'ExistFileCompSize' =
18690550,'TotalFileSize' = 61800702)
 attribWrite(dir=fupc) - /var/lib/backuppc/pc/mas90-server/new/fupc/attrib
 attribWrite(dir=) - /var/lib/backuppc/pc/mas90-server/new//attrib
 Got exit from child
 Done: 206 files, 61800702 bytes
 Got fatal error during xfer (No files dumped for share apps)
 Backup aborted (No files dumped for share apps)

And the error log:

attribSet(dir=fupc, file=VONMAUJR231837.xls)
 attribSet(dir=fupc, file=cygdrive)
 [ skipped 1 lines ]
 makePath(/var/lib/backuppc/pc/mas90-server/new//fupc/fcygdrive, 0777)
 attribSet(dir=fupc, file=cygdrive)
 Finished deltaGet phase 0
 Child is sending done
 Got done from child
 Finished deltaGet phase 1
 Got stats: 4287 61821419 61800702 5 ('errorCnt' = 0,'ExistFileSize' =
61800598,'ExistFileCnt' = 205,'TotalFileCnt' = 206,'ExistFileCompSize' =
18690550,'TotalFileSize' = 61800702)
 attribWrite(dir=fupc) - /var/lib/backuppc/pc/mas90-server/new/fupc/attrib
 attribWrite(dir=) - /var/lib/backuppc/pc/mas90-server/new//attrib
 Got exit from child
 Done: 206 files, 61800702 bytes
 Got fatal error during xfer (No files dumped for share apps)
 Backup aborted (No files dumped for share apps)

Has anyone else encountered this issue with multiple modules and rsyncd? It
seems everything should work. I'll attempt to redefine a single module that
includes  both of the share locations if possible.

Thanks,
Jim







On 2/19/07, Jim McNamara [EMAIL PROTECTED] wrote:

According the the man page for rsyncd.conf, there should be no issue
with multiple shares, they have an example with 5 or so shares, some
publicly open and others password protected.

Since both shares were looking to the same authorization file, I
didn't think permissions could be the issue, but I'm willing to try
anything.

I removed the username and password from both the windows rsyncd.conf
and the backuppc config for this host. I also disabled the requirement
that rsyncd use a password. As some small measure of security, I left
the host allow 192.168.2.1 clause, but it is wide open. Now when I
issue the command:

[EMAIL PROTECTED]:~$ rsync -av 192.168.3.1::
appsapps folder
upc UPC data


the shares are shown without any password prompt. I'll know in about
24 hours if this is successful, and I'll post back with the results.

Thanks for the help,
Jim


On 2/19/07, Jason Hughes [EMAIL PROTECTED] wrote:

  Jim McNamara wrote:
 I am having a problem with rsyncd between backuppc and a remote windows

box running the rsync package provided on the backuppc page at sourceforge.
I installed a clean version of backuppc 3.0.0, moving all the old backups
from 2.1.1 to an alternate machine should I need them later.


  The problem is that rsyncd will start this job, get through the 21 Gb

of data in the apps share from the windows server, then crash out on getting
the 60 Mb from the UPC share.



  It looks like a permissions problem.  I haven't experimented with

multiple rsync shares much, but perhaps do you need to set up your secrets
file so that the user has access to both folders?  It may be that the user
you are using to connect with on the command line is *not* the same user
BackupPC is using... ie:

  $Conf{XferMethod} = 'rsyncd';
  $Conf{RsyncShareName} = ['UPC', 'apps'];
  $Conf{RsyncdUserName} = 'backuppc';


  Maybe you need to try:

  $Conf{RsyncdUserName} = ['backuppc', 'backuppc'];

  I haven't done this sort of thing, so I'm not even sure it's allowed,

but if you let guest logins to rsync, I could see how an unprivileged guest
account would not have access to the files in your UPC share.  Just a
thought.


  Good luck,
  JH



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share

your

opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net

[BackupPC-users] rsyncd problem

2007-02-18 Thread Jim McNamara

I am having a problem with rsyncd between backuppc and a remote windows box
running the rsync package provided on the backuppc page at sourceforge. I
installed a clean version of backuppc 3.0.0, moving all the old backups from
2.1.1 to an alternate machine should I need them later.

The problem is that rsyncd will start this job, get through the 21 Gb of
data in the apps share from the windows server, then crash out on getting
the 60 Mb from the UPC share.

Here is the rsyncd.conf file from the windows server:

use chroot = false
max connections = 2
log file = c:/rsyncd/rsyncd.log
pid file = c:/rsyncd/rsyncd.pid
lock file = c:/rsyncd/rsyncd.lock

[apps]
   path = g:/apps
   comment = apps folder
   strict modes = false
   auth users = backuppc
   secrets file = c:/rsyncd/rsyncd.secrets
   hosts allow = 192.168.2.1
   read only = false
   list = true

[UPC]
   path = f:/UPC
   comment = UPC files
   auth users = backuppc
   secrets file = c:/rsyncd/rsyncd.secrets
   hosts allow = 192.168.2.1
   strict modes = false
   read only = false
   list = true

The important part of this host's config file on the backuppc server:

$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncShareName} = ['UPC', 'apps'];
$Conf{RsyncdUserName} = 'backuppc';

The password is obviously good, as backuppc can get the apps share, and both
shares set the password in the same file, c:/rsyncd/rsyncd.secrets. There is
nothing about a failure in the rsyncd.log on the windows machine.

Here are the last few lines of the backuppc error log:

Starting file 22782 (sota.ini), blkCnt=0, blkSize=2048, remainder=0
sota.ini: size doesn't match (559 vs 0)
sota.ini got digests c81c77dbde3c37fb88c32111ec7f12ec vs
c81c77dbde3c37fb88c32111ec7f12ec
[ skipped 1 lines ]
attribWrite(dir=fapps/TEMP_UPD) -
/var/lib/backuppc/pc/mas90-server/new/fapps/fTEMP_UPD/attrib
attribSet(dir=fapps, file=sota.ini)
Finished deltaGet phase 0
Child is sending done
Got done from child
Finished deltaGet phase 1
Got stats: 11936366 4294967295 3407242700 0 ('errorCnt' = 0,'ExistFileSize'
= '11915083623','ExistFileCnt' = 1,'TotalFileCnt' =
22395,'ExistFileCompSize' = 1437882252,'TotalFileSize' = '21640166794')
attribWrite(dir=fapps) - /var/lib/backuppc/pc/mas90-server/new/fapps/attrib
attribWrite(dir=) - /var/lib/backuppc/pc/mas90-server/new//attrib
Got exit from child
Done: 22395 files, 21640166794 bytes
Got fatal error during xfer (No files dumped for share UPC)
Backup aborted (No files dumped for share UPC)

Here is the XferLOG, which is nearly identical:

Starting file 22782 (sota.ini), blkCnt=0, blkSize=2048, remainder=0
sota.ini: size doesn't match (559 vs 0)
sota.ini got digests c81c77dbde3c37fb88c32111ec7f12ec vs
c81c77dbde3c37fb88c32111ec7f12ec
 pool 777   544/513 559 sota.ini
attribWrite(dir=fapps/TEMP_UPD) -
/var/lib/backuppc/pc/mas90-server/new/fapps/fTEMP_UPD/attrib
attribSet(dir=fapps, file=sota.ini)
Finished deltaGet phase 0
Child is sending done
Got done from child
Finished deltaGet phase 1
Got stats: 11936366 4294967295 3407242700 0 ('errorCnt' = 0,'ExistFileSize'
= '11915083623','ExistFileCnt' = 1,'TotalFileCnt' =
22395,'ExistFileCompSize' = 1437882252,'TotalFileSize' = '21640166794')
attribWrite(dir=fapps) - /var/lib/backuppc/pc/mas90-server/new/fapps/attrib
attribWrite(dir=) - /var/lib/backuppc/pc/mas90-server/new//attrib
Got exit from child
Done: 22395 files, 21640166794 bytes
Got fatal error during xfer (No files dumped for share UPC)
Backup aborted (No files dumped for share UPC)

And the last bit of confusing evidence I can produce, when I rsync at the
command line, it grabs all 60 Mb of data from the UPC share without any
difficulty

[EMAIL PROTECTED]:~$ rsync -av [EMAIL PROTECTED]::UPC temp/
Password:
receiving file list ... done
./
559D1000
B1DEF900
BD844600
BELK217782.xls
BELK230565.xls
BELK230594.xls
BLOOMINGDALES 0208235.xls
BLOOMINGDALES.xls
BLOOMINGDALES228036.xls
BLOOMINGDALES228037.xls
BLOOMONGDALES196008.xls
BOSVOVS228049.xls
Copy of NEWUPC.xls
E-mail.lnk
EF596A10
JCP164611.xls
JCP235776.xls
JCP238510.xls
MACYSWEST216630.xls
MACYW228033.xls
MARSHALLFIELDS215899.xls
MARSHALLFIELDS215899A.xls
MARSHALLFIELDS219859.xls
MARSHALLFIELDS219859A.xls
MF230739.xls
MF288052.xls
NEWUPC.xls
NEWUPC1.xls
NEWUPC2006.xls
NEWUPC218464.xls
OLDUPC.xls
so forth, and so on.

The XferLOG is larger than 10 Mb, so if people want to see that I'm willing
to post it, but I can't email it for size reasons.

Thanks for reading through this novel-length post, and if any additional
info would help, I'll be glad to add or post it.

Thanks for your time,
Jim
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing 

Re: [BackupPC-users] Version 3.0

2007-02-17 Thread Jim McNamara
Yes, it has. The colors are different, and depending on your
permissions the ability to modify the configuration of individual
hosts through the website may be present. The base is very similar,
and I don't think you'd have problems, but they are not identical.

Peace,
Jim

On 2/17/07, Rob Ogle [EMAIL PROTECTED] wrote:
 I'm about to put together some docs for my customers using BackupPC.
 Before I use my 2.x screenshots, does anyone know if the web interface has
 been changed in v3.0?


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] GUI error after upgrade

2007-02-13 Thread Jim McNamara
Hello list!

My thanks again go out to Craig for a great piece of software!

I have been running BackupPC 2.1.1 on a debian box, installed by the
apt-get package system. Tonight I upgraded by compiling 3.0.0, and
encountered a good number of problems, largely resulting from Debian
modifications. The problems had for the most part been covered on this
list previously, and I got through nearly all of them.

The problem that remains is some misconfiguration of the webpage or
cgi script. I have 3 hosts being backed up, one using tar with a very
limited sudo, one with samba, and the 3rd with rsyncd. With all 3
hosts, I can view their previous backups, but clicking on the Start
Incr Backup or Start Full Backup will simply return me to the
default homepage, the one generated by the BackupPC_Admin file in the
cgi-bin.

The currently running jobs section of the main page will have nothing
in it, and a CLI check will confirm that the backup is not being
performed. When I follow the steps in the FAQ, I can su to the
backuppc user, and issue the command __INSTALLDIR__/bin/BackupPC_dump
-v -f hostName, and the backup will be done. The main page still
doesn't show anything in process under currently running jobs, but
once the CLI backup is complete, the backup files will exist, and the
webpage GUI shows them.

It seems the config and executable files as well as permissions are
all correct, otherwise the CLI backup would fail. I am logging both
errors and access to an apache log in addition to backuppc's own
logging, but I don't see anything. The data directory, where the
individual host XferLog and LOG files are don't get updated at all
when I use the webpage to start the backup, but the CLI backup updates
all logs in this directory as expected.

If any additional info or configs would make this easier to diagnose,
please let me know.

Thanks,
Jim

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] how to update from 2.1.1

2007-01-29 Thread Jim McNamara
Due to the code freeze in Debian for the release of Etch as stable
soon, it will be quite a while before a new deb package for backupPC
makes it to stable. The Debian backupPC maintainer is probably well
aware of the releases, but even if he made the packages, the code
freeze would prevent them from getting into the apt repositories.
We'll probably see 3.0 hit unstable not too long after Etch is
released, but getting a 3.0 package on a stable system is not going to
happen any time soon. They may put out a 2.1.3 package for stable,
after it has been tested, but due to the nature of Debian, I think
that is months away. If you want the new versions, you'll have to do
it yourself from source.

Peace,
Jim

On 1/29/07, Nils Breunese (Lemonbit) [EMAIL PROTECTED] wrote:
 Filipe wrote:

  I've followed a guide and I used apt-get install... when installing
  backuppc 2.1.1
  and now what should I do?!
  there's version 3 also out  :o

 You could contact the maintainer and ask if an update is in the works
 or maybe use Debian's Bug Tracker. I'm pretty sure you can also
 uninstall the BackupPC deb, download BackupPC 3.0.0 and point the
 installer to your previous config.

 Nils Breunese.




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Full rsyncd fails, incrimental works

2006-12-22 Thread Jim McNamara
Hello again everyone!

I solved the earlier problems I had with rsyncd by using the package
from the backuppc page for cygwin rather than forcing my own install.

Rsyncd now seems to work, but I have a strange error. I have 2 full
backups from when the backuppc operated on smb, and have now switched
to rsyncd. If I do an incremental update with rsyncd, it passes with
no problem, but if I try a full backup, it says no files dumped for
one of the shares. Here is from the log for this host:

2006-12-19 04:00:03 full backup started for directory UPC; updating partial 17
2006-12-19 04:00:09 full backup started for directory apps; updating partial 17
2006-12-19 05:25:42 Got fatal error during xfer (No files dumped for share UPC)
2006-12-19 05:25:47 Backup aborted (No files dumped for share UPC)
2006-12-19 05:25:47 Saved partial dump 17
2006-12-19 07:42:34 incr backup started back to 2006-11-23 00:06:28
for directory UPC
2006-12-19 07:42:39 incr backup started back to 2006-11-23 00:06:28
for directory apps
2006-12-19 09:07:10 incr backup 17 complete, 22320 files, 21407943586
bytes, 1 xferErrs (0 bad files, 0 bad shares, 1 other)

What is going on that it can get files from the share when it is
incremental, but won't just grab the whole thing?

Here is the rsyncd.conf:

#
# A sample rsyncd.conf file usable with BackupPC. This file does not
# completely document all of the settings for rsyncd.conf - see the
# man page that comes with the rsync ditribution for a comprehensive
# overview off all available settings.
#

#
# Allow rsync to change the root directory to the module location
# upon connection of a client. This is disabled for Win32 as we do
# not provide a full Cygwin environment.
#
# Warning: with a setting of false, absolute symlinks will be
# stripped of their leading /.  See use chroot in the rsyncd.conf
# man page.  This is relevant for machines that support symlinks
# (WinXX machines do not).
#
use chroot = false

#
# Limit the simultaneous rsync connections to 4. Changing
# this to '1' should be sufficient for BackupPC.
#
max connections = 2

#
# Uncomment this line and change the path if
# you would like to log rsync messages.
#
log file = c:/rsyncd/rsyncd.log

#
# The location of the rsync process ID file
#
pid file = c:/rsyncd/rsyncd.pid

#
# The locations of the rsync lock file
#
lock file = c:/rsyncd/rsyncd.lock

#
# This is where we define the rsyncd modules. Add as many directories or
# files are you wish.  To backup this module using BackupPC, set
# $Conf{RsyncShareName} to docs in this client's config.pl.
#
[apps]
#
# Exact DOS style path to the file or directory to be rsync accessible
#
path = g:/apps

#
# A short description of the module. This is what is printed when
# using rsync to browse the server for what modules are available.
#
comment = apps folder

#
# Does rsyncd ensure that the secrets file is read only by the
# user running the process? If this is false then no check is
# performed (useful for Win32 systems). However, you can change
# this to true and make the secrets file READ ONLY by the user
# running the rysncd process. If running from the command line
# or upon login, this should be the user who is logged in. If
# running as a Win32 service, then the SYSTEM account should be
# the only account that can read the secrets file.
#
strict modes = false
#
# What user(s) have access to this module. The user(s) must be
# defined in the secrets file. A comma or space separated list.
#
# Example:
#   auth users = backup, root, larry
#   auth users = backup root larry
#
auth users = backuppc

#
# The location of the secrets file. Permissions must be READ ONLY
# for the account running the rsyncd process unless
# strict modes = false is set above.
#
secrets file = c:/rsyncd/rsyncd.secrets

#
# What hosts are allowed access to this module? By default, all
# hosts are allowed access. If you wish to further strengthen
# the security of your setup, uncomment and replace with the IP
# address your BackupPC server. This is a flexible setting and
# can be one of:
#   a dotted decimal IP address: 172.16.0.17
#   a address/mask in the form  a.b.c.d/n: 172.16.0.0/24
#   an address/mask in the form ipaddr/maskaddr: 172.16.0.0/255.255.255.0
#   a hostname: backupserver
#   a hostname pattern using wildcards: backup*
#
hosts allow = 192.168.2.1

#
# Only allow clients to READ from the server. This prevents uploads
# from remote machines. If you wish to allow uploads, change this too
# true.
#
# WARNING: Setting this to true means that BackupPC restores via
# rsyncd will fail. You most likely want to set this to false.
#
read only = false

#
# Don't list this module if a client asks (provides another modest
# layer of security since an attacker also has to 

Re: [BackupPC-users] some questions...

2006-12-22 Thread Jim McNamara
I've had particularly good results from the 3ware 9500 series 4port
controllers. They run about $325 US dollars. I work with a company
that archives massive amouts of video data, and before a client is
ready for the 15 SATA NAS, you can get spectacular results out of a 4
port with PCI interface. They do have PCI(X) as well if speed is an
issue.

I have built at least 10 boxes with these guys running a raid 5 array,
and the 3 drive failures I have seen were always handled beautifully
by the controller, and rebuilt without any problem.

And no, I am not an employee or partner of 3ware!

Peace,
Jim

On 12/22/06, Brausse, Renke [EMAIL PROTECTED] wrote:
  seriously, get a 3ware controller; you'll never want a box without one
  again. even a 2-port one is $130 well-spent, even on a home machine.

 though it sounds like advertising, Carl is perfectly right...

 Mit freundlichen Grüßen,
 Renke Brausse

 --
 iOMEDICO AG
 Hanferstraße 28
 79108 Freiburg

 Tel.:+49 (0)761/15242-21
 Fax.:+49 (0)761/15242-10

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] rsyncd incremental works, full fails

2006-12-19 Thread Jim McNamara
Hello again everyone!

I solved the earlier problems I had with rsyncd by using the package
from the backuppc page for cygwin rather than forcing my own install.

Rsyncd now seems to work, but I have a strange error. I have 2 full
backups from when the backuppc operated on smb, and have now switched
to rsyncd. If I do an incremental update with rsyncd, it passes with
no problem, but if I try a full backup, it says no files dumped for
one of the shares. Here is from the log for this host:

2006-12-19 04:00:03 full backup started for directory UPC; updating partial 17
2006-12-19 04:00:09 full backup started for directory apps; updating partial 17
2006-12-19 05:25:42 Got fatal error during xfer (No files dumped for share UPC)
2006-12-19 05:25:47 Backup aborted (No files dumped for share UPC)
2006-12-19 05:25:47 Saved partial dump 17
2006-12-19 07:42:34 incr backup started back to 2006-11-23 00:06:28
for directory UPC
2006-12-19 07:42:39 incr backup started back to 2006-11-23 00:06:28
for directory apps
2006-12-19 09:07:10 incr backup 17 complete, 22320 files, 21407943586
bytes, 1 xferErrs (0 bad files, 0 bad shares, 1 other)

What is going on that it can get files from the share when it is
incremental, but won't just grab the whole thing?

Thanks,
Jim

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsync error ssh_askpass w/ cygwin

2006-12-14 Thread Jim McNamara
I tried rsyncd, and still encounter problems. Fortunately they are
different problems, so hopefully there is a known solution.

Here is the current rsyncd.conf on the windows box:

[UPC]
/cygdrive/f/UPC
hosts allow = 192.168.2.1
strict modes = false

[apps]
/cygdrive/g/apps
hosts allow = 192.168.2.1
strict modes = false

I tried adding the chroot option, and also closed the path with
another slash (/cygdrive/f/UPS/) and still fail. The error that
backuppc reports is:

Connected to mas90-server:873, remote version 29
Negotiated protocol version 26
Error connecting to module /UPC/ at mas90-server:873: Unknown module '/UPC/'
Got fatal error during xfer (Unknown module '/UPC/')
Backup aborted (Unknown module '/UPC/')

I did find that the win box and debian box had different versions of
rsync, which I saw could often be a problem. As the win box runs
2.6.6, I compiled 2.6.6 in /usr/local on debian. I notice the backuppc
config.pl file asks for the location of rsync on the client, which
shouldn't apply with rsyncd as the client isn't connected to in a ssh
tunnel. My config.pl file for this machine now has:

#
# Path to rsync executable on the client
#
$Conf{RsyncClientPath} = '/usr/local/bin/rsync';

as that is the matching 2.6.6 version of rsync for the win box.

It seems to me that module /UPC/ is pretty well defined, but obviously
this is new territory to me. Do I need to define it differently
somehow?

Thanks for your time,
Jim

On 12/12/06, Jim McNamara [EMAIL PROTECTED] wrote:
 I got the impression that this problem may have been fixed in a newer
 version of backuppc, would upgrading help?

 I'll try reconfiguring backuppc to do rsyncd instead of rsync if not.

 Thanks,
 Jim

 On 12/12/06, Carl Wilhelm Soderstrom [EMAIL PROTECTED] wrote:
  On 12/11 09:43 , Jim McNamara wrote:
   I am in the process of switching a backup from using smbclient to
   rsync, as it is taking greater than 72 hours to perform a backup. The
   backuppc is running debian stable, backuppc v 2.1.1, and the client
   machine is windows server 2003 with cygwin on it. I have preshared the
   ssh key from the server to the client, and it is able to ssh in
   without any questions:
 
  I don't know if it's still true, but it used to be that cygwin ssh+rsync
  didn't work. Some bug in there somewhere.
 
  try using cygwin rsyncd instead.
 
  --
  Carl Soderstrom
  Systems Administrator
  Real-Time Enterprises
  www.real-time.com
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  BackupPC-users mailing list
  BackupPC-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/backuppc-users
  http://backuppc.sourceforge.net/
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsync error ssh_askpass w/ cygwin

2006-12-14 Thread Jim McNamara
It was a mixture of both! Stealing the configs from a pure linux rsync
backuppc, I had:
$Conf{RsyncShareName} = '/UPC';

Which I now changed to
$Conf{RsyncShareName} = 'UPC';

And the new error makes even less sense to me,

Contents of file /var/lib/backuppc/pc/mas90-server/XferLOG.bad.z,
modified 2006-12-14 22:12:40

Connected to mas90-server:873, remote version 29
Negotiated protocol version 26
Error connecting to module UPC at mas90-server:873: chroot failed
Got fatal error during xfer (chroot failed)
Backup aborted (chroot failed)



I don't have chroot enabled anymore, it is completely absent from the
rsyncd.conf on the winbox.

Thanks,
Jim


On 12/14/06, Randy Barlow [EMAIL PROTECTED] wrote:
 On Thursday 14 December 2006 21:50, Jim McNamara wrote:
  [UPC]
  /cygdrive/f/UPC
  hosts allow = 192.168.2.1
  strict modes = false

  Connected to mas90-server:873, remote version 29
  Negotiated protocol version 26
  Error connecting to module /UPC/ at mas90-server:873: Unknown module
  '/UPC/' Got fatal error during xfer (Unknown module '/UPC/')
  Backup aborted (Unknown module '/UPC/')

  It seems to me that module /UPC/ is pretty well defined, but obviously
  this is new territory to me. Do I need to define it differently
  somehow?

 In your per PC config for this machine (or in your general config if not using
 per PC config), do you have

 $Conf{RsyncShareName} = '/UPC/';

 or do you have

 $Conf{RsyncShareName} = 'UPC';

 ?  For rsyncd it should be the latter, not the former!

 R

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsync error ssh_askpass w/ cygwin

2006-12-14 Thread Jim McNamara
I used:

cygrunsrv --remove rsyncd

and then checked with:
cygrunsrv --list

which only showed sshd running. I still get the chroot error, and it
seems that rsync not running should produce an error long before
anything about chroot. Since cygwin shell seems to be crap (no
/etc/init.d/rsyncd) and ps aux shows nothing more than bash running,
how can I be certain rsyncd is stopped?

I had updated the server to File-RsyncP-0.68 when I started this last
week. I think that is current enough?

Thanks again,
Jim


On 12/14/06, Jason Hughes [EMAIL PROTECTED] wrote:
 You may need to stop/restart the rsyncd service to make it read the
 rsyncd.conf file on windows.

 I wanted to mention that there was some bug that I ran into (you're not
 seeing it yet) when the backuppc was using protocol version 26 and
 windows running rsyncd.  You might want to update the server's
 File::RsyncP in cpan.

 JH


 Jim McNamara wrote:
  And the new error makes even less sense to me,
 
  Contents of file /var/lib/backuppc/pc/mas90-server/XferLOG.bad.z,
  modified 2006-12-14 22:12:40
 
  Connected to mas90-server:873, remote version 29
  Negotiated protocol version 26
  Error connecting to module UPC at mas90-server:873: chroot failed
  Got fatal error during xfer (chroot failed)
  Backup aborted (chroot failed)
 
  
 
  I don't have chroot enabled anymore, it is completely absent from the
  rsyncd.conf on the winbox.
 
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsync error ssh_askpass w/ cygwin

2006-12-14 Thread Jim McNamara
rsyncd is listed there as you expected, but it had no status when I
saw it. I told it to start, and it produced some garbage about
service started then stopped and goes on about some services like
logging having that as standard. In any case, the path to executable
field says C:\cygwin\bin\cygrunsrv.exe, which seems very wrong for
rsync?

More brilliance, the service claims to stop within 2 seconds of
running it, which should not be the case for either cygrunsrv or
rsync.

Thanks yet again,
Jim

On 12/14/06, Jason Hughes [EMAIL PROTECTED] wrote:
  From what I can tell, all that does is insert and remove registry
 entries from the services list in Windows.  cygrunsrv has a separate
 command for stopping and starting services, and I'm not sure (without
 testing it) if removing will actually stop the service as well.
 cygrunsrv -I rsyncd -d
 The definitive way to tell if a service is running is to open
 Settings/ControlPanel/AdministrativeTools/Services and scroll down until
 you see 'rsyncd' and a status next to it.  Right click on it to manually
 start/stop the service.  This definitely works.

 Re: File::RsyncP, I think that is the most recent version.

 Hope this helps,
 JH

 Jim McNamara wrote:
  I used:
 
  cygrunsrv --remove rsyncd
 
  and then checked with:
  cygrunsrv --list
 
  which only showed sshd running. I still get the chroot error, and it
  seems that rsync not running should produce an error long before
  anything about chroot. Since cygwin shell seems to be crap (no
  /etc/init.d/rsyncd) and ps aux shows nothing more than bash running,
  how can I be certain rsyncd is stopped?
 
  I had updated the server to File-RsyncP-0.68 when I started this last
  week. I think that is current enough?
 
  Thanks again,
  Jim
 
 
  On 12/14/06, Jason Hughes [EMAIL PROTECTED] wrote:
  You may need to stop/restart the rsyncd service to make it read the
  rsyncd.conf file on windows.
 
  I wanted to mention that there was some bug that I ran into (you're not
  seeing it yet) when the backuppc was using protocol version 26 and
  windows running rsyncd.  You might want to update the server's
  File::RsyncP in cpan.
 
  JH
 
 
  Jim McNamara wrote:
   And the new error makes even less sense to me,
  
   Contents of file /var/lib/backuppc/pc/mas90-server/XferLOG.bad.z,
   modified 2006-12-14 22:12:40
  
   Connected to mas90-server:873, remote version 29
   Negotiated protocol version 26
   Error connecting to module UPC at mas90-server:873: chroot failed
   Got fatal error during xfer (chroot failed)
   Backup aborted (chroot failed)
  
   
  
   I don't have chroot enabled anymore, it is completely absent from the
   rsyncd.conf on the winbox.
  
  
  
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsync error ssh_askpass w/ cygwin

2006-12-12 Thread Jim McNamara
I got the impression that this problem may have been fixed in a newer
version of backuppc, would upgrading help?

I'll try reconfiguring backuppc to do rsyncd instead of rsync if not.

Thanks,
Jim

On 12/12/06, Carl Wilhelm Soderstrom [EMAIL PROTECTED] wrote:
 On 12/11 09:43 , Jim McNamara wrote:
  I am in the process of switching a backup from using smbclient to
  rsync, as it is taking greater than 72 hours to perform a backup. The
  backuppc is running debian stable, backuppc v 2.1.1, and the client
  machine is windows server 2003 with cygwin on it. I have preshared the
  ssh key from the server to the client, and it is able to ssh in
  without any questions:

 I don't know if it's still true, but it used to be that cygwin ssh+rsync
 didn't work. Some bug in there somewhere.

 try using cygwin rsyncd instead.

 --
 Carl Soderstrom
 Systems Administrator
 Real-Time Enterprises
 www.real-time.com

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] rsync error ssh_askpass w/ cygwin

2006-12-11 Thread Jim McNamara
Hello all!

I found some mails in the archive that relates to this problem, but
what seemed to be the solution didn't work for me. I'd like to show
what's happening, and hope to get some input on what the problem is.

Here is the info I found in the archives:

http://sourceforge.net/mailarchive/message.php?msg_id=11630857
-
Sam Przyswa writes:

 I had a BackupPC 2.1.0 version running fine on a machine, I installed a
 new machine with the 2.1.1 version, copy all my setup machine
 ./pc//config.pl files create the .ssh/authorized_keys, then when I
 try to backup machine with the rsync i got now the error:

 Fatal error (bad version): ssh_askpass: exec(/usr/bin/ssh-askpass): No
 such file or directory

 The rsyncd work fine on the same machine.

 I never got that before !?

 Thanks in advance for your help.

Obviously this is a problem with the ssh setup. When BackupPC_dump
tries to run ssh, instead of the getting the rsync version number
instead it gets this string:

ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

Perhaps you have to manually run ssh as the backuppc user to
accept the remote systems identity.

Craig
---

Craig's answer seemed true enough, simply that one of the pair of
machines involved in the ssh session didn't have the fingerprint of
the other machine stored.

I am in the process of switching a backup from using smbclient to
rsync, as it is taking greater than 72 hours to perform a backup. The
backuppc is running debian stable, backuppc v 2.1.1, and the client
machine is windows server 2003 with cygwin on it. I have preshared the
ssh key from the server to the client, and it is able to ssh in
without any questions:

mailbox:~$ whoami
backuppc
mailbox:~$ ssh -l Administrator 192.168.3.1
Last login: Thu Dec  7 22:28:10 2006 from 192.168.2.1

[EMAIL PROTECTED] ~
$

Obviously that goes through cleanly, and I can reverse the process too:

[EMAIL PROTECTED] ~
$ ssh -l backuppc 192.168.2.1
Password:
Linux mailbox 2.6.12.4-take1 #1 Tue Oct 18 14:34:24 EDT 2005 i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have mail.

Last login: Thu Dec  7 22:28:42 2006 from mas90-server
[EMAIL PROTECTED]:~$

Going from client to server does ask for a password, but that
shouldn't be a problem, as ssh is never used in that direction.

Here is the problem when I try to run a rsync backup:

Running: /usr/bin/ssh -q -x -l Administrator mas90-server
/usr/bin/rsync --server --sender --numeric-ids --perms --owner --group
--devices --links --times --block-size=2048 --recursive
--include=/cygdrive --include=/cygdrive/f --include=/cygdrive/f/UPC
--include=/cygdrive/g --include=/cygdrive/g/apps --exclude=/\\\*
--exclude=/cygdrive/\\\* --exclude=/cygdrive/f/\\\*
--exclude=/cygdrive/g/\\\* . /
Xfer PIDs are now 11104
Rsync command pid is 11104
Got remote protocol 1600680819
Fatal error (bad version): ssh_askpass: exec(/usr/bin/ssh-askpass): No
such file or directory

Checksum seed is 1886090081
Got checksumSeed 0x706b7361
Can't write 151 bytes to socket
Sent include: /cygdrive
Sent include: /cygdrive/f
Sent include: /cygdrive/f/UPC
Sent include: /cygdrive/g
Sent include: /cygdrive/g/apps
Sent exclude: /*
Sent exclude: /cygdrive/*
Sent exclude: /cygdrive/f/*
Sent exclude: /cygdrive/g/*
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted by user signal

So after my longwinded buildup (sorry), it seems to me that the ssh
requirements are met, yet for some reason I still get rsync
complaining about ssh-askpass, which it doesn't seem like it should
need.

Please let me know if you need any additional info!

Thanks also for a great piece of software!

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/