Re: [BackupPC-users] Rsyncd cygwin Problem..
So, my goal was going to be rsync on all machines, I seem to have that working fine now on my windows machines, but my work laptop is part of a domain so I figured I would try rsyncd and learn how it worked in the process. It is trying to backup, but it is not following my rules correctly. It is only grabbing one of my directories and I am not sure why! It is only getting the /eng_apps area and not the other two, this was working fine with smb. Start of the LOG file full backup started for directory root (baseline backup #12) Connected to machine:873, remote version 30 Negotiated protocol version 28 Connected to module root Sending args: --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . . Sent include: /users Sent include: /users/wzpcnt Sent include: /data Sent include: /eng_apps Sent exclude: /* Sent exclude: /users/* Rsyncd.conf on machine in c:\cygwin\etc gid = users read only = true use chroot = false transfer logging = false log file = /var/log/rsyncd.log log format = %h %o %f %l %b hosts allow = x.x.x.x hosts deny = 0.0.0.0/0 strict modes = false [root] path = /cygdrive/c/ auth users = backuppc secrets file = /etc/rsyncd.secret machine.pl (I did everything via the CGI I see some smb settings are still in the file, I omitted them this paste, I hope they are not causing the issue) $Conf{BackupFilesOnly} = { '*' = [ '/users/me', '/data', '/eng_apps' ] }; $Conf{ClientCharset} = 'cp1252'; $Conf{RsyncShareName} = [ 'root' ]; $Conf{RsyncdPasswd} = 'xxx'; $Conf{RsyncdUserName} = 'backuppc'; $Conf{XferMethod} = 'rsyncd'; So why is it only getting ONE of the directories I specified? Under which user account is rsyncd running? My first guess would be that it is a permission problem. It may be enlightening to turn transfer logging on. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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] basic backup / BackupFilesOnly
Found it. And it has NOTHING to do with my config - and EVERYTHING to do with where the config is. OLD VERSION:: in the per-PC configuration file, //var/lib/BackupPC//pc/$host/config.pl. NEW VERSION:: __CONFDIR__/pc/HOST.pl per-pc config file I was putting the client config in pc/lamp.config.pl but in the new version it is pc/lamp.pl I found this out by essentially trying to force my config to be used by hard coding my shares into the $Conf{RsyncClientCmd} and having the dump command not change. I messed around some more and found out it was ignoring my client level config entirely. I could only make it do my bidding by changing the master config ... eventually I found the problem. Thanks for talking to me! On Wed, Jan 30, 2013 at 11:01 PM, Adam Goryachev mailingli...@websitemanagers.com.au wrote: On 31/01/13 14:45, Ctdi Unix wrote: Thank you for helping me. You are correct I killed it very quickly. Because in the previous version, the dump command would show the actual shares I wanted on the command line { and not / } and I would not get any messages like *Remote[2]: file has vanished: /proc/2/exe * which indicates it is *really* looking at / and not *only* at the mounts I want. You said: *During this time, the target lamp is looking at every file on the disk, once finished, it will send the list across.* Really it looks at the whole disk when I don't want to backup the whole disk? Is it going to send the whole list across? Has this changed in this version then? Because I can run dump on my old version and it does not do that. * * *If that is not what you want, then you should change the configuration. If you only wish to backup /home/foo and /home/bar you have two options: 1) Setup the shares as /home/foo and /home/bar instead of / 2) Setup the share as /home and use the include or exclude option as needed. If you only need those two directories, then I would just use two shares to back them up. This also means you would probably not need the one-file-system option as you are unlikely to mount other FS under these directories, but I would use it anyway just in case. * FWIW boxes on same lan, no firewall, lamp just has one disk with everything in / OK, so the main thing that was not clear is that you cancelled immediately because it didn't do what you wanted, I assumed it had hung. See above for the solution. Regards, Adam -- Adam Goryachev Website Managerswww.websitemanagers.com.au -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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/ -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ 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] basic backup / BackupFilesOnly
On Thu, Jan 31, 2013 at 1:53 PM, Ctdi Unix ctd...@gmail.com wrote: Found it. And it has NOTHING to do with my config - and EVERYTHING to do with where the config is. OLD VERSION:: in the per-PC configuration file, //var/lib/BackupPC//pc/$host/config.pl. NEW VERSION:: __CONFDIR__/pc/HOST.pl per-pc config file I was putting the client config in pc/lamp.config.pl but in the new version it is pc/lamp.pl I found this out by essentially trying to force my config to be used by hard coding my shares into the $Conf{RsyncClientCmd} and having the dump command not change. I messed around some more and found out it was ignoring my client level config entirely. I could only make it do my bidding by changing the master config ... eventually I found the problem. Did you try using the web interface to make the config changes? -- Les Mikesell lesmikes...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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] basic backup / BackupFilesOnly
I'm kind of a commandline junkie. So using a GUI anything is not really where I go. In my world a GUI is not a better/safer/more accurate way to edit anything. Why bother setting up special permissions for CGI access if you have root and can drive vi like a mad pengiun. So no :) On Thu, Jan 31, 2013 at 3:03 PM, Les Mikesell lesmikes...@gmail.com wrote: On Thu, Jan 31, 2013 at 1:53 PM, Ctdi Unix ctd...@gmail.com wrote: Found it. And it has NOTHING to do with my config - and EVERYTHING to do with where the config is. OLD VERSION:: in the per-PC configuration file, //var/lib/BackupPC//pc/$host/config.pl. NEW VERSION:: __CONFDIR__/pc/HOST.pl per-pc config file I was putting the client config in pc/lamp.config.pl but in the new version it is pc/lamp.pl I found this out by essentially trying to force my config to be used by hard coding my shares into the $Conf{RsyncClientCmd} and having the dump command not change. I messed around some more and found out it was ignoring my client level config entirely. I could only make it do my bidding by changing the master config ... eventually I found the problem. Did you try using the web interface to make the config changes? -- Les Mikesell lesmikes...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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/ -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ 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] basic backup / BackupFilesOnly
On Thu, Jan 31, 2013 at 2:21 PM, Ctdi Unix ctd...@gmail.com wrote: I'm kind of a commandline junkie. So using a GUI anything is not really where I go. In my world a GUI is not a better/safer/more accurate way to edit anything. Why bother setting up special permissions for CGI access if you have root and can drive vi like a mad pengiun. Well, mostly because it would have worked or at least made it obvious that your hand-edited files were in the wrong place. And since it supports adding hosts to the hosts file with a NEW=OLD syntax it really isn't any harder than copying a similar file manually as a starting point. And for most installs the web interface shouldn't need anything special for that part that you don't already need (i.e. a web login for an admin user). So no I'd recommend trying it - you might like it and it at least does some sanity checks on things for you. -- Les Mikesell lesmikes...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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/