[OmniOS-discuss] recovering deleted files from ZFS?

Richard Elling richard.elling at richardelling.com
Mon Mar 14 19:04:23 UTC 2016



> On Mar 14, 2016, at 11:42 AM, CJ Keist <cj.keist at colostate.edu> wrote:
> 
> Dan,
>   You know if this is a just one shot attempt?  Meaning if I choose the wrong TXG to import, can I export and try again with a different TXG?
> 

pro tip: try retro import with readonly option


  -- richard

> 
>> On 3/14/16 12:28 PM, Dan McDonald wrote:
>> The very long-shot chance is to export the pool (after backing it recent changes), use zdb to see what its current TXG number is, and re-import the pool with an earlier TXG number using -T.  You'll lose files or changes created after the old TXG, AND if it's been a long enough time or a full enough pool, you won't get back to that TXG.
>> 
>> It's an extraordinary measure, one I wouldn't take unless I was truly desperate.
>> 
>> Dan
>> 
>> Sent from my iPhone (typos, autocorrect, and all)
>> 
>>> On Mar 14, 2016, at 1:41 PM, CJ Keist <cj.keist at colostate.edu> wrote:
>>> 
>>> All,
>>>   Thought I try asking this question on this forum.  In light of no snapshots, is there a way in ZFS to recover a recently deleted file?  We do nightly backups, but this would be a file that was deleted before the coming daily backup.  Does anyone know if there is a service that can do file recoveries from ZFS?
>>> 
>>> 
>>> -- 
>>> C. J. Keist                     Email: cj.keist at colostate.edu
>>> Systems Group Manager           Solaris 10 OS (SAI)
>>> Engineering Network Services    Phone: 970-491-0630
>>> College of Engineering, CSU     Fax:   970-491-5569
>>> Ft. Collins, CO 80523-1301
>>> 
>>> All I want is a chance to prove 'Money can't buy happiness'
>>> 
>>> _______________________________________________
>>> OmniOS-discuss mailing list
>>> OmniOS-discuss at lists.omniti.com
>>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> -- 
> C. J. Keist                     Email: cj.keist at colostate.edu
> Systems Group Manager           Solaris 10 OS (SAI)
> Engineering Network Services    Phone: 970-491-0630
> College of Engineering, CSU     Fax:   970-491-5569
> Ft. Collins, CO 80523-1301
> 
> All I want is a chance to prove 'Money can't buy happiness'
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss


More information about the OmniOS-discuss mailing list