Help Finding ZFS snapshots

Daniel Staal DStaal at usa.net
Mon Sep 5 15:35:36 UTC 2011


--As of September 5, 2011 10:23:32 AM -0500, Gene is alleged to have said:

> 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".

--As for the rest, it is mine.

Don't check if the directory is there first.  It isn't.  Just 'cd' to it, 
and it will exist.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


More information about the freebsd-questions mailing list