Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-24 Thread Craig Barratt via BackupPC-users
Jeff, I did set the policy to permissive. If I get some time I'll try again. Craig On Sat, May 23, 2020 at 10:30 PM wrote: > Thanks Craig. > The --specials now works (and I agree with both you and Michael that > it is not useful... but it validates that the restore is 'perfect' as > far as

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-23 Thread backuppc
Thanks Craig. The --specials now works (and I agree with both you and Michael that it is not useful... but it validates that the restore is 'perfect' as far as rsync is concerned) Regarding selinux, you can turn it on in 'permissive' (non-enforcing) mode in which case it shouldn't do anything

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-23 Thread backuppc
Michael Stowe wrote at about 03:25:45 + on Saturday, May 23, 2020: > On 2020-05-22 16:49, backu...@kosowsky.org wrote: > > Michael Stowe wrote at about 22:18:50 + on Friday, May 22, 2020: > > > On 2020-05-22 11:42, backu...@kosowsky.org wrote: > > > > 1. Sockets are restored as

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-23 Thread Craig Barratt via BackupPC-users
While I agree with Michael that restoring sockets isn't that useful (since they are only created by a process that is receiving connections on a unix-domain socket), I did fix the bug that causes them to be

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-22 Thread Michael Stowe
On 2020-05-22 16:49, backu...@kosowsky.org wrote: Michael Stowe wrote at about 22:18:50 + on Friday, May 22, 2020: > On 2020-05-22 11:42, backu...@kosowsky.org wrote: > > 1. Sockets are restored as regular files not special files --> BUG? > > Why would one back up a socket? I am

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-22 Thread
Michael Stowe wrote at about 22:18:50 + on Friday, May 22, 2020: > On 2020-05-22 11:42, backu...@kosowsky.org wrote: > > 1. Sockets are restored as regular files not special files --> BUG? > > Why would one back up a socket? I am testing the fidelity of the backup/restore cycle.. > > If

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-22 Thread backuppc
"" wrote at about 14:42:10 -0400 on Friday, May 22, 2020: > Craig, > Using rsync (rather than tar) to restore, I think I confirmed several > bugs with the handling of sockets and SELinux attributes > > Hopefully, I have provided enough info to debug... > > In summary: > 0. All my ACLs

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-22 Thread Michael Stowe
On 2020-05-22 11:42, backu...@kosowsky.org wrote: 1. Sockets are restored as regular files not special files --> BUG? Why would one back up a socket? If you really think this is sensible, you should be able to accomplish it with "--devices --specials" as part of your rsync command lines.

Re: [BackupPC-users] Testing full restore of backuppc... MULTIPLE BUGS???

2020-05-22 Thread
Craig, Using rsync (rather than tar) to restore, I think I confirmed several bugs with the handling of sockets and SELinux attributes Hopefully, I have provided enough info to debug... In summary: 0. All my ACLs are dumped & restored properly (with rsync) --> GOOD 1. Sockets are restored as