Forum Discussion

thatsmartgirl_i's avatar
9 years ago

How to backup directory skeleton with no files

Hello,

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.

Sincerely,

Sandi

  • CraigV's avatar
    CraigV
    9 years ago
    Then you'll have to get every single file extension in those directories and exclude them from the backup.
  • You should simply be able backup the directory. Otherwise put in a dummy text file and then back it up that way. Thanks!
    • There are over 12 TB in a very complex file structure.  I need to backup the file structure ONLY, no files. 

       

      • CraigV's avatar
        CraigV
        Moderator
        Then you'll have to get every single file extension in those directories and exclude them from the backup.
  • 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.