t...@goodfor:~$ mkdir tmp/snaptest
t...@goodfor:~$ cd tmp/snaptest/
t...@goodfor:~/tmp/snaptest$ mkdir http_root
t...@goodfor:~/tmp/snaptest$ mkdir http_root/current
t...@goodfor:~/tmp/snaptest$ mkdir http_root/current/bin
t...@goodfor:~/tmp/snaptest$ echo "stable" > http_root/current/bin/myapp
t...@goodfor:~/tmp/snaptest$ mkdir http_root/experimental
t...@goodfor:~/tmp/snaptest$ mkdir http_root/experimental/bin
t...@goodfor:~/tmp/snaptest$ echo "unstable" > http_root/experimental/bin/myapp

t...@goodfor:~/tmp/snaptest$ find .snapshot/hourly.0
.snapshot/hourly.0
.snapshot/hourly.0/http_root
.snapshot/hourly.0/http_root/current
.snapshot/hourly.0/http_root/current/bin
.snapshot/hourly.0/http_root/current/bin/myapp
.snapshot/hourly.0/http_root/experimental
.snapshot/hourly.0/http_root/experimental/bin
.snapshot/hourly.0/http_root/experimental/bin/myapp

(OH NO! My new version is unstable! I want to figure it out and go back to
my hourly backup!)

You just need to start one directory up from where you did the "mv":

t...@goodfor:~/tmp/snaptest$ cat
http_root/.snapshot/hourly.0/experimental/bin/myapp
unstable
t...@goodfor:~/tmp/snaptest$ cat http_root/.snapshot/hourly.0/current/bin/myapp
stable

netapp snapshots give you your data in the same place that zfs gives
it to you PLUS additional paths.  You said that zfs puts it in the
right place.  That means that netapp is putting it in the right place
too... with additional places for your data restoration convenience.

Tom
_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to