* Best way to backup/restore Tru64 system?
@ 2000-05-23 4:00 Malcolm Dunnett
2000-05-24 4:00 ` Stuart R. Fuller
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Malcolm Dunnett @ 2000-05-23 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-23 4:00 Best way to backup/restore Tru64 system? Malcolm Dunnett
@ 2000-05-24 4:00 ` Stuart R. Fuller
2000-05-25 4:00 ` Paul Francis
2000-05-25 4:00 ` magra
` (2 subsequent siblings)
3 siblings, 1 reply; 10+ messages in thread
From: Stuart R. Fuller @ 2000-05-24 4:00 UTC (permalink / raw)
Malcolm Dunnett (dunnett@mala.bc.ca) wrote:
:
: 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? ).
Almost right.
Instead of doing a full install, boot the installation CDROM. You'll get a
menu consisting of "standard install", "custom install" or "get a shell
prompt".
Get the shell prompt:
- disklabel the new disk
- make temporary file domain(s) and fileset(s) (if using advfs)
- mount them
- restore them from your most recent vdumps
Then, continue as you'd already indicated.
Stu
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-24 4:00 ` Stuart R. Fuller
@ 2000-05-25 4:00 ` Paul Francis
2000-05-28 4:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 10+ messages in thread
From: Paul Francis @ 2000-05-25 4:00 UTC (permalink / raw)
Also it should be possible to use dd if you want to make an image backup
onto an identical disk. You simply copy from one disk onto the other.
Paul;
"Stuart R. Fuller" wrote:
>
> Malcolm Dunnett (dunnett@mala.bc.ca) wrote:
> :
> : 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? ).
>
> Almost right.
>
> Instead of doing a full install, boot the installation CDROM. You'll get a
> menu consisting of "standard install", "custom install" or "get a shell
> prompt".
>
> Get the shell prompt:
>
> - disklabel the new disk
> - make temporary file domain(s) and fileset(s) (if using advfs)
> - mount them
> - restore them from your most recent vdumps
>
> Then, continue as you'd already indicated.
>
> Stu
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-23 4:00 Best way to backup/restore Tru64 system? Malcolm Dunnett
2000-05-24 4:00 ` Stuart R. Fuller
@ 2000-05-25 4:00 ` magra
2000-05-28 4:00 ` Alan Davis
2000-05-29 4:00 ` Hans-Peter Zahno
3 siblings, 0 replies; 10+ messages in thread
From: magra @ 2000-05-25 4:00 UTC (permalink / raw)
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" <dunnett@mala.bc.ca> 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
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-23 4:00 Best way to backup/restore Tru64 system? Malcolm Dunnett
2000-05-24 4:00 ` Stuart R. Fuller
2000-05-25 4:00 ` magra
@ 2000-05-28 4:00 ` Alan Davis
2000-05-29 4:00 ` Hans-Peter Zahno
3 siblings, 0 replies; 10+ messages in thread
From: Alan Davis @ 2000-05-28 4:00 UTC (permalink / raw)
The CDROM boot/label disks/make fs/restore method will
work in many cases. With the newer systems where LSM
encapsulation is an option at installation or where LSM has
been used to encapsulate and mirror root/swap the process
is a bit more complicated. The basic process is the same,
but once restored you may also have to manually remove
the encapsulation then when the system is stable, re-encap
and mirror again.
Malcolm Dunnett <dunnett@mala.bc.ca> wrote in article
<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.
> ...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-25 4:00 ` Paul Francis
@ 2000-05-28 4:00 ` Serguei Patchkovskii
2000-05-30 4:00 ` Jesper Frank Nemholt
0 siblings, 1 reply; 10+ messages in thread
From: Serguei Patchkovskii @ 2000-05-28 4:00 UTC (permalink / raw)
Paul Francis (xyz@xyz.com) wrote:
: Also it should be possible to use dd if you want to make an image backup
: onto an identical disk. You simply copy from one disk onto the other.
Unfortunately, the "simply" part will not work under Tru64: the disk label
(block 0) is write-protected from accesses via the regular block ro character
device writes, and has to be written by disklabel. However, something like:
dd if=/dev/rrz8c bs=1k count=63 iseek=1 oseek=1 of=/dev/rrz9c
dd if=/dev/rrz8c bs=64k iseek=1 oseek=1 of=/dev/rrz9c
works Ok.
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-23 4:00 Best way to backup/restore Tru64 system? Malcolm Dunnett
` (2 preceding siblings ...)
2000-05-28 4:00 ` Alan Davis
@ 2000-05-29 4:00 ` Hans-Peter Zahno
2000-05-30 4:00 ` R: " Marco Conti
3 siblings, 1 reply; 10+ messages in thread
From: Hans-Peter Zahno @ 2000-05-29 4:00 UTC (permalink / raw)
Hi,
I tried to use another approach, creating a bootable tape,
but without success yet.
The idea was to create a bootable tape with the btcreate utility
and using the 'custom_install.sh' script of the 'btextract' for
automating the bootsrapping, which consists of launching
the Networker 'restore'.
Unfortunately, we didn't succeed yet, an I'm wondering if
somebody uses this approach and could help me.
Creating the bootable tape with btcreate worked.
When we booted from the tape, the system comes up but hangs after
a certain time with the following messages:
..
vm_swap_init: warnign /sbin/swapdefault swap device not found
vw_swap_init: swap is set to lazy (overcommitment) mode
(and the system hangs...)
We'ra running V.4.0F on a Alpha 1000A. Does anyobody have an idea?
Thanks
Hans-Peter
Malcolm Dunnett wrote:
>
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* R: Best way to backup/restore Tru64 system?
2000-05-29 4:00 ` Hans-Peter Zahno
@ 2000-05-30 4:00 ` Marco Conti
2000-05-30 4:00 ` Stuart Archer
0 siblings, 1 reply; 10+ messages in thread
From: Marco Conti @ 2000-05-30 4:00 UTC (permalink / raw)
> vm_swap_init: warnign /sbin/swapdefault swap device not found
> vw_swap_init: swap is set to lazy (overcommitment) mode
These are not errors: to use the eager evaluation mode for swapping, sys
must found a symbolic link /sbin/swapdefault pointing to swap file system;
instead it will use the lazy evaluation mode. (a process can allocates swap
space only when it needs it)
> (and the system hangs...)
I don't know...
Mac
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-30 4:00 ` R: " Marco Conti
@ 2000-05-30 4:00 ` Stuart Archer
0 siblings, 0 replies; 10+ messages in thread
From: Stuart Archer @ 2000-05-30 4:00 UTC (permalink / raw)
"Marco Conti" <mconti@rime.it> wrote in message
news:8h0a3n$lqv$1@zamboni.dsnet.it...
> > vm_swap_init: warnign /sbin/swapdefault swap device not found
> > vw_swap_init: swap is set to lazy (overcommitment) mode
>
> These are not errors: to use the eager evaluation mode for swapping, sys
> must found a symbolic link /sbin/swapdefault pointing to swap file system;
> instead it will use the lazy evaluation mode. (a process can allocates
swap
> space only when it needs it)
>
>
> > (and the system hangs...)
>
> I don't know...
UNless you are really low on memory and because it's using lazy swap things
are getting killed???
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Best way to backup/restore Tru64 system?
2000-05-28 4:00 ` Serguei Patchkovskii
@ 2000-05-30 4:00 ` Jesper Frank Nemholt
0 siblings, 0 replies; 10+ messages in thread
From: Jesper Frank Nemholt @ 2000-05-30 4:00 UTC (permalink / raw)
Serguei Patchkovskii wrote:
>
> Paul Francis (xyz@xyz.com) wrote:
> : Also it should be possible to use dd if you want to make an image backup
> : onto an identical disk. You simply copy from one disk onto the other.
>
> Unfortunately, the "simply" part will not work under Tru64: the disk label
> (block 0) is write-protected from accesses via the regular block ro character
> device writes, and has to be written by disklabel. However, something like:
>
> dd if=/dev/rrz8c bs=1k count=63 iseek=1 oseek=1 of=/dev/rrz9c
> dd if=/dev/rrz8c bs=64k iseek=1 oseek=1 of=/dev/rrz9c
Hmmm, on a DS10 running 5.0 I get a truncate error on both.... any hints
?
l8r/Jspr
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2000-05-30 4:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-23 4:00 Best way to backup/restore Tru64 system? Malcolm Dunnett
2000-05-24 4:00 ` Stuart R. Fuller
2000-05-25 4:00 ` Paul Francis
2000-05-28 4:00 ` Serguei Patchkovskii
2000-05-30 4:00 ` Jesper Frank Nemholt
2000-05-25 4:00 ` magra
2000-05-28 4:00 ` Alan Davis
2000-05-29 4:00 ` Hans-Peter Zahno
2000-05-30 4:00 ` R: " Marco Conti
2000-05-30 4:00 ` Stuart Archer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox