Re: [BackupPC-users] add rsync -A -X and get 'Got fatal error during xfer (fileListReceive failed)'

2015-06-26 Thread Bob of Donelson Trophy
 

Holger, thanks for your reply. 

I'll will be running some troubleshooting commands with the rsync "-A"
and "-X" options to see what happens. I have not taken the time to read
up on "File::RsyncP", yet. Plan to do that this weekend. 

You insight is a big help. Thank you. 

---

 ATTENTION: Donelson Trophy will be closed July 3rd for Independence
Day. 
-

Bob Wooden of Donelson Trophy

615.885.2846 (main)
www.donelsontrophy.com [5]

"Everyone deserves an award!!"

On 2015-06-26 08:44, Holger Parplies wrote: 

> Hi,
> 
> Robert Wooden wrote on 2015-06-26 11:45:05 +0000 [Re: [BackupPC-users] add 
> rsync -A -X and get 'Got fatal error during xfer (fileListReceive failed)']:
> 
>> I also posted this on the rsync mailing list . . . more soon.
> 
> and also here on the list. Sorry for not replying yet.
> 
> "This" was:
> 
>> - Original Message - From: "Bob of Donelson Trophy" 
>>  Sent: Thursday, June 25, 2015 6:56:52 AM Subject: 
>> [BackupPC-users] add rsync -A -X and get 'Got fatal error during xfer 
>> (fileListReceive failed)' I am trying to add acl file permissions and attr 
>> to rsync in "RsyncArgs" and "RsyncRestoreArgs" and have discovered that 
>> their addition is not that easy. When backups are run the log files 
>> contains: "Got fatal error during xfer (fileListReceive failed)". Removing 
>> the "-A" and the "-X" allows the backup to proceed without errors. Is there 
>> another 'switch' that needs to be added? Anyone familiar with this addition?
> 
> Simple answer: it won't work.
> 
> BackupPC (version 3) uses the Perl module File::RsyncP on the server side to
> do its part of the communication. It does this for the simple reason that it
> stores file data and metadata differently than the native file system does:
> file data may be optionally compressed and is pooled to save large amounts of
> storage space. File metadata needs to be stored independently because it may
> differ across instances of one pooled file. Adding arbitrary new metadata
> won't just magically work. Someone would need to change the format of BackupPC
> attrib files to allow storing the new (meta-)data as well as implement
> extracting the data from what the remote system sends. This means the rsync
> XferMethod would need to handle multiple combinations of -A and -X switches
> (including both not set). All other XferMethods might need to be adjusted,
> regardless of whether they are even capable of transferring this information.
> All of that could be done, but I don't see anyone doing it any time soon, if
> at all.
> 
> I believe some people use a DumpPreUserCmd (or DumpPreShareCmd) to dump ACLs
> and extended attributes to a file which is then included in the backup.
> Restoring a subset of the backup is probably not easy in this case, though,
> and might require some manual work.
> 
> I'm not sure whether BackupPC v4 supports ACLs and extended attributes.
> 
> Hope that helps.
> 
> Regards,
> Holger
> 
> --
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors 
> network devices and physical & virtual servers, alerts via email & sms 
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o [1]
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users [2]
> Wiki: http://backuppc.wiki.sourceforge.net [3]
> Project: http://backuppc.sourceforge.net/ [4]
 

Links:
--
[1] http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
[2] https://lists.sourceforge.net/lists/listinfo/backuppc-users
[3] http://backuppc.wiki.sourceforge.net
[4] http://backuppc.sourceforge.net/
[5] http://www.donelsontrophy.com
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] add rsync -A -X and get 'Got fatal error during xfer (fileListReceive failed)'

2015-06-26 Thread Holger Parplies
Hi,

Robert Wooden wrote on 2015-06-26 11:45:05 + [Re: [BackupPC-users] add 
rsync -A -X and get 'Got fatal error during xfer (fileListReceive failed)']:
> I also posted this on the rsync mailing list . . . more soon. 

and also here on the list. Sorry for not replying yet.

"This" was:
> - Original Message -
> From: "Bob of Donelson Trophy"  
> Sent: Thursday, June 25, 2015 6:56:52 AM 
> Subject: [BackupPC-users] add rsync -A -X and get 'Got fatal error during 
> xfer (fileListReceive failed)' 
> 
> I am trying to add acl file permissions and attr to rsync in "RsyncArgs" and
> "RsyncRestoreArgs" and have discovered that their addition is not that easy.
> When backups are run the log files contains: "Got fatal error during xfer
> (fileListReceive failed)". Removing the "-A" and the "-X" allows the backup
> to proceed without errors. Is there another 'switch' that needs to be added?
> Anyone familiar with this addition? 

Simple answer: it won't work.

BackupPC (version 3) uses the Perl module File::RsyncP on the server side to
do its part of the communication. It does this for the simple reason that it
stores file data and metadata differently than the native file system does:
file data may be optionally compressed and is pooled to save large amounts of
storage space. File metadata needs to be stored independently because it may
differ across instances of one pooled file. Adding arbitrary new metadata
won't just magically work. Someone would need to change the format of BackupPC
attrib files to allow storing the new (meta-)data as well as implement
extracting the data from what the remote system sends. This means the rsync
XferMethod would need to handle multiple combinations of -A and -X switches
(including both not set). All other XferMethods might need to be adjusted,
regardless of whether they are even capable of transferring this information.
All of that could be done, but I don't see anyone doing it any time soon, if
at all.

I believe some people use a DumpPreUserCmd (or DumpPreShareCmd) to dump ACLs
and extended attributes to a file which is then included in the backup.
Restoring a subset of the backup is probably not easy in this case, though,
and might require some manual work.

I'm not sure whether BackupPC v4 supports ACLs and extended attributes.

Hope that helps.

Regards,
Holger

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] add rsync -A -X and get 'Got fatal error during xfer (fileListReceive failed)'

2015-06-26 Thread Robert Wooden
I also posted this on the rsync mailing list . . . more soon. 

- Original Message -

From: "Bob of Donelson Trophy"  
To: "backuppc-users list"  
Sent: Thursday, June 25, 2015 6:56:52 AM 
Subject: [BackupPC-users] add rsync -A -X and get 'Got fatal error during xfer 
(fileListReceive failed)' 



I am trying to add acl file permissions and attr to rsync in "RsyncArgs" and 
"RsyncRestoreArgs" and have discovered that their addition is not that easy. 
When backups are run the log files contains: "Got fatal error during xfer 
(fileListReceive failed)". Removing the "-A" and the "-X" allows the backup to 
proceed without errors. Is there another 'switch' that needs to be added? 
Anyone familiar with this addition? 


-- 



Bob Wooden of Donelson Trophy 615.885.2846 (main) www.donelsontrophy.com 
"Everyone deserves an award!!" 

-- 
Monitor 25 network devices or servers for free with OpManager! 
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now 
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o 
___ 
BackupPC-users mailing list 
BackupPC-users@lists.sourceforge.net 
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users 
Wiki: http://backuppc.wiki.sourceforge.net 
Project: http://backuppc.sourceforge.net/ 

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] add rsync -A -X and get 'Got fatal error during xfer (fileListReceive failed)'

2015-06-25 Thread Bob of Donelson Trophy
 

I am trying to add acl file permissions and attr to rsync in "RsyncArgs"
and "RsyncRestoreArgs" and have discovered that their addition is not
that easy. When backups are run the log files contains: "Got fatal error
during xfer (fileListReceive failed)". Removing the "-A" and the "-X"
allows the backup to proceed without errors. Is there another 'switch'
that needs to be added? Anyone familiar with this addition? 

-- 

-

Bob Wooden of Donelson Trophy

615.885.2846 (main)
www.donelsontrophy.com [1]

"Everyone deserves an award!!"
 

Links:
--
[1] http://www.donelsontrophy.com
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/