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:[email protected]]
*Sent:* 29 September 2019 15:02
*To:* General list for user discussion, questions and support <
[email protected]>
*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 <[email protected]> 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
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/