BackupPC-users

Re: [BackupPC-users] Fwd: Re: BackupPC 4.0 --acls question

2015-09-09 07:59:54
Subject: Re: [BackupPC-users] Fwd: Re: BackupPC 4.0 --acls question
From: Bob of Donelson Trophy <bob AT donelsontrophy DOT net>
To: backuppc-users list <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 09 Sep 2015 06:57:52 -0500

I have discovered that if I select ONLY the "--xattr" the log file says the following:

XferLOG file /bpc4data/pc/192.168.1x6.53/XferLOG.8.z created 2015-09-09 07:37:56 
Backup prep: type = incr, case = 4, inPlace = 0, doDuplicate = 0, newBkupNum = 8, newBkupIdx = 3, lastBkupNum = 7, lastBkupIdx = 2 (FillCycle = 0, noFillCnt = 1)
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /bpc4data --bpc-host-name 192.168.1x6.53 --bpc-share-name / --bpc-bkup-num 8 --bpc-bkup-comp 3 --bpc-bkup-prevnum 7 --bpc-bkup-prevcomp 3 --bpc-bkup-inode0 293973 --bpc-log-level 1 -e /usr/bin/ssh -l root --rsync-path=/usr/bin/rsync --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times --links --hard-links --delete --partial --log-format=log: %o %i %B %8U,%8G %9l %f%L --stats --xattr --exclude=/proc --exclude=/dev --exclude=/tmp --exclude=/sys --exclude=/var/tmp --exclude=/var/cache --exclude=/var/spool --exclude=/var/run --exclude=/var/lock --exclude=/home/*/lost+found --exclude=/mnt --exclude=/media --exclude=/lost+found 192.168.1x6.53:/ /
incr backup started for directory /
Xfer PIDs are now 17721
This is the rsync child about to exec /usr/local/bin/rsync_bpc
rsync_bpc: --xattr: unknown option
rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3]
rsync_bpc exited with fatal status 1 (256) (rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3])
Xfer PIDs are now 
Got fatal error during xfer (rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3])
Backup aborted (rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3])
BackupFailCleanup: nFilesTotal = 0, type = incr, BackupCase = 4, inPlace = 0, lastBkupNum = 7
Removing empty backup #7
BackupPC_backupDelete: removing #7
BackupPC_backupDelete: Merge into backup 6
BackupPC_backupDelete: got 0 errors
Running BackupPC_refCountUpdate -h 192.168.1x6.53 -f on 192.168.1x6.53
xferPids 17729
BackupPC_refCountUpdate: host 192.168.1x6.53 got 0 errors
BackupPC_refCountPrint: total errors: 0
xferPids
Finished BackupPC_refCountUpdate (running time: 3 sec)

&&&&&&&

If select ONLY "--acls" the log file says:

XferLOG file /bpc4data/pc/192.168.1x6.53/XferLOG.9.z created 2015-09-09 07:52:33 
Backup prep: type = incr, case = 4, inPlace = 0, doDuplicate = 0, newBkupNum = 9, newBkupIdx = 3, lastBkupNum = 8, lastBkupIdx = 2 (FillCycle = 0, noFillCnt = 1)
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /bpc4data --bpc-host-name 192.168.16.53 --bpc-share-name / --bpc-bkup-num 9 --bpc-bkup-comp 3 --bpc-bkup-prevnum 8 --bpc-bkup-prevcomp 3 --bpc-bkup-inode0 293973 --bpc-log-level 1 -e /usr/bin/ssh -l root --rsync-path=/usr/bin/rsync --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times --links --hard-links --delete --partial --log-format=log: %o %i %B %8U,%8G %9l %f%L --stats --acls --exclude=/proc --exclude=/dev --exclude=/tmp --exclude=/sys --exclude=/var/tmp --exclude=/var/cache --exclude=/var/spool --exclude=/var/run --exclude=/var/lock --exclude=/home/*/lost+found --exclude=/mnt --exclude=/media --exclude=/lost+found 192.168.1x6.53:/ /
incr backup started for directory /
Xfer PIDs are now 17758
This is the rsync child about to exec /usr/local/bin/rsync_bpc
rsync_bpc: ACLs are not supported on this client
rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3]
rsync_bpc exited with fatal status 1 (256) (rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3])
Xfer PIDs are now 
Got fatal error during xfer (rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3])
Backup aborted (rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3])
BackupFailCleanup: nFilesTotal = 0, type = incr, BackupCase = 4, inPlace = 0, lastBkupNum = 8
Removing empty backup #8
BackupPC_backupDelete: removing #8
BackupPC_backupDelete: Merge into backup 6
BackupPC_backupDelete: got 0 errors
Running BackupPC_refCountUpdate -h 192.168.1x6.53 -f on 192.168.1x6.53
xferPids 17766
BackupPC_refCountUpdate: host 192.168.1x6.53 got 0 errors
BackupPC_refCountPrint: total errors: 0
xferPids
Finished BackupPC_refCountUpdate (running time: 2 sec)


If I do not backup "--acls" and "--xattr" BackupPC 4.0 works perfectly.

 

---

_______________________________

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com

"Everyone deserves an award!!"

On 2015-08-29 07:24, Bob of Donelson Trophy wrote:

I posted this to the user mailing list three (3) weeks ago.

Thought I would followup as I never received an answer or suggestion.

. . . anybody backing up ACL's and xattr file permissions with BPC4.0?

 

---

_______________________________

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com

"Everyone deserves an award!!"

-------- Original Message --------

Subject: Re: [BackupPC-users] BackupPC 4.0 --acls question
Date: 2015-08-08 17:12
From: Bob of Donelson Trophy <bob AT donelsontrophy DOT net>
To: backuppc-users list <backuppc-users AT lists.sourceforge DOT net>
Reply-To: bob AT donelsontrophy DOT net

 

To add some info that may or may not help . . .

The Samba4 fileserver uses 'ext4' file structure. (If that matters.)

The "other linux clients" do not backup 'acls' or 'xattr' attributes.

And I found a bug report (3828) at https://bugzilla.samba.org/show_bug.cgi?id=3828 from 2006 referencing rsync version 2.6.8 and how "That warning means that rsync was patched with ACL support but not configured with it enabled. You'll need to contact whomever packaged it, since they're the only ones that can change the package . . ."

Realizing that this bug (3828) conversation is talking about "rpm" packaged rsync-2.6.8 that was not "enabled during configuration" and the errors are very, very similar to that I am receiving. I wondered if there was any connection.

I cannot find any further info on rsync_bpc . . . of course it is unique to BackupPC-4.0.0alpha3

Anyone else backing up "ACLS" and "xattr" attributes without issues like I am having?

 

---

_______________________________

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com

"Everyone deserves an award!!"

On 2015-08-07 17:47, Bob of Donelson Trophy wrote:

I have a functional BackupPC 4.0.0alpha3 running on CentOS 7.

I have one client that is my Samba4 fileserver running Debian 7.8.0 with (Sernet)Samba 4.2.3 that is handling ACL and xattr file attributes of my W7 clients. So, acl and xattr are setup on that machine.

I am currently backup (with BPC4) other linux clients without issue.

I have set "RsyncArgsExtra" for "--acls" and "--xattrs" as instructed by the wiki. (At least, I think I am interrupting that correctly.)

When I do a "fullbackup" (the first attempt) I get the following in the log file:

XferLOG file /bpc4data/pc/192.168.xxx.xxx/XferLOG.0.z created 2015-08-07 17:52:20 
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /bpc4data --bpc-host-name 192.168.xxx.xxx --bpc-share-name / --bpc-bkup-num 0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 1 --bpc-log-level 1 -e /usr/bin/ssh -l root --rsync-path=/usr/bin/rsync --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times --links --hard-links --delete --partial --log-format=log: %o %i %B %8U,%8G %9l %f%L --stats --checksum --acls --xattrs --exclude=/proc --exclude=/dev --exclude=/tmp --exclude=/sys --exclude=/var/tmp --exclude=/var/cache --exclude=/var/spool --exclude=/var/run --exclude=/var/lock --exclude=/home/*/lost+found --exclude=/mnt --exclude=/media --exclude=/lost+found 192.168.xxx.xxx:/ /
full backup started for directory /
Xfer PIDs are now 4199
This is the rsync child about to exec /usr/local/bin/rsync_bpc
rsync_bpc: ACLs are not supported on this client
rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3]
rsync_bpc exited with fatal status 1 (256) (rsync error: syntax or usage error (code 1) at main.c(1439) [client=3.0.9.3])
Xfer PIDs are now 
Got fatal error during xfer (No files dumped for share /)
Backup aborted (No files dumped for share /)
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1, inPlace = 1, lastBkupNum = 
Removing empty backup #0
BackupPC_backupDelete: removing #0
BackupPC_backupDelete: No prior backup for merge
BackupPC_backupDelete: got 0 errors
Running BackupPC_refCountUpdate -h 192.168.xxx.xxx -f on 192.168.xxx.xxx
xferPids 4204
BackupPC_refCountUpdate: host 192.168.xxx.xxx got 0 errors
BackupPC_refCountPrint: total errors: 0
xferPids
Finished BackupPC_refCountUpdate (running time: 0 sec)

(The 'xxx.xxx' has replaced my actual ip address.)

If the client is storing files that include acl and xattr file permissions why am I getting that ". . . ACLs are not supported on this client . . ."?

--

_______________________________

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com

"Everyone deserves an award!!"

------------------------------------------------------------------------------

_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [BackupPC-users] Fwd: Re: BackupPC 4.0 --acls question, Bob of Donelson Trophy <=