HELP: Urgent Confirmation about ADVFS file copy procedure needed

From: Guy Dallaire <dallaire_at_total.net>
Date: Fri, 7 Feb 1997 18:12:01 -0500

Hello,

Tomorrow morning, I'll have to temporarily copy some ADVFS file sets to
different disks in order to change something in the HSZ40 config of those
disks. I will take a backup first but a filesystem save/restore on disk
will be a lot faster when the time to restore will come.

I have the following procedure that I would like you to review, if you see
anything bad in it, please say so:

NOTE: I want to copy fileset A from domain DA, mounted under /A on some
disk and restore it later

a) Create a filedomain 'DB' and a fileset 'B' on some other disk, mount the
temporary filesystem under /tempo
b) mount the A fileset read-only (to make sure no one is accessing it while
I copy it)
c) vdump -0 -f - /A | (cd /tempo; vrestore -x -f -)
d) umount fileset A, destroy file domain, do the disk maintenance with the
HSZ, recreate the filedomain + fileset A and mount it read-write
e) vdump -0 -f /tempo | (cd /A; vrestore -x -f -)

That's it. Is it OK ?

The only suspicion I got is the following:

I've noticed that whenever I create a fileset, under the directory onto
which it is mounted, there is a .tags directory as well as a quota.group
and some other file. Won't the vdump from A to /tempo destroy these files ?
Should I instead create a separate directory under /tempo (Ex.:
/tempo/savedset) and vdump the A fileset there instead of /tempo ? I also
worry about cleaning things up in /tempo before dumping another fileset in
it. What happens when the .tags and *.group files get destroyed ?

Thanks
Received on Sat Feb 08 1997 - 00:31:00 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT