Solaris Restore Point


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Restore Point
# 1  
Old 04-20-2010
Lightbulb 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 SmilieSmilie
# 2  
Old 04-20-2010
You need to make daily backups , for example I am using openBacula with cron and everything is automated (I love UNIX) .

For restoring deleted data

try old school with grep command

Linux or UNIX Recover deleted files – undelete files

or try with testdisk(not sure if has support for ZFS) it has support for Solaris i386 disklabel

TestDisk - CGSecurity

In bothcases , server must go to init state 1

But if I were you
Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, and Windows
# 3  
Old 04-20-2010
No such thing.. But in Solaris, there is something called flash archives or snapshots.
# 4  
Old 04-20-2010
Windows restore points do not help in recovering a lost directory. Only the registry and some critical files (drivers and the like) are saved.

You can use Live Upgrade with Solaris 8 and newer for a similar to windows restore points yet more powerful feature.
With OpenSolaris, there is the automatic ZFS snapshot service that would help in recovering any directory or file on the filesystems where it is enabled: How to Manage the Automatic ZFS Snapshot Service - OpenSolaris Information Resources - wikis.sun.com
# 5  
Old 04-20-2010
Quote:
Originally Posted by jlliagre
Windows restore points do not help in recovering a lost directory. Only the registry and some critical files (drivers and the like) are saved.

You can use Live Upgrade with Solaris 8 and newer for a similar to windows restore points yet more powerful feature.
With OpenSolaris, there is the automatic ZFS snapshot service that would help in recovering any directory or file on the filesystems where it is enabled: How to Manage the Automatic ZFS Snapshot Service - OpenSolaris Information Resources - wikis.sun.com

Hi,
Currently this utility is not installed. So, what is the use ? If I had installed and taken snapshots, then might be this was helpful. But, how will it help in my current scenario ?

---------- Post updated at 06:15 PM ---------- Previous update was at 06:15 PM ----------

Quote:
Originally Posted by incredible
No such thing.. But in Solaris, there is something called flash archives or snapshots.
Does Solaris, automatically takes snapshots of the Files/Directories ? If Yes, how do I access them ?

---------- Post updated at 06:25 PM ---------- Previous update was at 06:15 PM ----------

During re-boot I get the following message -

/dev/rdsk/c0t0d0s4 - cannot read : BLK 3003616
unexpected inconsistency; RUN fsck manually

What do I do here to recover or repair this block ?

---------- Post updated at 07:06 PM ---------- Previous update was at 06:25 PM ----------

I tried
Code:
fsck -y /dev/rdsk/c0t0d0s4

also. and rebooted, but still it says the same problem
# 6  
Old 04-20-2010
Quote:
Originally Posted by angshuman_ag
Currently this utility is not installed. So, what is the use ? If I had installed and taken snapshots, then might be this was helpful. But, how will it help in my current scenario ?
It won't help.
Quote:
Does Solaris, automatically takes snapshots of the Files/Directories ? If Yes, how do I access them ?
It doesn't take snapshots unless being told so.
Quote:
During re-boot I get the following message -

/dev/rdsk/c0t0d0s4 - cannot read : BLK 3003616
unexpected inconsistency; RUN fsck manually

What do I do here to recover or repair this block ?

I tried
Code:
fsck -y /dev/rdsk/c0t0d0s4

also. and rebooted, but still it says the same problem
You might have a faulty disk in which case you should replace it and restore the filesystem from your most recent backup.
# 7  
Old 04-27-2010
During re-boot I get the following message -

/dev/rdsk/c0t0d0s4 - cannot read : BLK 3003616
unexpected inconsistency; RUN fsck manually

What do I do here to recover or repair this block ?

---------- Post updated at 07:06 PM ---------- Previous update was at 06:25 PM ----------

I tried
Code:
fsck -y /dev/rdsk/c0t0d0s4

also. and rebooted, but still it says the same problem[/QUOTE]


Also back-doors solution can be to attache next submiror and let system synchronize content of whole disk to the second one and de-attach it when done.
Add to inconsistency.... your disk is saying good bye, you should replace it....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Solaris

Solaris 11 - how to backup and restore system disc

I have installed Solaris 11 Express on my machine and now I am wondering what is the best way to backup (to another hard disc) and restore the system hard disc content. The backup should to be done every night using a script launched by cron and all previously done backups should be available to... (8 Replies)
Discussion started by: RychnD
8 Replies

4. 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

5. 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

6. 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

7. Solaris

i cannot assign float point numbers to an array in solaris

total=0 declare -a sum limit=`iostat -En | grep -i size | awk '{print $2}' | sed -e 's/GB//g' | wc -l` echo "Limit is equal to $limit" ara="`iostat -En | grep -i size | awk '{print $2}' | sed -e 's/GB//g'`" for (( i=1; i<=$limit; i++ )) do sum=`echo $ara | cut -d " " -f $i` echo ${sum}... (11 Replies)
Discussion started by: naree
11 Replies

8. 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

9. 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

10. UNIX for Dummies Questions & Answers

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> ... (4 Replies)
Discussion started by: guest100
4 Replies
Login or Register to Ask a Question