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-08 Thread G.W. Haywood via BackupPC-users

Hi there,

On Tue, 8 Mar 2022, ralph strebbing wrote:


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 ...


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.

If that's not the sort of thing you're doing, or you have it all under
control, please forgive the intrusion. :)

--

73,
Ged.


___
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 Paul via BackupPC-users
In the past, rather than use the BackupPC archive function, I used rsync from 
the command line to back-up my Backuppc server to a removable USB drive on a PC 
on my network.  Don’t know if that will work for you but, may be worth 
exploring.






Paul Herron 
p...@october11th.com | +1 (202) 413-2678 :cell

> On Mar 7, 2022, at 10:31 PM, ralph strebbing  wrote:
> 
>> 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 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/


Re: [BackupPC-users] Archive ACLs

2022-03-07 Thread backuppc
I'm not sure that tarCreate or archiveHost respect ACLs.
I know that rsync restore does work...
ralph strebbing wrote at about 15:53:24 -0500 on Monday, March 7, 2022:
 > 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/


___
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/