I've a webserver Windows 2003. When I do a backup in a zip of some folders, the permissions of the folder doesnt restore when i unzip the compress file. How can I do a zip saving the original permissions or how can i do a backup with all permissions keep intact?
I cant install any software, its a production server.
You can do it with a two-step process. If that 2003 server has SP2 on it, you have access to the
icacls
utility. With that you can run:That will create a file with all of the rights stored in it, keep it with the zip. To restore
If you don't have icacls on the system, there isn't much help. Happily, icacls is included on Windows Vista and higher, so if you can access the data via a mapped drive, you can run it from the client-side and drop the file where you need it.
I used robocopy, its a cmd application that i can run and comes with Windows.
It works as: