Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Sep 2011 09:29:28 -0700
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Help Finding ZFS snapshots
Message-ID:  <87mxej54wn.fsf@oak.localnet>
In-Reply-To: <20110905152046.M44028@brightstar.bomgardner.net> (Gene's message of "Mon, 5 Sep 2011 10:23:32 -0500")
References:  <20110905130325.M78491@brightstar.bomgardner.net> <0FE472B72B858F5A6EF0FD01@mac-pro.magehandbook.com> <20110905152046.M44028@brightstar.bomgardner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Gene" <fbsd@brightstar.bomgardner.net> writes:

> On Mon, 05 Sep 2011 10:48:22 -0400, Daniel Staal wrote
>> --As of September 5, 2011 8:13:52 AM -0500, Gene is alleged to have said:
>> 
>> > Using FreeBSD 8.1, amd64 - I wanted to recover files from a snapshot of
>> > usr/home. Everything I've found via googling refers to a link such as
>> > "path/zfs/.snapshot"
>> 
>> --As for the rest, it is mine.
>> 
>> Try "path/.zfs".  ;)
>> 
>> (Which, on my system, then has a 'snapshot' directory, which holds 
>> all the snapshots.)
>> 
>> Daniel T. Staal
>>
>
> No such luck. The following:
>
> cd /
> ls -R | grep -i "zfs"
>
> finds only 'zfs' directories in the source tree and ports.
>
> Other ideas? I know the snapshots exist, I can see 'em with 
> "zfs list -t snapshot".

The .zfs directory is hidden by default so you have to specifically ls
or go into them.  Do a 'ls' on the base directory of any zfs file
system, and then add .zfs to the end and you should see the .snapshots
directory.
-- 
Carl Johnson		carlj@peak.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87mxej54wn.fsf>