I need to backup a directory skeleton (with permissions) but without the files.
For all the curious: This is a storage location for SQL and Oracle backups. If the location were lost, we would need to recreate the directory, share and permission structure immediately. The content would not not be needed.
Solved! Go to Solution.
There is no way to just simply backup the directory tree. If you don't backup any file, then nothing get backed up, including the directory tree. To backup the directory tree you need to backup at least one file for each of the nodes in the lowest level of the directory tree.
Note that share permission is not backed up when you backup a directory. This is because the share information is kept in the registry.