Hello,

Le Tuesday 28 April 2009 22:40:40 Stephen Thompson, vous avez écrit :
> Hello,
>
> Could someone please document how to implement the restore
> attribute-only feature in 3.0.0?

I've an old patch that did the work for 2.0 version, you can take a look and 
get ideas from it.

see trunk/patches/testing/project-restore-attributes-only.patch
and trunk/patches/testing/project-restore-attributes-only.readme

My idea was to add a new option to the "replace" mode (overwrite, ifnewer,
ifolder, never, etc...) to restore only file attributes (and ACL). After, when 
this option is used, the code just skip the data restoration.

I don't know if it's the best way to do the work, but it should work :)

The actual patch wasn't tested in all cases, so it needs tests and review. 

Bye

>  >  Item 13:  Restore only file attributes (permissions, ACL, owner,
>  >  group...)
>
> thanks!
> Stephen



------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to