Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread CJ Keist
Thanks. Sounds like it's already too late then. It has been about day and half since the deletion occurred. On 3/14/16 12:45 PM, Bob Friesenhahn wrote: On Mon, 14 Mar 2016, CJ Keist wrote: Thank you!. In this case I think I can do this as the server is basically retired now. Take care si

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread Dan McDonald
> On Mar 14, 2016, at 2:42 PM, CJ Keist 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? Import it read-only and you can probably attempt multiple TXGs. Dan __

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread Richard Elling
> On Mar 14, 2016, at 11:42 AM, CJ Keist 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 P

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread CJ Keist
Thank you!. In this case I think I can do this as the server is basically retired now. 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 ear

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread Bob Friesenhahn
On Mon, 14 Mar 2016, CJ Keist wrote: Thank you!. In this case I think I can do this as the server is basically retired now. Take care since this would toast the disks for any other recovery attempt. The data may very well be available, especially if the file is small (since zfs typically wr

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread CJ Keist
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? 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

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread Dan McDonald
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 eno

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread Bob Friesenhahn
On Mon, 14 Mar 2016, CJ Keist 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 kno

Re: [OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread Linda Kateley
drive savers do some recovery. linda On 3/14/16 12:41 PM, CJ Keist 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 th

[OmniOS-discuss] recovering deleted files from ZFS?

2016-03-14 Thread CJ Keist
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 f