zfs rollback


 
Thread Tools Search this Thread
Operating Systems Solaris zfs rollback
# 1  
Old 03-15-2011
zfs rollback

i created a snapshot as follow as

Code:
bash-3.00# zfs snapshot dinu/dinu1@dinusnap1

then i deleted the contents in the directory dinu1

now i want to rollback that contents from snapshot and i used

Code:
bash-3.00# zfs rollback dinu/dinu1/@dinusnap1


but i received error as follow as

Code:
cannot open 'dinu/dinu1/@dinusnap1' : invalid dataset name

dunno whats the reason behind that


thanks in advance
dinu

---------- Post updated at 05:45 AM ---------- Previous update was at 05:01 AM ----------

one more thing i want to make clear myself is where the snapshot file will be stored

Last edited by pludi; 03-15-2011 at 07:22 AM.. Reason: code tags, please
# 2  
Old 03-15-2011
Seems like an extra '/', not that I am a zfs guru.
This User Gave Thanks to DGPickett For This Post:
# 3  
Old 03-15-2011
zfs snapshot

where the snapshot we taken will be saved and how can we find that file
# 4  
Old 03-16-2011
It's described in here: Man Page for zfs (OpenSolaris Section 1m) - The UNIX and Linux Forums

Since the name is random, time would be your indication of which is which, or you can compare and replace a list of names after each start.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SuSE

Help with RollBack options

Hi, Recently we have patched our server to the highest level after which our application running on that server is having an issue with ssl handshake as below between 2 hosts. same error is also generated when checked from other host. Invalid/unknown SSL header was received from peer remote... (1 Reply)
Discussion started by: phanidhar6039
1 Replies

2. Emergency UNIX and Linux Support

Getting data from ZFS.

Hi all, A customer has a very active ZFS partitionon their production system, I need to get a copy of the data under one directory at a specific point in time. Is it possible to do this with the ZFS snapshot/clone tools, (and what commands should be used to capture the info I require for... (6 Replies)
Discussion started by: Skrynesaver
6 Replies

3. Solaris

ZFS

Hi, I need some advice please. I have this server with a couple of zpools, lets call them pay_serv ukb_pool There are two zones attached to these pools. When I do a zfs list I see this pay_serv 8.41G 265G 8.41G /pay_serv ukb_pool 79.8G 194G 23K /ukb_pool ukb_pool/temp_ps 9.11G... (4 Replies)
Discussion started by: giles.cardew
4 Replies

4. Solaris

ZFS and jumpstart

I am building a new server on sol10_X86. I am new to ZFS, this will be one of the first systems to use it. I would like to have /opt /usr and a /u01 as separate file systems from the main ZFS pool. I know that this goes against the basic idea of ZFS, but this is so I can restrict the size/usage... (1 Reply)
Discussion started by: robsonde
1 Replies

5. Solaris

ZFS

what are all the advantages of ZFS comparing to UFS SVM what is the use of creating file system in a file system in ZFS (15 Replies)
Discussion started by: dinu
15 Replies

6. Solaris

Are you using ZFS ?

With Solaris 11 coming out with a requirement of ZFS on the root disk, I was curious to know who is using the Zeta File System now? I have been using ZFS for the past year and don't plan to go back to UFS since ZFS is much more reliable and easier to maintain. (13 Replies)
Discussion started by: bluescreen
13 Replies

7. Emergency UNIX and Linux Support

/var/log/wtmp SuSE log permission rollback

Hello All, On my SuSE system, I have wtmp log this log file permission is 644 but every reboot the file permission rollback to 664. In the logrotate.conf and logrotate.d/wtmp files the wtmp logrotate set to 644. I would like to know, which "file" or "script" modify the wtmp log to rollback to... (7 Replies)
Discussion started by: kalaso
7 Replies

8. UNIX for Dummies Questions & Answers

RPM Package - Rollback

Is it possible to rollback a package in Redhat ?I don't want to delete any packages. I have upgraded a package using rpm -Uvh & now i decided to use the old package, is it possible to revert it back to the original package ? (3 Replies)
Discussion started by: sydney2008
3 Replies

9. Post Here to Contact Site Administrators and Moderators

Have we just had a rollback of a few hours?

Have we just had a rollback of a few hours? (1 Reply)
Discussion started by: porter
1 Replies
Login or Register to Ask a Question