Sorry I was grumpy this morning. Had a rough weekend. Appreciate your thoughtful input.
On Mon, 2019-09-30 at 12:35 +0100, Jamie Burchell wrote: > Since Bob hadn’t come back to confirm whether or not your answer > worked for him, I was simply suggesting what is working for me in > case it helps. > > Kind regards, > > Jamie > -- > From: Mike Hughes [mailto:m...@visionary.com] > Sent: 30 September 2019 11:54 > To: General list for user discussion, questions and support < > backuppc-users@lists.sourceforge.net> > Subject: Re: [BackupPC-users] home directory empty > > The answer has already been provided. If you're still unclear maybe > try googling 'rsync one-file-system' or running lsblk on an affected > system. > > On Sep 30, 2019 03:51, Jamie Burchell <ja...@ib3.uk> wrote: > > I too am using CentOS 7 and that repo. The only thing I can think > > is that defaults on CentOS 7 at least are that home directories are > > owned by their respective user and nobody else can access them. > > BackupPC would need to run as a privileged user for it to be able > > to access those directories. I’d expect to see errors in the log > > though if this were the issue. > > > > > > > > I have: > > > > > > > > $Conf{RsyncClientPath} = 'sudo /usr/bin/rsync'; > > > > > > > > $Conf{RsyncArgs} = [ > > > > '--super', > > > > '--recursive', > > > > '--protect-args', > > > > '--numeric-ids', > > > > '--perms', > > > > '--owner', > > > > '--group', > > > > '-D', > > > > '--times', > > > > '--links', > > > > '--hard-links', > > > > '--delete', > > > > '--delete-excluded', > > > > '--one-file-system', > > > > '--partial', > > > > '--log-format=log: %o %i %B %8U,%8G %9l %f%L', > > > > '--stats', > > > > '--acls', > > > > '--xattrs' > > > > ]; > > > > > > On the client machines in /etc/sudoers: > > > > > > > > backuppc ALL=NOPASSWD: /usr/bin/rsync --server * > > > > > > > > Kind regards, > > > > Jamie > > > > -- > > > > From: Mike Hughes [mailto:m...@visionary.com] > > Sent: 29 September 2019 15:02 > > To: General list for user discussion, questions and support < > > backuppc-users@lists.sourceforge.net> > > Subject: Re: [BackupPC-users] home directory empty > > > > > > > > No, that is the default setting in BPC. So if your /home is on a > > separate partition you either need to remove that setting, or add > > the /home partition as a backup Target in addition to /. > > > > Whichever is your best option is up to you. > > > > > > > > On Sep 29, 2019 06:27, Bob Wooden <b...@donelsontrophy.com> wrote: > > > > Thanks, Michael. > > > > Sorry, not clear if I am to run "rsync --one-file-system" as root > > from > > command line? > > > > The "--one-file-system" is listed in 'RsyncArgs'? > > > > > > On 9/28/19 10:50 AM, Michael Stowe wrote: > > > rsync --one-file-system > > > > > > _______________________________________________ > > 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 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/ -- Mike _______________________________________________ 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/