Re: [BackupPC-users] pre-backup encryption? user wants files to be inaccessible even to me :-)

2010-03-23 Thread Cody Dunne
Hi everyone,

On 3/23/2010 3:41 PM, Frank J. Gómez wrote:
 I have an interesting situation here.  One of my users refuses to
 participate in the system of backups because she's concerned about the
 security of her files.  She agreed to participate if I can make the
 system work such that even I am unable to see the contents of her
 files.  She's running Windows -- XP Home, I believe.
snip
 How would you do it?  What encryption software would you use?

Last year I floated the idea on the list of having BackupPC handle the 
encryption for you using convergent encryption. This would let you pool 
encrypted blocks with identical content together just as the pool works 
now. It wouldn't solve the problem of having read access on the remote 
machine, but it would ensure the privacy of backups on the server. I'm 
no encryption expert, but it seemed possible when reading the paper 
(doi:10.1109/ICDCS.2002.1022312).

Here is the earlier conversation:
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/convergent-encryption-98093/

Cody


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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, ssh, and rsync

2010-02-09 Thread Cody Dunne

On 2/6/2010 2:18 PM, Trey Nolen wrote:
 I don't know if this has been mentioned on the list or not, but the new
 Cygwin seems to have fixed the long standing bug that prevents rsync
 from running in server mode over ssh.   Now, we are able to use the
 method rsync instead of rsyncd.  This means that we no longer have
 to maintain persistent SSH tunnels for our backups of Windows
 machines.   The rsync method also seems to be faster for us on WANs as
 well.   Just wanted to let everyone know if this hasn't been brought up.


 Trey Nolen

I've had the reverse happen to me -- after the upgrade from Cygwin 
1.5.25 to 1.7.1 my rscynd backups over pre-established ssh tunnels 
started hanging randomly after ~24 minutes. I've reinstalled Cygwin, 
installed on fresh Win 7 machines, turned off all anti-virus and 
firewalls, and still can't eliminate the problem. It is definitely an 
rsyncd issue and not a ssh one as the tunnel stays up and active waiting.

I'll give rsync over ssh a try again, though.

Cody

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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] Revamping the Wiki

2009-08-12 Thread Cody Dunne
You should be able to access it now. It was from 2/13/2009, so it may be 
a little off by now.

Cody

phil wrote:
 Hey Cody,
 
 Cody Dunne wrote:
 For those of you interested, you can see the current structure of the 
 wiki at: http://www.cs.umd.edu/~cdunne/files/BPCWikiStructure.png
 
 gives me a 404: Page Not Found.
 
 I haven't heard from anyone interested meeting yet, but I'll still plan 
 on having it for anyone who wants to show up.
 
 I really would like to throw in some work hours for the wiki. Maybe you
 me and others that are willing to contribute can work on something like
 a sitemap or structure, so that others can enhance it and know where
 they can put their information into.
 
 I guess you made something like this in your BPCWikiStructure file?
 
 Why Office and PNG, lets made a wiki page (of course :-)
 
 - P hil


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Where is the BackupPC-Wiki?

2009-08-06 Thread Cody Dunne


Filipe Brandenburger wrote:
 On Thu, Aug 6, 2009 at 07:04, p...@backup-and-restore.de wrote:
 I wanted to add some stuff to the wiki (common configuration) but it seems
 that the wiki is no there?

 Question:
 - What is going on?
 - Where is the Wiki?
 
 Oh oh...
 
 Sourceforge discontinued the Wiki service. I got this e-mail from them
snip
 I believe they still should have a backup of the contents just before
 the service was discontinued, and I believe it should be possible to
 request the migration to Trac or MediaWiki by opening a support ticket
 with them.


If not, I have a dump of the wiki from 2/12/2009.

Cody

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] cygrunsrv and Vista - Access Denied

2009-07-13 Thread Cody Dunne
Hi Peter,

Peter Bloomfield wrote:
 Hi,
 
 I am trying to get a Vista box added to the computers backed up by BackupPC 
 and I am
 failing when trying to add the rsyncd service at the windows end.
 
 I  keep getting an 'Access Denied' using the cygrunsrv.exe. In fact, simply 
 listing services using cygrunsrv
 results in the following,
 
   c:/cygwin/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': 
 Win32 error 5
   Access is denied.
   c:/cygwin/bin/cygrunsrv: warning: OpenService failed for 'odserv': 
 Win32 error 5
   Access is denied.
   c:/cygwin/bin/cygrunsrv: warning: OpenService failed for 'ose': Win32 
 error 5
   Access is denied.
   c:/cygwin/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 
 error 5
   Access is denied.
   c:/cygwin/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 
 error 5
   Access is denied.
   c:/cygwin/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 
 error 5
   Access is denied.
 
 The user issuing the cygrunsrv.exe command has administrator privileges. Any 
 suggestions/thoughts will
 be most appreciated.
 
 Thanks
 
 Peter

Did you run the cygwin.bat as administrator?

Cody

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Convergent encryption

2009-05-15 Thread Cody Dunne
Hi Adam,

 From what I've read, it looks like convergent encryption would solve 
all the cases you mention.

1) Any third party wouldn't be able to decrypt the files on the drive, 
even when the server is online or without full drive encryption. The 
server can't ever read file contents.

2) As with 1), administrators wouldn't be able to view file contents. 
The problem you mention of destroying pooling wouldn't apply, as the 
goal of convergent encryption is to still allow the pooling of identical 
files by encrypting them the same way on different machines.

3) The need for encrypted tunnels is still there, but at least file 
contents wouldn't be visible in transit.

Cody

Adam Goryachev wrote:
 
 Cody Dunne wrote:
 I recently ran into a paper on convergent encryption, which is a way of 
 encrypting file blocks by their hashes. The hashes (keys) are stored 
 with the blocks, encrypted with the public key of any authorized 
 readers. This allows a server to pool identical files, as they end up 
 having identical encrypted blocks. This would allow BackupPC to still 
 work as it does now. Naturally, file size, location, quantity, etc are 
 visible but the contents wouldn't be.

 I'm not sure if this has been suggested before, but a brief peruse of 
 the archives didn't turn anything up. It seems like the arguments 
 against encryption in the past found the pooling issue insurmountable.
 
 I suppose there are a number of issues which should be solved by any
 encryption/backup solution, but which issues each person needs solved
 are different.
 
 1) In some cases, the idea is to stop any third party that happens to
 break into the backup server from retrieving the data.
 2) In other cases, you also want to prevent the admin of the backup
 server from being able to access the un-encrypted data
 3) I'm sure there are other scenarios as well, but those are best
 resolved with a VPN/similar solution.
 
 To solve (1) there are probably a number of solutions from using an
 encrypted filesystem, or similar, though I'm not sure how useful that is
 when you need to leave the filesystem mounted 100% of the time so that
 backups can occur when needed. Same applies for auto-mounting the
 filesystem just before a backup, if the system can automount, then so
 could an attacker...
 
 To solve (2) there are also a number of possible solutions, one of which
 was mentioned on this list recently (rsync + encryption) which involved
 creating an encrypted directory structure (copy of the data) and then
 using the standard rsync to backup this encrypted structure.
 
 The ideal solution (from my perspective :) ) would be to have a custom
 open source'backuppc client' which can be installed on any linux or
 windows system, which supports rsync-like backups, with optional
 encryption prior to sending the data. This encryption will probably
 destroy the concept of pooling (unless every encryption key is the same
 on all clients), but it does make use of the other 90% of what backuppc
 provides (scheduling, interface, etc)
 
 Of course, the 'custom open source client' would also solve a number of
 other issues such as allowing the client to select which folders/files
 to include/exclude in the backup etc
 
 Regards,
 Adam

--
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/


[BackupPC-users] Convergent encryption

2009-05-14 Thread Cody Dunne
Hi everyone,

I recently ran into a paper on convergent encryption, which is a way of 
encrypting file blocks by their hashes. The hashes (keys) are stored 
with the blocks, encrypted with the public key of any authorized 
readers. This allows a server to pool identical files, as they end up 
having identical encrypted blocks. This would allow BackupPC to still 
work as it does now. Naturally, file size, location, quantity, etc are 
visible but the contents wouldn't be.

I'm not sure if this has been suggested before, but a brief peruse of 
the archives didn't turn anything up. It seems like the arguments 
against encryption in the past found the pooling issue insurmountable.

I appended bibtex for the paper below.

Cody



@INPROCEEDINGS{Douceur02Reclaimingspacefrom,
   author = {J.~R. Douceur and A. Adya and W.~J. Bolosky and P. Simon 
and M. Theimer},
   title = {Reclaiming space from duplicate files in a serverless 
distributed
file system},
   booktitle = {ICDCS '02: Proc. 22nd International Conference on 
Distributed Computing
Systems},
   year = {2002},
   pages = {617--624},
   month = {2--5 July },
   abstract = {The Farsite distributed file system provides availability 
by replicating
each file onto multiple desktop computers. Since this replication
consumes significant storage space, it is important to reclaim used
space where possible. Measurement of over 500 desktop file systems
shows that nearly half of all consumed space is occupied by duplicate
files. We present a mechanism to reclaim space from this incidental
duplication to make it available for controlled file replication.
Our mechanism includes: (1) convergent encryption, which enables
duplicate files to be coalesced into the space of a single file,
even if the files are encrypted with different users' keys; and (2)
SALAD, a Self-Arranging Lossy Associative Database for aggregating
file content and location information in a decentralized, scalable,
fault-tolerant manner. Large-scale simulation experiments show that
the duplicate-file coalescing system is scalable, highly effective,
and fault-tolerant.},
   doi = {10.1109/ICDCS.2002.1022312},
   url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1022312}
}

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Baking up Windows Vista

2009-04-01 Thread Cody Dunne
Hi Mauro,

Mauro Condarelli wrote:
 Hi,
 I managed to have my backups working for my Linux machines.
 Now I need to add a Win Vista machine as client.
 I browsed the wiki, but I didn't find anything specific and the 
 guidelines for XP seem very old.
 What is the approved method to backup a current (Vista Home SP1) machine?
 I have one share plus the User settings to backup.
 
 Any pointers welcome.

Rsyncd seems to work best, with a preconfigured ssh tunnel if you want 
encryption. All my experience with Vista  BackupPC is documented here: 
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

Cody

--
___
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] Baking up Windows Vista

2009-04-01 Thread Cody Dunne
You're very welcome, and I hope it works for you. Let me know if you 
have any suggestions for additions or find any problems with it.

Cody

o...@jltechinc.com wrote:
 Cody,
 
 Thanks for such an inclusive document!
 
 Many times we as administrators have very limited time to scour all the 
 links related to the many parts of everything we need to manage our 
 customers. I guess I must have look at every link I could find trying to 
 find a working solution that encapsulated Ubuntu, XP, rsync and LVM.
 
 I wish there was one place we could find actual real-world working 
 examples like this one, but unfortunately once many administrators get 
 theirs working, they rarely peruse the discussion groups anymore to give 
 back.
 
 Excellent article.
 
 -obj
 
 
 Cody Dunne said the following on 04/01/2009 12:12 PM:
 Hi Mauro,

 Mauro Condarelli wrote:
   
 Hi,
 I managed to have my backups working for my Linux machines.
 Now I need to add a Win Vista machine as client.
 I browsed the wiki, but I didn't find anything specific and the 
 guidelines for XP seem very old.
 What is the approved method to backup a current (Vista Home SP1) machine?
 I have one share plus the User settings to backup.

 Any pointers welcome.
 
 Rsyncd seems to work best, with a preconfigured ssh tunnel if you want 
 encryption. All my experience with Vista  BackupPC is documented here: 
 http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

 Cody

--
___
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] Need help updating BackupPC wiki

2009-04-01 Thread Cody Dunne
Hi David,

David Lasker wrote:
 I have been working with Jeffrey Kosowsky to add his Windows VSS scripts to
 the wiki. I was able to edit the User Scripts page at
 http://backuppc.wiki.sourceforge.net/CustomUserScripts to add a link to a
 new page:
 http://backuppc.wiki.sourceforge.net/User+Scripts+-+Client+-+Windows+VSS
 
 But I am unable to edit that new page. The new page has a link at the top to
 sign in. When I sign into my sourceforge account (davelasker), the sign-in
 link remains, and there is no link to edit the page. When I click the
 sign-in link a 2nd time, it complains that I am already signed in.
 
 Is there a trick to adding a new page to this wiki?

You have to find the new page link in the Wiki Navigation sidebar, and 
create it before you can edit it. I think you were following a red link 
to a nonexistent page, and trying to edit the welcome page that it went to.

I created it for you, so you should be able to edit it now.

Cody

--
___
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] How scalable is backuppc?

2009-03-13 Thread Cody Dunne
Chris Robertson wrote:
 Mike Dresser wrote:
 Matthias Meyer wrote:
 * Pool is 1852.64GB comprising 8466234 files and 4369 directories
   (as of 3/12 02:26),
 * Pool hashing gives 9654 repeated files with longest chain 85,
 * Nightly cleanup removed 7189 files of size 35.62GB (around 3/12
   02:26),
 * Pool file system was recently at 44% (3/12 12:05), today's max is
   44% (3/12 00:00) and yesterday's max was 44%.
 * Pool is 587.09GB comprising 31187909 files and 4369 directories
   (as of 2009-03-11 14:46),
 * Pool hashing gives 2294 repeated files with longest chain 944,
 * Nightly cleanup removed 1648979 files of size 50.98GB (around
   2009-03-11 14:46),
 * Pool file system was recently at 11% (2009-03-12 11:00), today's
   max is 11% (2009-03-12 07:00) and yesterday's max was 11%.

Has anyone else noticed that all the posted pool information has 4369 
directories listed for the pool? Mine does as well.

Cody

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] error in FAQ about Removing a client (BackupsDisable)

2009-03-10 Thread Cody Dunne
Hi Marthter

marthter wrote:
 The FAQ still talks about setting FullPeriod to -1 or -2 to disable 
 backups instead of the newer method of setting BackupsDisable to 1 or 2:
 
 http://backuppc.sourceforge.net/faq/BackupPC.html#other_installation_topics

You're correct that it needs to be modified, but AFAIK that document 
isn't referred to as the FAQ, just the documentation. It is correct in 
the $Conf{BackupsDisable} section, just not in the one you refer to.

 Also there is (at least the appearance of) a bit of a passing-the-buck 
 problem here between the FAQ and the wiki:
 
 The FAQ http://backuppc.sourceforge.net/faq/ says The FAQ has been 
 replaced by the wiki [link].  These pages are no longer being updated.

This is on the FAQ page, not the documentation page. The FAQ isn't 
updated any more, but AFAIK the documentation is.

 However the wiki http://backuppc.wiki.sourceforge.net/ says This wiki 
 is not intended to replace the excellent BackupPC documentation [link to 
 FAQ].

It doesn't actually link to the FAQ, even though it is in the same 
directory.

 Clearly these are contradictory and cannot both be right.  Where should 
 the above correction about BackupsDisable be made, and who can make it? 
 and which is the current view on which documentation location is 
 accurate, and who can correct that?

Craig updates the documentation, so we can get him to fix it.

Cody

--
___
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] Changing rsyncd listen port on Windows XP computers.

2009-03-02 Thread Cody Dunne
Hi Corey,

Cory Rivera wrote:
 [data]
 path = e:/data
 comment = data share to back up
 auth users = backuppc
 secrets file = c:/rsyncd/rsyncd.secrets
 strict modes = false
 read only = false
 list = false
 port = 1873 (this changes according to what the server has 
 configured for each computer)
 
 I then run services.bat, and verify that the service is running.  I've 
 set up Windows firewall to unblock port 1873 (or the respective port).  
 The problem is, when I go to run BackupPC I check the XferLOG for the 
 computer, and I get an inet connect: Connection refused error on port 
 1873.
 I've narrowed the problem down to this:
 I run netstat -a from the Windows computer and see that TCP 
 computer:1873 is not even listed.  However, TCP computer:873 is in the 
 listening state.  Disabling the rsyncd service removes that line, and 
 enabling it brings it back.  It seems that even though I specified in 
 rsyncd.conf, port = 1873, the daemon still listens on 873.

'port' is a global parameter for rsyncd.conf, not a module one. You need 
to put it above the '[data]' module. See 
http://samba.anu.edu.au/ftp/rsync/rsyncd.conf.html for details. Also, 
make sure you're not specifying '--port' on the command line, which 
would supersede any value in the conf file.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] meaning of different Aborting backup failure messages

2009-02-18 Thread Cody Dunne
Hi everyone,

I added the error message descriptions from this thread to the error 
message page on the wiki: http://backuppc.wiki.sourceforge.net/ErrorMessages

Please see if there's anything you can add or fix for them!

Cody



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] vista backup question

2009-02-16 Thread Cody Dunne
Hi Dashpartha,

Dashpartha wrote:
 Hi ,
 
 I have a Windows Vista system,which i want to take backup through Backuppc.I 
 have already configured backuppc on a linux server(RHELAS4U5)  Taking backup 
 of WINXP Systems,but my problem is  i am not able to install 
 Rsyncd(275KB),while the service .bat file is already running.  also i am not 
 able to start the service in services.msc.the error message shown in BAckup 
 PC Console :Got fatal error during xfer (inet connect: Connection refused).

What .bat file you're referring to?

 Please help me how to install/configure Backuppc on a Windows Vista System in 
 step by step procedure.

Check here for a guide: 
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

Cody

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] BackupPC and Windows/ Cygwin clients via ssh/ rsync

2009-02-16 Thread Cody Dunne
Hi David,

David Christensen wrote:
 However, when I attempt to backup Windows XP Professional SP3/ Cygwin
 machines via ssh/rsync, BackupPC will process anywhere from dozens to
 hundreds of files and then hang, usually on a large file (console
 session follows).

This is a known problem with ssh/rsync on Cygwin. Use rsyncd on the 
windows client instead and if you want ssh, set up a tunnel before hand. 
Here is a guide that will be on the wiki soon: 
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

Cody

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] BackupPC and Windows/ Cygwin clients via ssh/ rsync

2009-02-16 Thread Cody Dunne
Hi David,

David Christensen wrote:
 Regular rsync over SSH doesn't work between Linux and Windows/Cygwin
 boxes because of a bug fixed in rsync 3.0

The following line says the problem still remains with BackupPC, though. 
I'm not sure if plain rsync 3.0/ssh works over cygwin, but it definitely 
doesn't with BackupPC, which uses the File::RsyncP perl module which 
uses the older protocol 28 instead of 30. Maybe someone who knows more 
about it could tell us if it was fixed, and I can update the guide.

 If I rebuild the box using Debian 5, should BackupPC work for Windows/
 Cygwin via ssh/ rsync?

No, see above.

Cody

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] IRC channel invite only?

2009-02-15 Thread Cody Dunne
Hi folks,

Does anyone know why our #backuppc IRC channel on freenode is now invite 
only?

Thanks,
Cody

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] IRC channel invite only?

2009-02-15 Thread Cody Dunne
Hi Royden,

royden yates wrote:
  I wonder if this is it (from 
 
 http://en.wikipedia.org/wiki/Wikipedia:IRC#Error:_Unable_to_join_channel_.28invite_only.29)
 
 Error: Unable to join channel (invite only)
 This error arises on a private channel which empties. Upon emptying,
 various modes (+i) have to be set up again by any channel operator.
 Solution -- you can often ask Freenode's server to invite you manually
 using the invite command (see below). This will work because chanserv
 keeps a record of which channels you can ask for an invite in, and this
 is not lost when the channel empties.
 
 Solution may be there too.

Thanks for the help, but I don't believe the channel was private a few 
days ago when I last logged on, so I don't think I'd be on an invite 
list. Why would it even be set to private? I messaged the two users 
currently on it to see if they could get me an invite but they haven't 
responded.

Cody

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Revamping the Wiki

2009-02-13 Thread Cody Dunne
Johan Ehnberg wrote:
 I for one would be happy to contribute with several complete pages of 
 documentation that I have generated for my clients, once the Wiki is 
 clear enough to start with.

That's fantastic! I'm glad Craig supports it as well. I've marked a few 
of the recent mailing list messages to copy over, but a more consistent 
approach to making a FAQ would be excellent.

What sorts of documentation do you have? It might help in planning out 
the structure, as well as what stuff of mine to contribute as well.

Cody

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Revamping the Wiki

2009-02-13 Thread Cody Dunne
For those of you interested, you can see the current structure of the 
wiki at:
http://www.cs.umd.edu/~cdunne/files/BPCWikiStructure.png
Also, the NodeXL workbook for it is here:
http://www.cs.umd.edu/~cdunne/files/BPCWikiStructure.xlsx
(sorry, Windows/Office2007 only)
If anyone wants to take a shot at modifying it send me what you get or 
an outline.

Jergen, thanks for your offer to help. I agree with your assessment of 
the need to consolidate  simplify the FAQ and Tips and Tricks, but 
would include the Common Configuration Issues section as well. Also we 
could enforce some simple style  formatting guidelines throughout.

I haven't heard from anyone interested meeting yet, but I'll still plan 
on having it for anyone who wants to show up.

Cody

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Revamping the Wiki

2009-02-12 Thread Cody Dunne
Hello everyone,

I've been looking over the BackupPC wiki to find somewhere to integrate 
  my own material, but it's in pretty bad shape. There's no consistent 
structure or formatting, and I remember from my initial experience with 
it that everything was very hard to find.

There is a proposed structure page 
(http://backuppc.wiki.sourceforge.net/ProposedWikiStructure) but it is 
fairly old, has no discussion, and it's suggestions are only partially 
implemented.

I'd be willing to do a lot of the cleaning myself, though I don't want 
to step on anyone's toes without talking with you first. Also, my 
knowledge of BackupPC is fairly limited to my setup (XP/Vista clients  
Ubuntu server).

Who would be interested in a short meeting about this, say this Sunday 
at 12pm via Skype or IRC? My username for both is edallme. Also, please 
send any other suggestions you have to me or add them to the 
ProposedWikiStructure wiki page/discussion.

Regards,
Cody Dunne


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] vista backup question

2009-01-08 Thread Cody Dunne
Hi Holger,

Holger Parplies wrote:
 Hi,
 
 Cody Dunne wrote on 2009-01-08 13:32:00 +0800 [Re: [BackupPC-users] vista 
 backup question]:
 [...]
 See http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html#Xfer
 
 you keep quoting your guide. How about contributing the information (or at
 least the pointer, but better the information) to the wiki?
 
 Regards,
 Holger
 

I copied the excludes a while back to the Common_backup_excludes page on 
the wiki, and keep it updated. If anyone wants to put a link to the 
other parts of my guide on the wiki or even make a page for all of it, 
they're welcome to as long as they cite the source. I'm not interested 
in maintaining both copies, though.

Cody

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] vista backup question

2009-01-07 Thread Cody Dunne
Hi Mark,

Mark Maciolek wrote:
 hi,
 
 Running 3.1.0 on CentOS 5.2 with 40 clients so far mostly Linux systems. 
 Added my first Vista system today. Used Deltacopy to install rsync.
 
 The backup worked but still had 13446 error transfer, mainly file name 
 too long.
 
 Remote[1]: rsync: readlink_stat(All Users/Application Data/Application 
 Data/Application Data/Application Data/Application Data/Application 
 Data/Application Data/Application Data/Application Data/...
 
 
 Basically it is repeating the Application Data over and over again.
 
 Has anyone seen this issue and know how to prevent it?
 
 Mark

That's because rsync is following the Vista junction points for the old 
XP locations of things. See 
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html#Xfer
for the excludes you need to pass to rsync.

Cody

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Passwords for rsync on client

2008-12-24 Thread Cody Dunne
Hi Juergen,

Juergen Harms wrote:
 Things start to run smoothly, backupPC is really nice to install and 
 make running.
 
 But how do I reasonably proceed with password protection for client 
 rsyncd? To get started, I presently use $Conf{RsyncdAuthRequired} = 0; - 
 works nicely, but not protection.
 
 As an alternative I see that I can set that variable to 1, but then I 
 must store the password in the config.pl file - which needs to be world 
 readable. Not a good solution either - are there other alternatives?

Instead of using the rsyncd authentication, you can connect over a ssh 
tunnel that then uses the rsyncd on the client. You then limit rsyncd to 
only accept local connections. That way you have ssh authentication as 
well as encrypted transfer. See 
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html for one way to 
do this.

Cody

--
___
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] Passwords for rsync on client

2008-12-24 Thread Cody Dunne
Hi Juergen,

Juergen Harms wrote:
 Your BackupPC Install Guide is an extremely helpful document!
 
 http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html
 
 Sorry for posting again, but this document is worth the publicity (and I 
 somehow did not see it when I did my initial homework with google).

Thanks! I'm glad you like it. I made it from my installation notes and 
tried to make it as detailed as possible.

Cody

--
___
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] new to backuppc

2008-12-19 Thread Cody Dunne
Hi Anandx,

anandx wrote:

 There is a cygwin+rsync package available on the backuppc sourceforge
 site, which can make it very easy to install rsyncd. If you don't need
 rsync for anything else, and are happy to use rsyncd instead of
 rsync+ssh, then I've found this to be a good solution.

 Saw the package, and after reading the readme, it sure wouldn't be a problem 
 to install it. I have a question on this, enabling the rsyncd on windows 
 machine, does it arise any security issues of any kind ?

Yes, rsyncd doesn't encrypt the file transfer and the authentication is 
less secure than ssh. You can allay these by setting up rsyncd to only 
allow local connections and then using an ssh tunnel for the transfer. 
For a guide, see http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

  Btw any ideas if Backuppc can be configured to backup certain hosts 
at different intervals and certain at different ? Basically i want a 
machine to be backed up daily and keep 7 days backup, then 4 weekly 
backups and no monthly and then another one, i only want the monthly 
backups.

Absolutely. The schedule settings in the CGI interface allow easy 
individual client settings for full backups: FullPeriod (time between 
backups) and FullKeepCnt (the number of backups to keep, which can be 
exponential over time). Similar settings are for incremental backups.

Cody

--
___
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] Junctions on WinXP

2008-11-26 Thread Cody Dunne
Hi Jeffrey,

Jeffrey J. Kosowsky wrote:
 Does BackupPC know how to treat NTFS junction points.
 They are analogous to *nix symbolic links but only work on
 directories.
 
 Based on a little test, it seems like BackupPC does not know about
 them since it seems to have copied over all the data -- i.e. it
 treated the junction as a real directory rather than as a
 symbolic-type link. The attribute file also seems to treat it like a
 normal directory. Now to be fair, rsync does the same, so some of this
 may be an rsync artifact.
 
 Also, my understanding is that Vista introduced a notion of Unix-like
 symbolic links. Does anyone know whether they are treated properly by
 BackupPC? 
 (I don't have Vista around to test but it would even be interesting to
 know how rsync treats them).

I'm not sure about NTFS junction points in general, but in my tests the 
new Vista junction points broke rsync by recursively creating extra-long 
pathnames. I wrote excludes that would get rid of all the ones Vista 
creates for you. See this section on my BackupPC Windows guide for the 
generic excludes: 
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html#Vista

Cody

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Vista client unauthorized user

2008-11-18 Thread Cody Dunne

Oz Dror wrote:
 Thanks for responding.
 
 I have done all the correction that you undigested. I am still havening 
 the auth issue.
 When I run the backup in a command line
 I noticed these lines:
 
 Negotiated protocol version 28
 Got response: 73c7ac91a97cd967d94504b9a6347037
 Auth: got challenge: Mkx8AVu0NSVA9mANktJ9Tg, reply:  c8eskal82WfZRQS5pjRwNw
 Error connecting to module home at 192.168.0.97:873: auth failed on 
 module home
 
 what does that mean? Which user failed Authorization.?  My user account 
 on the vista machine or backuppc user

This is the user that is defined in your rsyncd.secrets file. It 
shouldn't require any other users. I would first check rsyncd.secrets 
and make sure you're passing the right password. You set up

RsyncdUserName - backuppc
RsyncdPasswd - samepasswordasinrsyncd.secrets

in the Xfer settings of backuppc, right?

 does the backuppc needs to be an administrator user of the vista machine
 In my current setup it is not even a user of the vista machine.

Rsyncd should be running as the SYSTEM user, so you won't need a 
backuppc user on the Vista machine unless you want to be able to ssh 
into it or the like.

Are you running something like below to test?
rsync -a [EMAIL PROTECTED]::home /var/lib/backuppc/testing/ -v

If you're looking for a step-by-step guide that works on Vista, check 
out my site:
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

Cody


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Vista client unauthorized user

2008-11-17 Thread Cody Dunne
Oz Dror wrote:
 I have installed xp client unsuccessfully
 
 On vista rsyncd failed.  Any ideas why and how to debug it.
 
 I get the following error:
  auth failed on module home from unknown (192.168.0.4): unauthorized user
 
 /etc/rsyncd:

You mean /etc/rsyncd.conf, right?

 
 gid = users
 read only = false
 use chroot = false
 transfer logging = false
 log file = /var/log/rsyncd.log
 log format = %h %o %f %l %b
 hosts allow = 192.168.0.4
 hosts deny = 0.0.0.0/0

Try removing the allow and deny lines temporarily until it starts working.

 strict modes = false
 [root]
 path = /cygdrive/c/
 auth users = backuppc
 secrets file = /etc/rsyncd.secrets
 [home]
 path = /cygdrive/c/users/[my home dir]/documents/quicken/

Isn't the path case sensitive? e.g.-/cygdrive/c/Users/[my home 
dir]/Documents/Quicken/

 auth users = backuppc

Also case sensitive.

 secrets file = /etc/rsyncd.secrets

backuppc is in there, right? Like this: backuppc:password

 
 Thanks
 Oz

Also, can you connect to it manually or increase the verbosity and tail 
/var/log/rsyncd.log on the client?

Cody

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Any plans to upgrade File::RsyncP to version 30?

2008-11-07 Thread Cody Dunne
Jeffrey J. Kosowsky wrote:
 Heinrich Christian Peters wrote at about 23:52:26 +0100 on Thursday, November 
 6, 2008:
   I think the changes between the protocol 28, 29 an 30 is documented here:
   http://gd.tuwien.ac.at/utils/admin-tools/rsync/OLDNEWS
 
 Very helpful but overwhelming ;)
 
 Sounds like a lot of good improvements in speed, efficiency and
 particularly memory usage.
 
 One change that will likely require updates beyond File::RsyncP is:
   Protocol 30 now uses MD5 checksums instead of MD4.
 
 I assume this would require changes to RsyncDigest.pm and maybe also
 FileZIO.pm to deal with this new digest format. Maybe also a new first
 byte (d8 anybody???).
 
 Still would be great to have an upgrade to fix Windows issues (which
 seem to be pretty prevalent).

I too would love an upgrade to File::RsyncP. Until then, perhaps a 
warning should be put in the documentation about trying to use rsync 
with Windows clients. There isn't anything in there saying to avoid 
rsync, and it was not obvious to me in my initial research that it would 
fail.

Cody

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Problems backing up Windows XP over rsyncd

2008-11-07 Thread Cody Dunne
Heinrich Christian Peters wrote:
   The relevant conifg:
   $Conf{ClientNameAlias} = 'localhost';
   $Conf{RsyncdClientPort} = '10012';
   $Conf{DumpPreUserCmd} = '/etc/backuppc/buildtun $name 22 10012';
   $Conf{DumpPostUserCmd}= '/usr/bin/pkill -u backuppc -f tun$name';
   $Conf{RestorePreUserCmd} = '/etc/backuppc/buildtun $name 22 10012';
   $Conf{RestorePostUserCmd}= '/usr/bin/pkill -u backuppc -f tun$name';
   $Conf{PingCmd} = 'ping -c 1 -w 3 $name';
  
   with /etc/backuppc/buildtun
   #!/bin/bash
   host=$1
   sshPort=$2
   locPort=$3
   remPort=873
   username=backup
  
   /usr/bin/screen -d -m -S tun$host /usr/bin/ssh -q -x -L 
 $locPort:localhost:873 [EMAIL PROTECTED] -p $sshPort
   /bin/sleep 10
   exit 0

 Are /usr/bin/screen... and /bin/sleep 10 on separate lines? If they are, 
 then the goal of making the ssh tunnel wait until BackupPC starts isn't 
 accomplished.
 
 Yes they are in separate lines. After opening the ssh-connection (a real
 shell, but I will change this for the future) the script waits 10sec. If
 I remove the sleep the connection fails, perhaps the tunnel isn't
 really ready?
 
If the tunnel is working for you, this probably isn't the problem but 
it's my only idea. I think if you removed the screen command, it would 
wait until the ssh command was finished and tunnel was ready before 
returning. If you put sleep 10 on the same line as the ssh command, 
sleep gets run on the client. That causes the tunnel to remain open for 
10 seconds after the ssh command executes, which gives BackupPC time to 
connect over it which keeps the tunnel open. This would remove your need 
to explicitly kill the tunnel, as it would finish after BackupPC is done.

 If you do the sleep, I don't think you need screen or the
 DumpPostUserCmd you have. The tunnel will close automatically if  
 BackupPC fails to start or once BackupPC finishes or fails. 
 
 This wasn't working for me, don't know why. But as I already said - I
 don't think, that the ssh-connection is the problem. I can backup my
 linux-pc with the same conifg using a ssh-tunnel, too.
 
 
 My only other ideas for you would be to add -v and and --progress to the 
 RsyncArgs and run BackupPC_dump like you have been. You could tail 
 /var/log/rsyncd.log on the client, too.
 
 I added it, no big different. But in the log of the client I found a
 strange thing: The clients sends 27 (!) files more to the server than he
 receives.

Unfortunately that is the limit of my experience. Does anyone else have 
any ideas for Heinrich?

Cody

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Problems backing up Windows XP over rsyncd

2008-11-06 Thread Cody Dunne
Heinrich Christian Peters [EMAIL PROTECTED] wrote:
 I am using BackupPC (3.1.0-4) on Debian Lenny and cygwin with rsync
 (3.0.4-1) and ssh on Windows XP. I followed this [1] HOWTO (for Win
 2003). Manual rsync-ing (with  without ssh-tunnel) is working fine, but
 using BackupPC hangs randomly (perhaps like [2]?).
 My backup-user in Windows is member of the group backup-operators (or
 similar, I am using a German version).
 
 Is there anybody out there, who successfully using BackupPC to backup
 Windows over rsyncd (with ssh) to give me some hints?
 
 [1]
 http://backuppc.wiki.sourceforge.net/Workaround+BackupPC+Windows+2003+Hang
 [2]
 http://comments.gmane.org/gmane.comp.sysutils.backup.backuppc.general/16775

Hi Heinrich,

I had a lot of difficulty getting rsync to work over ssh for Windows 
clients and ended up creating the tunnels beforehand like your [1]. You 
can't use the standard rsync over ssh in BackupPC without doing it over 
a premade tunnel.

I've been working on an installation guide for XP/Vista from notes of my 
process. I wasn't quite ready to share it, but as it might help you here 
it is: http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

Let me know if it helps you!
Cody Dunne

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Problems backing up Windows XP over rsyncd

2008-11-06 Thread Cody Dunne
Hi Heinrich,

Heinrich Christian Peters wrote:
  Hello Cody,
 
  Am 06.11.2008 21:22, Cody Dunne schrieb:
  Heinrich Christian Peters [EMAIL PROTECTED] wrote:
  I am using BackupPC (3.1.0-4) on Debian Lenny and cygwin with rsync
  (3.0.4-1) and ssh on Windows XP. I followed this [1] HOWTO (for Win
  2003). Manual rsync-ing (with  without ssh-tunnel) is working 
fine, but
  using BackupPC hangs randomly (perhaps like [2]?).
  My backup-user in Windows is member of the group backup-operators (or
  similar, I am using a German version).
 
  [1]
  
http://backuppc.wiki.sourceforge.net/Workaround+BackupPC+Windows+2003+Hang
  [2]
  
http://comments.gmane.org/gmane.comp.sysutils.backup.backuppc.general/16775
  I had a lot of difficulty getting rsync to work over ssh for Windows 
clients and ended up creating the tunnels beforehand like your [1]. You 
can't use the standard rsync over ssh in BackupPC without doing it over 
a premade tunnel.
 
  I've been working on an installation guide for XP/Vista from notes 
of my process. I wasn't quite ready to share it, but as it might help 
you here it is: http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html
 
  I have found your notes before.
I'm amazed you found it already. They've only been online for a few days :)
I tried it, but I can't get it work. I
  have problems to connect, but I think there is not a big different
  between your method and [1]. The ssh-tunnel is working and I can use the
  by BackupPC_dump -f -v $name established tunnel for an other
  rsync-process.
 
  The relevant conifg:
  $Conf{ClientNameAlias} = 'localhost';
  $Conf{RsyncdClientPort} = '10012';
  $Conf{DumpPreUserCmd} = '/etc/backuppc/buildtun $name 22 10012';
  $Conf{DumpPostUserCmd}= '/usr/bin/pkill -u backuppc -f tun$name';
  $Conf{RestorePreUserCmd} = '/etc/backuppc/buildtun $name 22 10012';
  $Conf{RestorePostUserCmd}= '/usr/bin/pkill -u backuppc -f tun$name';
  $Conf{PingCmd} = 'ping -c 1 -w 3 $name';
 
  with /etc/backuppc/buildtun
  #!/bin/bash
  host=$1
  sshPort=$2
  locPort=$3
  remPort=873
  username=backup
 
  /usr/bin/screen -d -m -S tun$host /usr/bin/ssh -q -x -L 
$locPort:localhost:873 [EMAIL PROTECTED] -p $sshPort
  /bin/sleep 10
  exit 0
Are /usr/bin/screen... and /bin/sleep 10 on separate lines? If they are, 
then the goal of making the ssh tunnel wait until BackupPC starts isn't 
accomplished.

I'm not a Linux expert, so this is possibly irrelevant, but why are you 
using /usr/bin/screen -d -m -S tun$host? Is it only for being able to 
kill the tunnel easily after the backup? If you do the sleep, I don't 
think you need screen or the DumpPostUserCmd you have. The tunnel will 
close automatically if BackupPC fails to start or once BackupPC finishes 
or fails. I also removed the -q from the ssh command for some reason... 
but I don't remember now.
  (This is actually a combination of your script and the on in [1]) Btw.
  in your script you have defined a variable username, but you didn't use
  it for the ssh-command.
Thanks for letting me know! I'd appreciate any other additions/fixes you 
come up with.
  Thanks,
  Heinrich

Also, I recently changed the exclude lists on my guide to remove 
trailing slashes on directories. I was getting problems with really long 
temp or cache file names that caused backups to fail silently and I 
haven't had the problem since.

My only other ideas for you would be to add -v and and --progress to the 
RsyncArgs and run BackupPC_dump like you have been. You could tail 
/var/log/rsyncd.log on the client, too.

Perhaps some of the more experienced users here have more insight?

I hope this helps,
Cody

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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/