ADSM-L

Re: Empty Directories

1996-10-01 12:13:05
Subject: Re: Empty Directories
From: "Andrew M. Raibeck" <araibeck AT VNET.IBM DOT COM>
Date: Tue, 1 Oct 1996 09:13:05 PDT
Chuck Mattern writes:

>We recently lost a file system on an HP system.  After restoration
>some of the users complained that some empty subdirectories were
>missing.  I have a directory management class active and thought this
>would handle the problem.  Is there something spoecial I need to do on
>restore to be sure that empty subdirectories are restored?

Incremental backups will back up empty subdirectories. If you are doing only
selective backups, then the empty subdirectories aren't covered.

On the restore side, if you use the command line interface and the -subdir=yes
option, empty subdirectories will be restored. For example, if you are
restoring your /test file system:

     dsmc restore -subdir=yes "/home/*"

will restore all files and subdirectories (including empty) in /home.

From the GUI, you have three restore options:

   - Restore by file specification
   - Restore by directory tree
   - Restore subdirectory branch

Of these options, only "Restore subdirectory branch" will restore empty
subdirectories. Note that in "Restore by file specification", the file list
from which you select the files to restore does not contain entries just for
directories. In "Restore by subdirectory tree", directory names don't show up
on the right-hand side, which shows the files selected for restore.

So... in order to be able to restore empty directories, you must be using
incremental backup. On the restore side, you must either use the command
line with the -subdir=yes option, or "Restore subdirectory branch" from the
GUI.

This is how ADSM works today. Development is looking at improving the over-all
usability and flexibility for future releases/versions, as we know these are
major issues with customers.

Andy Raibeck
ADSM Level 2 Support
<Prev in Thread] Current Thread [Next in Thread>