Hi Bob On 14.07.2017 21:32, Bob Katz wrote:
... snip ... > > > 2017/07/14 15:06:17 [3292] connect from localhost (::1) > 2017/07/14 15:06:17 [3292] rsync denied on module Backup-Data-Folder > from localhost (::1) > ... snip ... > > ####################################################################### > ## > ## RSYNCD config file for the backuppc server > ## > ####################################################################### > > > transfer logging = false > lock file = /var/run/rsync.lock > log file = /var/log/rsyncd.log > pid file = /var/run/rsyncd.pid > port=873 > address=localhost.localdomain > uid=root > gid=root > use chroot=yes > read only = no > ## host allow: this is important. > ## In my case leaving the subnet-mask leads to a failure, > ## so I only provide the IP. > hosts allow = 192.168.0.217, localhost.localdomain I'd use hosts allow = 192.168.0.217, 127.0.0.1 because something has to translate localhost.localdomain to an IP address and if this fails for whatever glitch of the day is present in name resolution, your backup will fail, too. > motd file=/etc/rsyncd/rsyncd.motd > > ## Now you have to declare, in brackets, the RSYNC 'module', or "share > name" as it is called within backuppc > [Backup-Data-Folder] > ## Next, set the path you want backed up. Be sure to use a trailing > slash > path = / Please don't do that: o a Linux system has virtual file systems mounted (/proc, /temp, /sys/ ...) that will either not be readable, change during access or may lead to endless loops. o this includes your /var/lib/backuppc directory. That's where your backup goes, so you backup your backup. It won't take long until the backup of backups of backups (...) will fill up your drive. I'd go for /etc at this point and add additional paths later, when this works. > read only = no > list = yes > auth users = root Most probably, BackupPC will try to connect as user backuppc, not root. At least, that's the default. See 'man rsyncd.conf' (and search for 'auth users'). Please note that auth users is just a user name (which needs a corresponding password in the secrets file). This does not translate to actual users on the system, the user name (and the the corresponding password from the secrets file) are just used to govern access to the rsyncd server share. the access rights to the files are deined by the user rsyncd runs under, so in your case > uid=root > gid=root And have a look at the 'secrets file' section right below. BTW, it is cool that you are still on it and, despite all the troubles you went through, did not abandon the whole project! With kind regards Stefan Peter -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? (See https://en.wikipedia.org/wiki/Posting_style for details) ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ 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/