ufsrestore

ufsrestore

Post by Joseph Ovadi » Sat, 27 Nov 1999 04:00:00



Hello

I use the following to backup solaris 2.6

/usr/sbin/ufsdump 0cuaf /etc/CRON/rootfile  /dev/rmt/0n /
\
        >> /var/adm/dumplog  2>> /var/adm/dumplog
/usr/sbin/ufsdump 0cuaf /etc/CRON/usrfile   /dev/rmt/0n /usr
\
        >> /var/adm/dumplog  2>> /var/adm/dumplog
/usr/sbin/ufsdump 0cuaf /etc/CRON/varfile   /dev/rmt/0n /var
\
        >> /var/adm/dumplog  2>> /var/adm/dumplog
/usr/sbin/ufsdump 0cuaf /etc/CRON/optfile  /dev/rmt/0 /opt             \

        >> /var/adm/dumplog  2>> /var/adm/dumplog
I am having problem with restoring file since when I use the interactive

restore but it is asking me for the volume? What does that mean and what

is the best command to use for restoring file /var/mail/joe?

I am looking for a restore without asking me any question.
I am also looking for interactive restore but i have only 1 tape and it
is in the drive.  Why can't ufsretore juxt restore the file since it
found it in the index.

Thank for your help.

Joe

 
 
 

ufsrestore

Post by John Doher » Sat, 27 Nov 1999 04:00:00


| I am having problem with restoring file since when I use the interactive
| restore but it is asking me for the volume? What does that mean and what
|
| I am also looking for interactive restore but i have only 1 tape and it
| is in the drive.

When it asks which volume, tell it 1 and away you go.

--

 
 
 

1. Ufsrestore problems

Hi ,
I am having problems restoring a backup of a file from a tape device.

When i run the command to check whether the file exists before proceeding to do the restore i get the error message to say file is not on volume as below

#ufsrestore tf /dev/rmt/1cn ./export/home/hornbyd/shared/WEB-INF/src/uk/co/genie/mobile/mq/MQTest.java
./export/home/hornbyd/shared/WEB-INF/src/uk/co/genie/mobile/mq/MQTest.java is not on volume

when i try to do an interactive restore by running command ufsrestore -i   ..i get the error  

/dev/rmt/0: No such file or directory  this is probably  because my tape device  is located is mounted on /dev/rmt/1cn

most  other  ufsrestore commands and other tape related commands  like mt fsf n  i run are i get the error........... /dev/rmt/0: No such file or directory

1.My questions is how do i get to run the normal commands to look at the current mounted drive ie /dev/rmt/1cn rather than /dev/rmt/0 .

2.One the other problem what am i not doing right i have tried 3 different tapes ...but i am not conviced that these files are not on tape as per the first error message  " filename not on volume.

3.How do i get it to read from the volume.
In my case i am asssuming that the users file that i am trying to restore is not available on the tape but i have checked on /export/home/ and the other backup up file systems on / can be found on the tape what command do i need to keep shifting to the next volume

2. Help - Installation - for a total rookie

3. Creating mirrored machine with "ufsdump and ufsrestore"

4. fips, partition size

5. ufsrestore on Ultra10 does not boot

6. how to get sessionID from controlling tty

7. Problem with ufsrestore

8. htpasswd for FreeBSD Apache port

9. ufsrestore questions

10. SunOS 5.4 fails to ufsrestore from one volume on two tapes

11. missing ufsrestore binary

12. Solaris 2.4 UFSDUMP/UFSRESTORE

13. bourne shell quoting, solaris, and ufsrestore