windows backup without acl always crash

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

windows backup without acl always crash

Farkas Levente
hi,
we use to backup all of our server to backup acls and xattrs too. ie. we
use the pylibacl and pyxattr on the server. although we backup windows
servers too. we mount them with cifs on the backup server and backup the
mounted dir. but after we install the pylibacl and pyxattr on the server
we no longer be able to backup these windows machines, since we got the
error bellow. is it possible to switch of the ea on a given host? ie. is
there any way to inform rdiff-backup no to use acl and xattr? it'd be a
useful option like: -noacl -noxattr. the best would be if rdiff-backup
recognize if these are not suported on the given directory and in this
case don't want to use it. the worse thing that currently it's not
possible to backup some of our server with acl and some others without acl.
thank you for your help in advance.
yours.
-------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
285, in Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
255, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
299, in Backup
    backup_final_init(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
396, in backup_final_init
    checkdest_if_necessary(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
903, in checkdest_if_necessary
    dest_rp.conn.regress.Regress(dest_rp)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
71, in Regress
    ITR.Finish()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line
251, in Finish
    to_be_finished.end_process()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
282, in end_process
    rpath.copy_attribs(rf.metadata_rorp, rf.mirror_rp)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line
161, in copy_attribs
    if Globals.eas_write: rpout.write_ea(rpin.get_ea())
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line
614, in get_ea
    return self.data['ea']
KeyError: 'ea'
-------------------------------------------
--
  Levente                               "Si vis pacem para bellum!"


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: windows backup without acl always crash

Farkas Levente
anybody has any tip about it?

Farkas Levente wrote:

> hi,
> we use to backup all of our server to backup acls and xattrs too. ie. we
> use the pylibacl and pyxattr on the server. although we backup windows
> servers too. we mount them with cifs on the backup server and backup the
> mounted dir. but after we install the pylibacl and pyxattr on the server
> we no longer be able to backup these windows machines, since we got the
> error bellow. is it possible to switch of the ea on a given host? ie. is
> there any way to inform rdiff-backup no to use acl and xattr? it'd be a
> useful option like: -noacl -noxattr. the best would be if rdiff-backup
> recognize if these are not suported on the given directory and in this
> case don't want to use it. the worse thing that currently it's not
> possible to backup some of our server with acl and some others without acl.
> thank you for your help in advance.
> yours.
> -------------------------------------------
> Traceback (most recent call last):
>   File "/usr/bin/rdiff-backup", line 23, in ?
>     rdiff_backup.Main.Main(sys.argv[1:])
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
> 285, in Main
>     take_action(rps)
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
> 255, in take_action
>     elif action == "backup": Backup(rps[0], rps[1])
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
> 299, in Backup
>     backup_final_init(rpout)
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
> 396, in backup_final_init
>     checkdest_if_necessary(rpout)
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
> 903, in checkdest_if_necessary
>     dest_rp.conn.regress.Regress(dest_rp)
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
> 71, in Regress
>     ITR.Finish()
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line
> 251, in Finish
>     to_be_finished.end_process()
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line
> 282, in end_process
>     rpath.copy_attribs(rf.metadata_rorp, rf.mirror_rp)
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line
> 161, in copy_attribs
>     if Globals.eas_write: rpout.write_ea(rpin.get_ea())
>   File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line
> 614, in get_ea
>     return self.data['ea']
> KeyError: 'ea'
> -------------------------------------------


--
  Levente                               "Si vis pacem para bellum!"


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki