[BackupPC-users] how read .z log files ?
Hi Carl Use BackupPC_zcat to catenate the file. On Debian-ish systems it's /usr/share/backuppc/bin/BackupPC_zcat Thank you it works fine +-- |This was sent by ivy-al...@hotmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] MOTD breaking rsync...
On Monday 13 Sep 2010 21:51:24 RC wrote: So, have we established that this list is useless, or what? Do non-trivial issues need to go to -dev instead, where someone capable might see them? Whatever this list is good for, I certainly don't feel compelled to assist you now. Regards, Tyler -- If we don't believe in free expression for people we despise, we don't believe in it at all. -- Noam Chomsky -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] rsync with windows/cygwin
Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. As i run into problems with rsyncd+ssh i wonder if the rsync problem still persists or if it can be used now. About the rsyncd problem: rsyncd trys to connect directly and is not using the ssh tunnel. I found documents about this problem but if rsync would work i would save the time solving the problem. Thx for your help Michael H. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] Restore takes way too long and the fails
On Monday 13 September 2010 23:26:42 Les Mikesell wrote: On 9/13/2010 10:49 AM, Marcus Hardt wrote: [..] And, of course I'm in deep shit now, since I told everone how super great backuppc was... There is at least the option of downloading an archive file through a browser and restoring from that. Well, yes and no. I've downloaded the tarball. It's 129Gig of size. Now tar is letting me down, it's not processing the whole file, just the start of it. Let me guess: 2GB? What a nightmare... -- M. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] Restore takes way too long and the fails
Update: tar xf restore.tar will fail, if restore.tar is pretty big cat restore.tar | tar x seems to work And I thought windows was terrible... M. On Monday 13 September 2010 23:26:42 Les Mikesell wrote: On 9/13/2010 10:49 AM, Marcus Hardt wrote: Hi, btw: this problem seems to be client unspecific. I see the same errors using smbclient and rsync via ssh. But windows specific? Are you sure the windows user has write access and the file isn't locked by something else having it open? And, of course I'm in deep shit now, since I told everone how super great backuppc was... There is at least the option of downloading an archive file through a browser and restoring from that. -- M. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] rsync with windows/cygwin
Thx fort he info sorin and gerald. I will look into into. In the meantime i tried standard rsync over ssh. The backup works fine with a „small“ problem: BackupFilesExclude http://178.63.102.70:8080/BackupPC_Admin?action=viewtype=docs#_conf_backupfilesexclude_ doenst work at all. I dont know if thats the mentioned rsync bug or not but basic operation is working now. I use centos 5.4 with backuppc 3.2.0. client is a win2003 server running cygwin. So either i take care of the BackupFilesExclude problem or the rsyncd problem. Which method you think is the better one for this scenario if both would work ? michael Von: Gerald Brandt [mailto:g...@majentis.com] Gesendet: Dienstag, 14. September 2010 13:34 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin From: Michael MH. Heel m...@heel-data.de To: backuppc-users@lists.sourceforge.net Sent: Tuesday, September 14, 2010 4:07:06 AM Subject: [BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. As i run into problems with rsyncd+ssh i wonder if the rsync problem still persists or if it can be used now. About the rsyncd problem: rsyncd trys to connect directly and is not using the ssh tunnel. I found documents about this problem but if rsync would work i would save the time solving the problem. Thx for your help Michael H. Here is how I did it. If you don't want to use Microsoft's VSS, that part can be skipped. http://geraldbrandt.com/2010/06/08/backuppc-with-sshrsyncvss-on-windows-server/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] rsync with windows/cygwin
-Original Message- From: Michael MH. Heel [mailto:m...@heel-data.de] Sent: Tuesday, September 14, 2010 11:07 AM To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. The only way I was able to get rsync to work with BPC was rsyncd on the BPC-side, and MobaSSH on the Windows-side. YMMV I guess. This was on Windows Server 2003 and Windows Server 2003 R2, both were the 32b-versions. HTH. -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] Backing-up BackupPC ?
Les Mikesell wrote: When you are using the web interface to browse the backups you have the option to select a directory or collection of files and download it as a tar archive. You can do that from the same or a different computer and download to that external drive. Thanks as ever for your valuable advice. Tim -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] rsync with windows/cygwin
From: Michael MH. Heel m...@heel-data.de To: backuppc-users@lists.sourceforge.net Sent: Tuesday, September 14, 2010 4:07:06 AM Subject: [BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. As i run into problems with rsyncd+ssh i wonder if the rsync problem still persists or if it can be used now. About the rsyncd problem: rsyncd trys to connect directly and is not using the ssh tunnel. I found documents about this problem but if rsync would work i would save the time solving the problem. Thx for your help Michael H. Here is how I did it. If you don't want to use Microsoft's VSS, that part can be skipped. http://geraldbrandt.com/2010/06/08/backuppc-with-sshrsyncvss-on-windows-server/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] rsync with windows/cygwin
There was a bug in older versions of cygwin/rsync which did not work as a server over ssh. It would hang up, so you had to run rsync as a daemon and set up shares. However, that has since been fixed, so you should be able to run rsync/ssh just fine. I suspect your problem with BackupFileExclude is that you are not including the full path. If you are using a Windows client, your full path will be something like /cygdrive/c/Program Files/something to not backup. If you are neglecting the /cygdrive/c/ part, that may be your issue. Trey Nolen Michael MH. Heel wrote: Thx fort he info sorin and gerald. I will look into into. In the meantime i tried standard rsync over ssh. The backup works fine with a „small“ problem: BackupFilesExclude http://178.63.102.70:8080/BackupPC_Admin?action=viewtype=docs#_conf_backupfilesexclude_ doenst work at all. I dont know if thats the mentioned rsync bug or not but basic operation is working now. I use centos 5.4 with backuppc *3.2.0. client is a win2003 server running cygwin. * *So either i take care of the BackupFilesExclude problem or the rsyncd problem. Which method you think is the better one for this scenario if both would work ?* * * *michael* ** *Von:* Gerald Brandt [mailto:g...@majentis.com] *Gesendet:* Dienstag, 14. September 2010 13:34 *An:* General list for user discussion,questions and support *Betreff:* Re: [BackupPC-users] rsync with windows/cygwin *From: *Michael MH. Heel m...@heel-data.de *To: *backuppc-us...@lists.sourceforge.net *Sent: *Tuesday, September 14, 2010 4:07:06 AM *Subject: *[BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. As i run into problems with rsyncd+ssh i wonder if the rsync problem still persists or if it can be used now. About the rsyncd problem: rsyncd trys to connect directly and is not using the ssh tunnel. I found documents about this problem but if rsync would work i would save the time solving the problem. Thx for your help Michael H. Here is how I did it. If you don't want to use Microsoft's VSS, that part can be skipped. http://geraldbrandt.com/2010/06/08/backuppc-with-sshrsyncvss-on-windows-server/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] rsync with windows/cygwin
On 9/14/10 6:05 AM, Sorin Srbu wrote: -Original Message- From: Michael MH. Heel [mailto:m...@heel-data.de] Sent: Tuesday, September 14, 2010 11:07 AM To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. The only way I was able to get rsync to work with BPC was rsyncd on the BPC-side, and MobaSSH on the Windows-side. YMMV I guess. This was on Windows Server 2003 and Windows Server 2003 R2, both were the 32b-versions. I think the current cygwin (1.7.x) version will work with rsync started by sshd. A bug in earlier versions caused that to hang randomly. -- Les Mikesell lesmikes...@gmail.com -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] Restore takes way too long and the fails
On 9/14/10 6:16 AM, Marcus Hardt wrote: Update: tar xf restore.tar will fail, if restore.tar is pretty big cat restore.tar | tar x seems to work That doesn't make much sense. What version of tar is this? -- Les Mikesell lesmikes...@gmail.com -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] rsync with windows/cygwin
-Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Tuesday, September 14, 2010 2:54 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] rsync with windows/cygwin The only way I was able to get rsync to work with BPC was rsyncd on the BPC-side, and MobaSSH on the Windows-side. YMMV I guess. This was on Windows Server 2003 and Windows Server 2003 R2, both were the 32b-versions. I think the current cygwin (1.7.x) version will work with rsync started by sshd. A bug in earlier versions caused that to hang randomly. Thanks. I might look into this later. As it is now, it's working fine even with huge amounts of data being transferred from the Win-Servers. I'm not too keen of fixing something that doesn't need fixing. ;-) -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] Restore takes way too long and the fails
Update: On Tuesday 14 September 2010 13:16:01 Marcus Hardt wrote: Update: tar xf restore.tar will fail, if restore.tar is pretty big fails cat restore.tar | tar x seems to work fails But: using the 'i' option for -i, --ignore-zeros ignore zeroed blocks in archive (means EOF) makes tar wander through the archive even thought it might have detected EOF markers (i.e. two consecutive zero-filled records according to the wikipedia page of the tar format) I observed several warnings in my cmdline: tar tfi restore.tar |wc -l tar: Skipping to next header tar: Skipping to next header tar: Skipping to next header tar: Skipping to next header tar: Skipping to next header tar: Skipping to next header tar: Skipping to next header tar: Skipping to next header tar: Exiting with failure status due to previous errors 387781 I can only hope this works and helps others. M. And I thought windows was terrible... M. On Monday 13 September 2010 23:26:42 Les Mikesell wrote: On 9/13/2010 10:49 AM, Marcus Hardt wrote: Hi, btw: this problem seems to be client unspecific. I see the same errors using smbclient and rsync via ssh. But windows specific? Are you sure the windows user has write access and the file isn't locked by something else having it open? And, of course I'm in deep shit now, since I told everone how super great backuppc was... There is at least the option of downloading an archive file through a browser and restoring from that. -- M. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] rsync with windows/cygwin
Thx fort he tip. I checked the client config file and found this: $Conf{BackupFilesExclude} = { '/cygdrive/e/daten/install' = [ '' ], '/cygdrive/e/daten/Profile' = [ '' ] It looks so bad lol i cant tell. I have to see how i managed to get that done via the webinterface. I started a new attempt with the correct format (webinterface looks better now also). But still it backs up the Profile folder. Could it be i need to delete the backups done so far as they contain parts of the /Profile folder ? michael Von: Trey Nolen [mailto:supp...@internetpro.net] Gesendet: Dienstag, 14. September 2010 14:44 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin There was a bug in older versions of cygwin/rsync which did not work as a server over ssh. It would hang up, so you had to run rsync as a daemon and set up shares. However, that has since been fixed, so you should be able to run rsync/ssh just fine. I suspect your problem with BackupFileExclude is that you are not including the full path. If you are using a Windows client, your full path will be something like /cygdrive/c/Program Files/something to not backup. If you are neglecting the /cygdrive/c/ part, that may be your issue. Trey Nolen Michael MH. Heel wrote: Thx fort he info sorin and gerald. I will look into into. In the meantime i tried standard rsync over ssh. The backup works fine with a „small“ problem: BackupFilesExclude http://178.63.102.70:8080/BackupPC_Admin?action=viewtype=docs#_conf_backupfilesexclude_ doenst work at all. I dont know if thats the mentioned rsync bug or not but basic operation is working now. I use centos 5.4 with backuppc 3.2.0. client is a win2003 server running cygwin. So either i take care of the BackupFilesExclude problem or the rsyncd problem. Which method you think is the better one for this scenario if both would work ? michael Von: Gerald Brandt [mailto:g...@majentis.com] Gesendet: Dienstag, 14. September 2010 13:34 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin From: Michael MH. Heel m...@heel-data.de mailto:m...@heel-data.de To: backuppc-users@lists.sourceforge.net Sent: Tuesday, September 14, 2010 4:07:06 AM Subject: [BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. As i run into problems with rsyncd+ssh i wonder if the rsync problem still persists or if it can be used now. About the rsyncd problem: rsyncd trys to connect directly and is not using the ssh tunnel. I found documents about this problem but if rsync would work i would save the time solving the problem. Thx for your help Michael H. Here is how I did it. If you don't want to use Microsoft's VSS, that part can be skipped. http://geraldbrandt.com/2010/06/08/backuppc-with-sshrsyncvss-on-windows-server/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] rsync with windows/cygwin
I did further test with different excludes. All with no success. i think the the rsyncsharename is the problem. The rsyncd config was clear as you define the share on the client in the rsyncd.conf. rsync on one of my nix machines work fine. So i think the rssyncsharename in is the problem and the excludes never get touched at all. Here is my client-config: $Conf{PingCmd} = '/bin/true'; $Conf{PingMaxMsec} = 200; $Conf{ClientCharset} = 'cp1252'; $Conf{ClientCharsetLegacy} = 'cp1252'; $Conf{RsyncShareName} = [ '/cygdrive/e/daten' ]; $Conf{BackupFilesExclude} = { '*' = [ '/cygdrive/e/daten/install', '/cygdrive/e/daten/Profile', ] }; $Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath $argList+'; $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath $argList+'; $Conf{XferMethod} = 'rsync'; $Conf{XferLogLevel} = 1; Starting with ‘/‘ doenst make much sense as there are multiple drives. michael Von: Michael MH. Heel [mailto:m...@heel-data.de] Gesendet: Dienstag, 14. September 2010 15:42 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin Thx fort he tip. I checked the client config file and found this: $Conf{BackupFilesExclude} = { '/cygdrive/e/daten/install' = [ '' ], '/cygdrive/e/daten/Profile' = [ '' ] It looks so bad lol i cant tell. I have to see how i managed to get that done via the webinterface. I started a new attempt with the correct format (webinterface looks better now also). But still it backs up the Profile folder. Could it be i need to delete the backups done so far as they contain parts of the /Profile folder ? michael Von: Trey Nolen [mailto:supp...@internetpro.net] Gesendet: Dienstag, 14. September 2010 14:44 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin There was a bug in older versions of cygwin/rsync which did not work as a server over ssh. It would hang up, so you had to run rsync as a daemon and set up shares. However, that has since been fixed, so you should be able to run rsync/ssh just fine. I suspect your problem with BackupFileExclude is that you are not including the full path. If you are using a Windows client, your full path will be something like /cygdrive/c/Program Files/something to not backup. If you are neglecting the /cygdrive/c/ part, that may be your issue. Trey Nolen Michael MH. Heel wrote: Thx fort he info sorin and gerald. I will look into into. In the meantime i tried standard rsync over ssh. The backup works fine with a „small“ problem: BackupFilesExclude http://178.63.102.70:8080/BackupPC_Admin?action=viewtype=docs#_conf_backupfilesexclude_ doenst work at all. I dont know if thats the mentioned rsync bug or not but basic operation is working now. I use centos 5.4 with backuppc 3.2.0. client is a win2003 server running cygwin. So either i take care of the BackupFilesExclude problem or the rsyncd problem. Which method you think is the better one for this scenario if both would work ? michael Von: Gerald Brandt [mailto:g...@majentis.com] Gesendet: Dienstag, 14. September 2010 13:34 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin From: Michael MH. Heel m...@heel-data.de mailto:m...@heel-data.de To: backuppc-users@lists.sourceforge.net Sent: Tuesday, September 14, 2010 4:07:06 AM Subject: [BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. As i run into problems with rsyncd+ssh i wonder if the rsync problem still persists or if it can be used now. About the rsyncd problem: rsyncd trys to connect directly and is not using the ssh tunnel. I found documents about this problem but if rsync would work i would save the time solving the problem. Thx for your help Michael H. Here is how I did it. If you don't want to use Microsoft's VSS, that part can be skipped. http://geraldbrandt.com/2010/06/08/backuppc-with-sshrsyncvss-on-windows-server/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] rsync with windows/cygwin
Seems like i found the right setup for rsync/cygwin. It didnt help to use the full path for excludes. It didnt help to start with /cygdrive. Like this subdirectories exclusion ('/234/aaa') work also: $Conf{PingCmd} = '/bin/true'; $Conf{PingMaxMsec} = 200; $Conf{ClientCharset} = 'cp1252'; $Conf{ClientCharsetLegacy} = 'cp1252'; $Conf{RsyncShareName} = [ '/cygdrive/e/daten' ]; $Conf{BackupFilesExclude} = { '*' = [ '/123', '/345', '/678', '/3455', '/234', '/234/aaa' ] }; $Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath $argList+'; $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath $argList+'; $Conf{XferMethod} = 'rsync'; $Conf{XferLogLevel} = 1; Thx a lot for you all your help michael Von: Michael MH. Heel Gesendet: Dienstag, 14. September 2010 17:11 An: 'General list for user discussion,questions and support' Betreff: AW: [BackupPC-users] rsync with windows/cygwin I did further test with different excludes. All with no success. i think the the rsyncsharename is the problem. The rsyncd config was clear as you define the share on the client in the rsyncd.conf. rsync on one of my nix machines work fine. So i think the rssyncsharename in is the problem and the excludes never get touched at all. Here is my client-config: $Conf{PingCmd} = '/bin/true'; $Conf{PingMaxMsec} = 200; $Conf{ClientCharset} = 'cp1252'; $Conf{ClientCharsetLegacy} = 'cp1252'; $Conf{RsyncShareName} = [ '/cygdrive/e/daten' ]; $Conf{BackupFilesExclude} = { '*' = [ '/cygdrive/e/daten/install', '/cygdrive/e/daten/Profile', ] }; $Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath $argList+'; $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath $argList+'; $Conf{XferMethod} = 'rsync'; $Conf{XferLogLevel} = 1; Starting with ‘/‘ doenst make much sense as there are multiple drives. michael Von: Michael MH. Heel [mailto:m...@heel-data.de] Gesendet: Dienstag, 14. September 2010 15:42 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin Thx fort he tip. I checked the client config file and found this: $Conf{BackupFilesExclude} = { '/cygdrive/e/daten/install' = [ '' ], '/cygdrive/e/daten/Profile' = [ '' ] It looks so bad lol i cant tell. I have to see how i managed to get that done via the webinterface. I started a new attempt with the correct format (webinterface looks better now also). But still it backs up the Profile folder. Could it be i need to delete the backups done so far as they contain parts of the /Profile folder ? michael Von: Trey Nolen [mailto:supp...@internetpro.net] Gesendet: Dienstag, 14. September 2010 14:44 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin There was a bug in older versions of cygwin/rsync which did not work as a server over ssh. It would hang up, so you had to run rsync as a daemon and set up shares. However, that has since been fixed, so you should be able to run rsync/ssh just fine. I suspect your problem with BackupFileExclude is that you are not including the full path. If you are using a Windows client, your full path will be something like /cygdrive/c/Program Files/something to not backup. If you are neglecting the /cygdrive/c/ part, that may be your issue. Trey Nolen Michael MH. Heel wrote: Thx fort he info sorin and gerald. I will look into into. In the meantime i tried standard rsync over ssh. The backup works fine with a „small“ problem: BackupFilesExclude http://178.63.102.70:8080/BackupPC_Admin?action=viewtype=docs#_conf_backupfilesexclude_ doenst work at all. I dont know if thats the mentioned rsync bug or not but basic operation is working now. I use centos 5.4 with backuppc 3.2.0. client is a win2003 server running cygwin. So either i take care of the BackupFilesExclude problem or the rsyncd problem. Which method you think is the better one for this scenario if both would work ? michael Von: Gerald Brandt [mailto:g...@majentis.com] Gesendet: Dienstag, 14. September 2010 13:34 An: General list for user discussion,questions and support Betreff: Re: [BackupPC-users] rsync with windows/cygwin From: Michael MH. Heel m...@heel-data.de mailto:m...@heel-data.de To: backuppc-users@lists.sourceforge.net Sent: Tuesday, September 14, 2010 4:07:06 AM Subject: [BackupPC-users] rsync with windows/cygwin Hello. I am testing BackupPC since a few days for backing up Windows PCs. Most information i got tell me to use rsyncd when it comes to windows machines due to a bug. As i run into problems with rsyncd+ssh i wonder if the rsync problem still persists or if it can be used now. About the rsyncd problem: rsyncd trys to connect directly
Re: [BackupPC-users] MOTD breaking rsync...
Tyler J. Wagner tyler at tolaris.com writes: Whatever this list is good for, I certainly don't feel compelled to assist you now. Neither you, nor anyone else had offered any assistance before, so I'm not seeing the downside. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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] MOTD breaking rsync...
You seem to be acting a twit, but I guess even twits deserve a little help. If you want the benefits of rsync then you must live with its limitations. I mean your living with SCO (SCO really, are you serious??!). If you can't manage to get SCO to behave then simply configure rsync in daemon mode and be done with it. Once you start using rsync in your daily life you find it to be an indispensable tool. On Sep 14, 2010 3:22 AM, Tyler J. Wagner ty...@tolaris.com wrote: On Monday 13 Sep 2010 21:51:24 RC wrote: So, have we established that this list is useless, or what? Do non-trivial issues need to go to -dev instead, where someone capable might see them? Whatever this list is good for, I certainly don't feel compelled to assist you now. Regards, Tyler -- If we don't believe in free expression for people we despise, we don't believe in it at all. -- Noam Chomsky -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] MOTD breaking rsync...
On 10-09-14 09:18 PM, Jon Craig wrote: You seem to be acting a twit, but I guess even twits deserve a little help. If you want the benefits of rsync then you must live with its limitations. I mean your living with SCO (SCO really, are you serious??!). If you can't manage to get SCO to behave then simply configure rsync in daemon mode and be done with it. Once you start using rsync in your daily life you find it to be an indispensable tool. On Sep 14, 2010 3:22 AM, Tyler J. Wagner ty...@tolaris.com mailto:ty...@tolaris.com wrote: On Monday 13 Sep 2010 21:51:24 RC wrote: So, have we established that this list is useless, or what? Do non-trivial issues need to go to -dev instead, where someone capable might see them? Whatever this list is good for, I certainly don't feel compelled to assist you now. Regards, Tyler -- If we don't believe in free expression for people we despise, we don't believe in it at all. -- Noam Chomsky Try touch .hushlogin in the users home to suppress MOTD and other stuff. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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/