Skip to content

ZFS saves the day

September 3, 2007

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.

Advertisements

From → Solaris

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: