Re: [BackupPC-users] Archive ACLs

2022-03-08 Thread ralph strebbing
On Tue, Mar 8, 2022 at 8:18 AM G.W. Haywood via BackupPC-users
 wrote:
> It isn't clear to me exactly what you're doing here, but I thought it
> might be worth a mention that if you back up files from Linux box A
> and restore them to Linux box B you need to be a bit careful about the
> owner and group IDs.  This is because (even if you have exactly the
> same sets of user and group *names* on the two machines) unless you've
> been very careful to keep them in sync there's no guarantee that the
> user and group *names* are associated with the same *numeric* IDs on
> each machine.  Assuming that the IDs having the same relationship on
> different machines is IMHO in most circumstances asking for trouble.

Right, so the primary machine that capturing the ACLs is prevalent, is
our primary file server, if files aren't owned by root, they are owned
by Samba Domain Users or Groups, so yes, the IDs may not exist on the
system, but my goal is to have them preserved regardless for that
reason.

Regards,
Ralph


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Archive ACLs

2022-03-07 Thread ralph strebbing
On Mon, Mar 7, 2022 at 5:02 PM  wrote:
>
> I'm not sure that tarCreate or archiveHost respect ACLs.
> I know that rsync restore does work...
Right, and that's what we're using right now to backup the Hosts. But
now we need to make our offline and offsite backups. So the BackupPC
localhost is now set to Archive xfer mode, and now I need to get ACLs
to preserve throughout this process too.

Regards,
Ralph


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Archive ACLs

2022-03-07 Thread ralph strebbing
Hi again,

So after updating to BackupPC 4.x, ACLs work for rsync (yay). Now what
we're trying to do is get the ACLs working from the Archive host. It
is correctly exporting the tar.gz files, but when I extract them onto
my PC, the files have lost their ownership/group properties and ACLs.
I attempted to modify the arguments on the client end with the
extraction to no avail, so I presume it has something to do with
either the BackupPC_archiveHost or BackupPC_tarCreate scripts. So
ultimately 2 questions:
1. Is ACL/permission preservation supported with Archives? If so, how
can I achieve this?
2. If it isn't supported, how should one go about preserving these
with the archives?

Appreciate any help!

Regards,
Ralph


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] rsync ACL Support

2022-03-04 Thread ralph strebbing
On Thu, Mar 3, 2022 at 11:03 AM ralph strebbing
 wrote:
> I'm attempting an upgrade to 4 now.
So the upgrade to 4 works. Is there any reason that the Ubuntu/Debian
repos aren't using the latest?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] rsync ACL Support

2022-03-03 Thread ralph strebbing
On Thu, Mar 3, 2022 at 11:02 AM  wrote:
>
> ACLs are not supported in 3.x but are supported in 4.x
> Not sure --fake-super is supported but --super is supported.
Yeah, I've just noticed that I'm not on v4, it didn't click until now.
I'm attempting an upgrade to 4 now.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] rsync ACL Support

2022-03-03 Thread ralph strebbing
Hi All,

I'm attempting to set-up BackupPC for use with our linux server
infrastructure, using either rsync or rsyncd. I'm currently running
the Ubuntu package of BackupPC (Version 3.3.2-3), with rsync_bpc
version 3.1.3.0 protocol version 31.

So far things work great! However, I'm running into problems when
attempting to preserve ACLs. So in either the global config or the
host specific config, I add the following to the rsyncExtraArgs:
--acls
and I've also tried adding --fake-super along with the acls option,
and every time I run a backup with the acls arg, I get the following:

rsyncd attempt:
full backup started for directory netfiles (baseline backup #2)
Connected to filesrv1:873, remote version 31
Negotiated protocol version 28
Connected to module netfiles
Sending args: --server --sender --numeric-ids --perms --owner --group
-D --links --hard-links --times --recursive --acls --ignore-times . .
Read EOF:
Tried again: got 0 bytes
Done: 0 files, 0 bytes
Got fatal error during xfer (Unable to read 4 bytes)
Backup aborted (Unable to read 4 bytes)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)

rsync attempt:
full backup started for directory netfiles (baseline backup #2)
Running: /usr/bin/ssh -q -x -l root filesrv1 /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group -D --links --hard-links
--times --recursive --acls --ignore-times . netfiles/
Xfer PIDs are now 141899
Rsync command pid is 141899
Got remote protocol 31
Negotiated protocol version 28
Checksum seed is 1667312941
Got checksumSeed 0x63612d2d
Read EOF:
Tried again: got 0 bytes
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)

Is there something I'm missing? ACL functionality is critical for that
server as we rely on the POSIX ACLs.

Thanks,
Ralph


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/