Skip to content
Tags

How to Take a Quick Backup of the Root Filesystem in Solaris.

November 21, 2011

Firstly, use fssnap to take a snapshot. This can only be done if no realtime applications are using the filesystem. So stop nfs.

svcadm disable /network/ntp
fssnap -o bs=/tmp /
svcadm enable /network/ntp
# youll need to decide where to back it up to
# I mounted something over nfs
ufsdump 0uf /mnt/root-fs/root-backup /dev/fssnap/0
# delete the snapshot
fssnap -d /dev/fssnap/0
Advertisements

From → SysAdmin

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: