08-24-2011
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 that?
Thanks in advance,
Dusan
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Solaris
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
3. Solaris
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
4. Solaris
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
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
6. Solaris
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
DKOPP(1) Dkopp man page DKOPP(1)
NAME
Dkopp - copy files to DVD or BD (Blue-ray) media
SYNOPSIS
dkopp [ -job | -run ] jobfile
dkopp [ -nogui ] -script scriptfile
DESCRIPTION
Dkopp copies files to backup DVD or BD media. It supports full
or incremental backups and full or incremental media verification.
OVERVIEW
Dkopp is a menu-driven GUI (GTK) program operating in its own window.
Dkopp copies files and directories specified in a job file to DVD or
BD media. Dkopp can copy all files to empty media (full copy), or
only new and modified files to previously used media (incremental).
Files and directories to include or exclude can be selected from the
file system hierarchy using a GUI navigator. Specifications are saved
in a job file which can be re-edited and re-used. Script files can
be run in batch mode using the -nogui option. Dkopp can be used to
select and restore files previously copied, and owner and permission
data is also restored. The DVD/BD media can also be accessed with
file system tools like Nautilus.
Dkopp supports the following functionalities:
- Three backup modes: full, incremental, accumulate.
- Three media verification modes: full, incremental, thorough.
- Use write-once or re-writable DVD or BD media (but not CD).
- Report disk:backup differences in detail or summary form.
- Select and restore files from a backup copy (or use drag and drop).
- Search log files to find media where specified files are saved.
OPTIONS
Command line options:
[ -job ] jobfile open job file for editing
-run jobfile execute a job file
[ -nogui ] -script scriptfile execute a script file
SEE ALSO
The online user manual is available using the menu Help > contents.
This manual explains Dkopp operation in great detail.
Dkopp uses the batch programs grwoisofs and genisoimage.
Dkopp is essentially a GUI front-end for these programs.
AUTHORS
Written by Mike Cornelison <kornelix2@googlemail.com>
Linux 2010-10-01 DKOPP(1)