Either Robocopy or xcopy. The xcopy syntax is this:
Code:
xcopy <source> <destination> /T /E /O
This will copy the directory structure (/T) including empty subdirectories (/E) and retain ACL's (/O) from the source to the destination. Note that this will not retain shares or share permissions.
I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
That assumes that both servers are available, which is not the case.
All I want to do is backup the directory structure and restore it on another system in a different town, city, country or planet. I'm not bothered about restoring NTFS permissions.
Then get a real backup solution. Or do something like Lemon13 said and create a directory listing and save it off to a different server (if you're worried about DR situations). Write a VBScript to iterate your directory listing and re-create your structure on the fly.
I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
Backup the whole file folder structure with data. Take that data and restore it wherever you need it. Then do a file search on that structure for *.* Then when all the results show up----delete them Folder structure in place; no docs
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.