System Administration
Showing results for 
Search instead for 
Did you mean: 

Usage of "vdump" & "vrestore"

Regular Advisor

Usage of "vdump" & "vrestore"


We are using Tru64 5.1A If i want to backup root_domain & usr_domain onto a tape, what should be the command ?? ( i am a beginner in Tru64)

Specifically, let me have the command for backup/restore for "/" & "/usr" in the following o/p

Filesystem 1024-blocks Used Available Capacity Mounted on
root_domain#root 471920 109442 355632 24% /
/proc 0 0 0 100% /proc
usr_domain#usr 3144744 1249868 1524096 46% /usr
usr_domain#var 3144744 349510 1524096 19% /var
/dev/disk/dsk5c 12180056 2309666 8652384 22% /work
/dev/disk/dsk4c 103474609 4419349 88707799 5% /home

Appreciate a quick response,

Javier García_1
Occasional Advisor

Re: Usage of "vdump" & "vrestore"

Hi Ramesh.
I am using Tru64 5.1 and i use the following command to backup my filesets:

/sbin/vdump -0 -Nu -f /dev/ntape/tape14_d1 /
/sbin/vdump -0 -Nu -f /dev/ntape/tape14_d1 /usr
/sbin/vdump -0 -Nu -f /dev/ntape/tape14_d1 /var

I hope it is usefull for you.
Regular Advisor

Re: Usage of "vdump" & "vrestore"


Thanks for that really quick reply. I will try & get back

Mohamed K Ahmed
Trusted Contributor

Re: Usage of "vdump" & "vrestore"


What is your tape drive name?
if it is /dev/ntape/tape0c, then the commands will be

vdump -0 -u -f /dev/ntape/tape0c /
vdump -0 -u -f /dev/ntape/tape0c /usr
vdump -0 -u -f /dev/ntape/tape0c /var
mt -f /dev/ntape/tape0c offline

This will dump the root, /usr and /var on the tape one after the other and then unloads the tape
You can look at the man pages for vdump for other options.

the restore is easy, I like using the interactive mode (# vrestore -i )see the vrestore man pages and if you need any thing, ask again..
Ralf Puchner
Honored Contributor

Re: Usage of "vdump" & "vrestore"

A backup sample is available via "man" page, the first station in case of help. As in HPUX, Solaris, Linux etc. the syntax is "man " where is in your case vdump/vrestore.

The whole story about backup of a Tru64 system can be found in the administration guide - available online on -> documentation or on the cd delivered with the system.

be sure you have detected your backup device (e.g. hwmgr -show scsi |grep tape).
Help() { FirstReadManual(urgently); Go_to_it;; }