restore only NTFS permissions for file/directory

damiri

ADSM.ORG Member
Joined
May 25, 2005
Messages
31
Reaction score
0
Points
0
Website
Visit site
Hi



from time to time I need to restore only permissions on certain folder or file leaving file the way it is that time.



Is this possible to make with tsm ee 5.3.2.0? If yes, how?



Best regards



Damir
 
you can afford it with the folders by rstoring directory only with ntfs permission (by default) it should be fatser to than files restore....



here is waht a TSMmers post here a long time a go,

hope it's help



Hi, I am afraid this is wrong.

I do not now any way how to store/restore security information only =

apart

from using special tools.



The one I used to use can be found on www.lanicu.com and could help =

you,

if it is worth for you to invest couple of hours (download, read =

manual,

install, test, use). As far as I can remember there used to be test =

version

donloadable,

fully functional, time restricted.



The scenario would look like that:

1) restore your files(!) along with security information

to another path or another server in the same domain (this is critical)

2) run the iculan tool ("intensive care", I believe)

to save security information of files restored.

This will be saved in plain text file.

3) delete all those restored files, you won=B4t need them any more.

4) edit paths in the text file above so that they point to your =

original

path.

5) run the iculan tool to apply the security information from the text =

file

to your original files.



This will NOT save you from restoring all file this time,

but you can labor while others are using your file server.

If this suites to you or not, only you can decide.



And, if you are afraid this situation can repeat

, you could use the iculan

for daily saving of complete domain information to text files,

thus be ready for next disaster, then without need to restore files.



Not an easy, but once in use it works like a breeze, - you decide=20

if it is worth the time and money.
 
Hi



thank you for reply and your time. Yes, I am aware of this but I was looking only for simple solution. For example ntbackup has this as well as some other tools and if you managing a lots of directories then you need from time to time ability to quick restore permissions. I hope people from TSM development will add this feature to one of upcoming versions.



Damir
 
I know this thread is old, but here's a solution for someone having the same trouble :
For exemple : if your want to restore the security of folder c:\data\
1) restore your directory somewhere else (ex : c:\data_temp\)
2) Use this script to extract the NTFS security information from the restored directory c:\data_temp\ :
http://windowsitpro.com/article/art...cript-backup-or-restore-ntfs-permissions.html
3) With a program like Notepad++, search and replace all "c:\data_temp\" for "c:\data\"
4) rename the files produced by the script accordingly (the script needs the file to be correctly named, corresponding to the path of the folder).
5) restore the security with the same script
 
Forgot to mention : subinacl.exe (used in the script) is only for 32 bit systems. Will not work on 64 bit.

To workaround this problem, you could run the script from a 32 bit Windows and backup and restore from a share folder of the 64 bit system.
 
Back
Top