Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Directory-only backup

Status
Not open for further replies.

domw001

IS-IT--Management
Oct 11, 2000
8
GB
Does anyone know if its possible to backup the file directory structure without it's contained data?

Thanks
 
That creates a directory file list.

I want to create a backup of the directory structure so I can restore it onto another disk.
 
file directory structure without it's contained data?"

isnt that just a file list?
u could use the output of the dir command to create the folder/files via a script.

i dont understand what u wanne do with it???
 
I have a requirement to restore directories/folders only - no actual data contained in them.


 
You could use robocopy to just copy the directory structure between 2 servers.

-------------------------------

If it doesn't leak oil it must be empty!!
 
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.

If you don't think its possible let me know.

 
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)
 
Agreed Backup Exec or similar can do this for you.

-------------------------------

If it doesn't leak oil it must be empty!!
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top