zfs.roll.snapshot


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS zfs.roll.snapshot
# 1  
Old 09-09-2008
zfs.roll.snapshot

This script will create (or recreate, if it already exists) a ZFS snapshot, and then use the ZFS "clone" functionality to automatically mount the snapshot in an alternate location. This process prevents you from having to point the backup software at a .zfs/snapshot directory, which is clumsy.By default the script will mount the clone under /zbackup, although this behavior can be changed with options or by editing the script. Because a ZFS clone is created using the same type of copy-on-write pointers as the snapshot itself, it uses additional space only when data changes in the live volume.Read BigAdmin article that describes usage of this script: http://www.sun.com/bigadmin/content/...apshot_zfs.jsp

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

How do I mount a ZFS snapshot?

I created a zpool and in it there is a zfs volume. I used that to backup data on another server using ISCSI. Now I have the data and want to take a snapshot so that I can view it on another machine that is not in production. Here is what I have done # zfs snapshot mat/vol_1@snap1 # zfs list -t... (6 Replies)
Discussion started by: SIFT3R
6 Replies

2. Solaris

zfs - get the name of the last snapshot

I have installed Solaris 11 Express on my server and want to set up automatic backuping using zfs snapshots. In the backup script I need to find out the name of the last snapshot of the given filesystem (in order to refer to it as the startpoint of an incremental backup). What is the best way to do... (4 Replies)
Discussion started by: RychnD
4 Replies

3. Solaris

Emergency - restore a deleted zfs snapshot

Hi, I deleted a zfs snapshot because it was as big as the original zfs. After the snapshot was removed, all the data in the original zfs is gone. How this happened? Can I restore the snapshot? Please help. Thanks a lot! (5 Replies)
Discussion started by: aixlover
5 Replies

4. Solaris

ZFS snapshot query

I saved one of my zfs snapshot on the remote machine with following command. And now i want to restore the same snapshot to original server how can i receive it on the original server from backup server. #zfs send rpool/ROOT/sol10_patched@preConfig | ssh x.x.x.x zfs receive... (1 Reply)
Discussion started by: fugitive
1 Replies

5. Solaris

ZFS snapshot issue.

I 've a weired situation .. my system has zfs root as its file system and now root file system is full at 100% # zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 134G 65.2M 94K /rpool rpool/ROOT ... (1 Reply)
Discussion started by: fugitive
1 Replies

6. Solaris

Need to take snapshot in solaris (using ZFS or ....)

Hi, I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows. I think using ZFS files system, we can take the snapshot in solaris 10 but... (2 Replies)
Discussion started by: mgmk.84
2 Replies

7. UNIX for Advanced & Expert Users

Need to take snapshot in solaris (using ZFS or ....)

Hi, I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows. I think using ZFS files system, we can take the snapshot in solaris... (1 Reply)
Discussion started by: mgmk.84
1 Replies
Login or Register to Ask a Question
MKSNAP_FFS(8)						    BSD System Manager's Manual 					     MKSNAP_FFS(8)

NAME
mksnap_ffs -- take a file system snapshot SYNOPSIS
mksnap_ffs snapshot_name DESCRIPTION
The mksnap_ffs utility creates a snapshot named snapshot_name. The group ownership of the file is set to ``operator''; the owner of the file remains ``root''. The mode of the snapshot is set to be read- able by the owner or members of the ``operator'' group. EXAMPLES
Create a snapshot of /usr/home file system and mount the snapshot elsewhere: mksnap_ffs /usr/home/snapshot mdconfig -a -t vnode -o readonly -f /usr/home/snapshot mount -o ro /dev/md0 /mnt/ SEE ALSO
chmod(2), chown(8), mdconfig(8), mount(8) HISTORY
The mksnap_ffs utility first appeared in FreeBSD 5.0. CAVEATS
The disk full situation is not handled gracefully and may lead to a system panic when no free blocks are found. Every filesystem can have only up to 20 active snapshots. When this limit is reached, attempting to create more snapshots fails with ENOSPC, and mksnap_ffs reports that it is ``out of space''. BSD
February 14, 2011 BSD