Sponsored Content
Full Discussion: Solaris 7 restore problem
Top Forums UNIX for Dummies Questions & Answers Solaris 7 restore problem Post 10426 by guest100 on Wednesday 14th of November 2001 04:06:28 AM
Old 11-14-2001
Solaris 7 restore problem

Hi,

I am trying to restore a full system, which I backup with the ufsdump command, in to a different unix box.
I partitioned that box(second one) exactly the same as the first one and install the same version of operation system(solaris 7).

I have backed up the first system with:

<pre>

mt -f /dev/rmt/0cn rewind

ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s0
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s3
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s4
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s5
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s0
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s1
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s3
</pre>

and put everything in to same tape.
Below you can see :

<pre>

isgsi01(root)40: df -k

Filesystem kbytes used avail capacity Mounted on
/proc 0 0 0 0% /proc
/dev/dsk/c0t0d0s0 1987399 936298 991480 49% /
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s3 962571 645814 259003 72% /var
/dev/dsk/c0t0d0s4 962571 766780 138037 85% /home
/dev/dsk/c0t0d0s5 3009327 2066073 883068 71% /u01
/dev/dsk/c0t1d0s0 3009327 2262543 686598 77% /u02
/dev/dsk/c0t1d0s1 3009327 2323693 625448 79% /u03
/dev/dsk/c0t1d0s3 3009327 2938899 10242 100% /u04
swap 2761080 6592 2754488 1% /tmp

</pre>

The problem is that when I try to restore the (root) / and /var
directories the system core dumps and gives me a bus error.
I went through SUN and "ufsrestore procedure for restoring / and /usr" but it says somewhere that I have to unmount the
file system and create a new file system with newfs.
I can NOT do the umount for / or /var.
I get that the / or /var are busy or already mounted.
What can I do for this ?? I am in / directory when I do that.

I use 'ufsrestore srv 7' for example for the /u04 partition
and it works fine. It does the restore without problems.
The same with all the rest apart from /var and /.
Can anyone help please ??

Thank you.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need help with restore sun solaris 9

I tried to restore my server with backup tape, but after the restoration complete, install bootblk and edit the vfstab file, i cant boot up my server with the error message can't find /packages. Anyone can help me pls? Thanks!! (1 Reply)
Discussion started by: cybh
1 Replies

2. UNIX for Advanced & Expert Users

solaris 9 using jumpstart to restore

Hello All, I use flar to install servers. I am not sure why it does not restore my hostname.bge0, hostname.bge1, ... from the same server with quad NIC card. Right now, I use a shell script to copy my networking information. Am I doing anything wrong or is flar behaving the way it is suppose... (1 Reply)
Discussion started by: afadaghi
1 Replies

3. UNIX for Dummies Questions & Answers

Dump and restore problem

Hi all, having problem with dump & restore for cloning simple linux system. The command is : dump -0u -f /temp/var.dump /dev/sda5 But somehow the result displayed: ~~~~~~ dump: ACLs in inode #1250760 won't be dumped: Inappropriate ioctl for device dump: ACLs in inode #1250761 won't be... (1 Reply)
Discussion started by: mycoolwater
1 Replies

4. Solaris

Restore a database on solaris..

hi All, Can anyone help me with the set of commands which are used to restore maybe a sybase database on solaris.. (1 Reply)
Discussion started by: sankasu
1 Replies

5. Solaris

Solaris Restore Point

Hi, Is there a Restore Point on Solaris 8 like windows ? Today I restarted my machine and saw that one entire Directory is missing. Need to restore the lost data :(:( (6 Replies)
Discussion started by: angshuman_ag
6 Replies

6. Solaris

Solaris 2.6 restore from tape

Hope someone can help me here... I've got to restore an E450 with 300MHz cpus which was running Solaris 2.6 from tape. Regrettably the boot drive has failed. I've access to the first release of Solaris 2.6 CD's and to a set of Solaris 9 CD's. I remember that different E450 CPUs needed different... (1 Reply)
Discussion started by: pamplemousse
1 Replies

7. Solaris

restore metastat configuration after solaris upgrade

Greetings How can i restore metastat db after a solaris upgrade (9 to 10)? will it work if i save and restore /etc/vfstab and /etc/lvm/md.cf file? root@netad# metastat d35: Mirror Submirror 0: d38 State: Okay Submirror 1: d39 State: Okay Pass:... (2 Replies)
Discussion started by: kashif_islam
2 Replies

8. Solaris

Solaris 8 Flar Creation/Restore

I'm new to utilizing Solaris... especially the old 8 version, but I'm trying to find out if there is a way to create a Flash Archive of a disk that can be restored on a smaller size disk or disk of varying size? (2 Replies)
Discussion started by: scifi_vixen
2 Replies

9. Solaris

Solaris 10 Restore from flar image

Hi! I want to migrate Sun Fire v240 server (sun4u) with Solaris 10 update 6 to LDOM virtual host (sun4v). I was mount NFS directory from another server in /mnt and did this steps on v240 1) I add to the /var/sadm/system/admin/.platform PLATFORM_GROUP=sun4v # cat... (1 Reply)
Discussion started by: pbubentsov
1 Replies

10. UNIX for Beginners Questions & Answers

Mksysb restore problem

Hello everybody, I have a little problem with my mksysb restore. My system: AIX 6100-09-11-1806. I make mksysb backup of my LPARs by NIM server. I am doing restore tests by NIM server on spare LPAR now. All LPARs were restored allright except for one. During restore it stops with this... (4 Replies)
Discussion started by: Necronomic
4 Replies
idevicebackup2(1)					      General Commands Manual						 idevicebackup2(1)

NAME
idevicebackup2 - Create or restore backups for devices running iOS 4 or later. SYNOPSIS
idevicebackup2 [OPTIONS] CMD [CMDOPTIONS] DIRECTORY DESCRIPTION
Create or restore backup from the current or specified directory. OPTIONS
-u, --udid UDID target specific device by its 40-digit device UDID. -s, --source UDID use backup data from device specified by UDID. -i, --interactive request passwords interactively on the command line. -d, --debug enable communication debugging. -h, --help prints usage information. COMMANDS
backup create backup for the device. restore restore last backup to the device. --system restore system files, too. --reboot reboot the system when done. --copy create a copy of backup folder before restoring. --settings restore device settings from the backup. --remove remove items which are not being restored. --password PWD supply the password of the source backup. info show details about last completed backup of device. list list files of last completed backup in CSV format. encryption on|off [PWD] enable or disable backup encryption. changepw [OLD NEW] change backup password on target device. AUTHORS
Martin Szulecki Nikias Bassen SEE ALSO
idevicebackup(1) idevicebackup2(1)
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy