From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f0e5b26eb9d0b6e4 X-Google-Attributes: gidfa528,public X-Google-Thread: fee84,f0e5b26eb9d0b6e4 X-Google-Attributes: gidfee84,public From: "magra" Subject: Re: Best way to backup/restore Tru64 system? Date: 2000/05/25 Message-ID: <8gjtvq$l7s$1@bw107zhb.bluewin.ch>#1/1 X-Deja-AN: 627287624 References: X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Complaints-To: newsmaster@bluewin.ch X-Trace: bw107zhb.bluewin.ch 959281978 21756 195.186.145.55 (25 May 2000 19:12:58 GMT) Organization: Swisscom AG, the blue window X-MSMail-Priority: Normal NNTP-Posting-Date: 25 May 2000 19:12:58 GMT Newsgroups: comp.unix.tru64,comp.unix.osf.osf1 Hi, check this approach: 1. boot the Operating System CD 2. go to the shell prompt 3. cd /var/dev 3. ./MAKEDEV tzxx (where xx is the tape-drive device number; creates device special files) 4. ./MAKEDEV rzxx (where xx is the actually system disk where / and /usr are located) 5. mkfdmn /dev/rzxxa root_domain (recreate advfs root domain) 6. A message appears who ask you if you really want to create the file-domain. type yes 7. mkfset root_domain root (creates fileset) 8. mount -r root_domain#root /mnt (mounts fileset) 9. cd /mnt 10. vrestore xvf /dev/nrmtxh . (restores the first fileset on tape in /mnt) 11. cd / 12. umount /mnt 13. mkfdmn /dev/rzxxg usr_domain (recreate advfs usr domain) 14. A message appears who ask you if you really want to create the file-domain. type yes 15. mkfset usr_domain usr (creates usr fileset) 16. mount usr_domain#usr /mnt (mounts fileset) 17. cd /mnt 18. vrestore xvf /dev/nrmtxh . (restores the first fileset on tape in /mnt) 19. mt -f /dev/rmtxh rew (tape rewind) 20. cd / 21. umount /mnt 22. now you have restored / and /usr and you can reboot the alpha 23. when the machine is in multiuser you can restore other files with networker PLEASE READ THE MAN PAGES OF THE VARIOUS COMMANDS LIKE mkfdmn, mkfset, mount, vrestore, vdump before you try to restore the system. It helps to understand better what you are doing!! Enjoy! magra "Malcolm Dunnett" wrote in message news:YUEm4N$g3VL8@malvm2.mala.bc.ca... > > Forgive me if this is a dumb question, but I've just been > thinking about recovery procedures on a Tru64 system > and I'm not sure what the best approach might be. > > I back up everything with Networker, and for failures > which don't damage the system ( or the /nsr directory ) it > appears that restoring with Networker is pretty > straightforward. What about the cases where Networker > isn't available though ( because / or /usr has been > trashed)? I presume that for those situations one > would fall back to a dump of those file systems, but > how does one "bootstrap" the recovery process? > > I'm basically a VMS person - in that world one would do > an image backup of the system disk and use standalone > backup to restore that image if the system disk failed. > I don't see the equivalent functionality in Tru64, if > it's there pointers would be appreciated. > > The approach I've come up ( untested as of yet ) would be: > > - keep relatively current dumps ( or vdumps ) of / , /usr > and /var file systems. > > - in event of catastrophic failure, do a full install > of Tru64 onto replacement system disk ( which will wipe all > exising data ). Boot that system and then vrestore the /, > /usr and /var file systems onto the new system ( is it > safe to restore / like this while running in single-user > mode? ). > > - Reboot system after restoring these dumps. Networker > should now be available ( assuming it was installed before > the dumps were created ). Use Networker to restore the > current versions of files in those file systems from the > current Networker savesets. > > This seems like a rather awkward approach, so I'm hoping > someone can point me to a better one. The goal is to have > a backup procedure which can be pretty much automated > (not require frequent periods of single user mode ) but > still produce a backup which can recover from catastrophic > failures. > > ============================================================================ = > Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca > Information Systems Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738 > >