عاوز اخد كوبى للملفات مع permissions بتاعتها هل فى طريقة لاخدها عالسيرفر مع permissions دون ان يحدث اى مشاكل
عرض للطباعة
عاوز اخد كوبى للملفات مع permissions بتاعتها هل فى طريقة لاخدها عالسيرفر مع permissions دون ان يحدث اى مشاكل
راجع هذة المقالة
https://support.microsoft.com/kb/323007
Backup and Restore of NTFS Permissions
----------------------------------------------------------
1-Use this command to backup NTFS permissions:
icacls d:\data /save ntfsperms.txt /t /c
The /T switch allows it to get subfolder permissions too. The /C switch allows it to continue even if errors are encountered (although errors will still be displayed).
2-Copy files to the new server with the same name of old server
3-Use this command to restore them:
icacls d:\ /restore c:/users/administrator/ntfsperms.txt
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup and Restore of Share Permissions
--------------------------------------------------------
To backup share permissions, export the Shares registry key.
1.Open Regedit to the following location:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServe r\Shares
2.Right-click the Shares registry key and select Export. Give it a file name such as shareperms.reg.
When you want to restore the permissions, double-click shareperms.reg to import it back into the registry.
Or
Use the Reg tool to backup the registry key from the command line:
1- reg export HKLM\SYSTEM\CurrentControlSet\Services\LanmanServe r\Shares shareperms.reg
2-If you need to restore it at some point, just run:
reg import shareperms.reg
Notes
--------------------
1-Folders name that has spaces and folders that has arabic name not working with this command
u must rename folder with name without space after u restore permission
rename it with the old name
2-If the partition has too much files u must backup every folder seperatly
3-New share server must have same ip and name for the old one
-------------------------------------------------------------------------
ارجو تثبيت الموضوع حيث انه من المواضيع المهمة فعلا