fssnap question

Hi AllIs it possible to take a dump of os image using fssnap.I would like to take the snapshot of /,/var,/opt and save it another disk as snap.monday, snap.tuesday etc.It would be great help, if somebody can explain how to do thatThanks in advancekanki
[280 byte] By [Kanki] at [2007-11-26 10:40:40]
# 1

I think you've misunderstood what fssnap does.

It doesnt take dumps of a filesystem.

It provides a mechanism for accessing a "frozen" view of a filesystem so you can do a dump without things changing while you do it.

So you need to make a snapshot using fssnap.

Then dump out the snapshot using ufsdump or tar.

fssnap needs a place to put its backing store which contains info on changes that have been made to the FS since the snapshot was taken.

It can't be on the FS being snapshotted. So for example you might mount some disk as /backups and put it there.

So to make a dump of / to /backup/snap.DAY

#ufsdump 0uf /backup/snap.`date +%A` `fssnap -F ufs -o raw,bs=/backup /`

<output from ufsdump>

# delete the snapshot

# fssnap -F ufs -d /

robertcohen at 2007-7-7 2:52:09 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Thanks Mr.Robert
Kanki at 2007-7-7 2:52:09 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...