Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

system files backup

Jayesh Thakar
Occasional Contributor

system files backup

Whick type of backup is recomended for unix system files? I want to take full system files backup(/ and /usr). Provide me the procedure to restore the backup.
2 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: system files backup

Hi,

if you have advfs filesystems, use vdump to backup and vrestore to restore.

greetings,

Michael
amrelsayed
Frequent Advisor

Re: system files backup

Hi Jayesh,

To take a full backup for a TRU64 Unix follow this command:

# vdump -0uf /full path of the tape drive/ /the required file system/

for example:

For V5
# vdump -0uf /dev/ntape/tape0_d1 /data

For V4
# vdump -0uf /dev/nrmt0h /data

to restore /data where data is the file system in our example:

be sure that you are in the proper file save set on the tape, and you are in the proper directory on the hard disk say /data as our example then:

For V5:
#cd /data
#vrestore -xf /dev/ntape/tape0_d1

For V4
#cd /data
#vrestore -xf /dev/nrmt0h

Note: VDUMP & VRESTORE are using for ADVFS and UFS Both.

I hope that i gave you the proper answer.

Best Regards,
Amr
Try To Be Smart