gilgut@cg-atlas.UUCP (Steve Gilgut) (06/09/87)
Greetings. I have a small problem with my backup of a live filesystem, that I would like to share/ask for assistance on. Here is some of the environment: 12 RA81's on a VAX 8700. Here is the process in which the backup was created. One drive is "empty", but set up as the "C" partition, mounted as "/backup". A C program using getfsent builds a command line for each mounted filesystem (not including /backup) of this form: /etc/dump 9uf /backup/.[filesystem_name] /dev/ra6f where "[filesystem_name]" is replaced by the "mounted on" name. The "/" filesystem is stored as ".root". In the case of multiple directories, such as "/usr/users", the slashes are replaced by dots as in: ".usr.users". Then, the command "dump 0uf /dev/rmt0h /dev/ra11c" does a level 0 dump of all those files on to the tape. This is actually quite fast, overall. To restore this, the idea is to restore the, for instance, ".usr.users" file from tape back in to the "/backup" filesystem. (Make sure you're in the proper directory...) Then, invoke restore thusly: "restore -ivf /backup/.usr.users" Restore happily extracts the files from the file and you're all set. Now the problem! (You knew this was coming, right?) Great in theory, but in reality, here's what happened. I got the file off the tape OK, but when I invoked restore against the file, I got ". not on file" I was unable to get *ANYTHING* back. Thoughts? Ideas? Help? If it ever works as planned, I will probably post the source! Please email to me. Thanks in advance, Steve -- The Opinions stated herein, etc, ad nauseum..... One if by LAND, Three if by UUCP. :-) Steve Gilgut, The Kernel Kritter Compugraphic Corp. M/S 200-1-7H decvax\ 200 Ballardvale St. ulowell>!cg-atlas!gilgut Wilmington, Mass. 01887 cbosgd!ima/ 658-5600 X5277