I am trying to understand how to use BackupRead and BackupWrite correctly to back up data on a computer, and especially for reliable recovery.
Now I understand how to use the API and was successful. However, one thing bothers me. You can make a backup, in addition to the contents of the file itself, of any alternating data streams as well as security information (ACL).
Now, if I store ACL data for backup, and then later, as soon as the data needs to be restored on another computer or on a new installation machine, what should I do with the security identifiers that are associated with the ACL? Probably the SID is no longer suitable for the machine and how to choose the right user? Now I look at it on a larger scale, saying that it is a computer with several users and hundreds or thousands of objects with different settings. It would be useless to recover data using the security settings applied to them again.
Is it something if the software user wants to back up the security settings, what should the user take with him and update accordingly or what?
In addition, BackupRead and BackupWrite will provide me with the raw binary data of these elements, which are not too difficult to use, but it is obvious that this API is not even going to face this problem.
Anyone have an idea how a backup application should handle this situation? What are your thoughts or any pointers to recommendations on this particular topic?
Many thanks.
source
share