Hello Lionel,

On 18.01.22 10:27, Lionel PLASSE wrote:
Ok

The file daemon : 9.6.6 (20Sep20) Microsoft Standard Edition (build 9200), 
64-bit,Cross-compile,Win64
  is under windows server 2012-r2.
I backup the entire  c:\ (wilddir certain non essential directory)

I then restore the c: drive on a NTFS partitioned drive  on the  linux  Bacula 
server (directly on a ntfs drive mounted  on a /restore dir)  and I after plug 
the drive onto my windows server (for disaster recovery),
It does not recovered NTFS acls

I've made a script which backup acls with iacls  prior the backup (results in  
a txt file into the backup that I restore  after with ialcs in safe mode). It 
works and I have a procedure to rebuild manually the bootloader, so I can deal 
with it.

Maybe  my mount point interferes during the restore job?
I will retest later, And check all the steps. It is a bit complex but it works, 
waiting I find the time to study this  case in details (sorry for my English)

You have raised the reason why it is not working. If you restore on a Windows, you will get the attributes back. If you restore on a CIFS mount, it will not be restored, and even some parameters like the user/group will depend on the user used to mount the share. It's very primitive. Recent versions of Samba can map windows attributes to extended attributes, but I think you need to backup & restore from the same CIFS share, and it's not your goal.

The solution to the problem is to dump attributes and restore them afterward, well done.

Best Regards,

Eric



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to