ZFS saves the day

I just got this email1 from a user of my home server:
I have need of your rinky dinky back up system.
There is a file in My_Documents\\Correspondence called "XXXXXX" which I have overwritten somehow in error. Can you get the orginal back? I created it last week (Monday I think) and have not updated it since, except to overwrite it today!!

Well it turns out I can:


# /home/cjg/bin/sh/zfs_versions 'XXXXXX.odt' 
/home/user/.zfs/snapshot/day_2007-08-27-01:01/My_Documents/Correspondence/XXXXXX.odt
/home/user/.zfs/snapshot/hour_2007-09-03-12:00/My_Documents/Correspondence/XXXXXX.odt
/home/user/.zfs/snapshot/minute_2007-09-03-12:30/My_Documents/Correspondence/XXXXXX.odt
/home/user/.zfs/snapshot/minute_2007-09-03-12:50/My_Documents/Correspondence/XXXXXX.odt
/home/user/.zfs/snapshot/hour_2007-09-03-13:00/My_Documents/Correspondence/XXXXXX.odt
# 

Choose your version.


1I've anonymized the email.

Comments:

Post a Comment:
Comments are closed for this entry.
About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« July 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
       
Today