How hard is it to set up a versioning file system, like NetApp's "snaptshots"?

2

2

In the university, I really liked it that each directory had a sub-directory named .snapshot that I could use to restore previous versions of my files. The .snapshot directory had subdirectories named hourly.1, hourly.2, daily.1, daily.2, weekly.1, etc - they would contain the directory and the files as they were an hour ago, 2 hours ago, a day ago, 2 days ago, and a week ago.

Very nice, very cool.

I was wondering if there's anything like that available for Linux of Windows, since I'd like to have that sort of thing at home. How hard is it to set up?

Shalom Craimer

Posted 2009-08-09T10:03:58.087

Reputation: 389

Answers

5

Sun's ZFS system has similar capabilities. You can try switching from Linux to OpenSolaris and use ZFS snapshots.

Tadeusz A. Kadłubowski

Posted 2009-08-09T10:03:58.087

Reputation: 2 005

Hmm... That seems drastic. I'll have to think about that. – Shalom Craimer – 2009-08-11T14:42:26.333

I've heard it's supported by FUSE (which is available on Linux), but I don't know if it works good. I'm mostly a Solaris guy nowadays. – Tadeusz A. Kadłubowski – 2009-08-11T16:56:16.830

3

for Linux: the incoming brtfs will be capable of this.

Adrian Panasiuk

Posted 2009-08-09T10:03:58.087

Reputation: 885

2

You already have part of this functionality in Windows Vista(business/ent/ultimate)/7(don't know which version).

The shadow copy service/feature will create snapshots of your documents allowing you to go back in time to retrieve older copies of them.

Right click on a folder and select Restore previous versions, you will be presented with a dialog where you can chose which version to restore.

This is not as fine grained as you mention though

Paxxi

Posted 2009-08-09T10:03:58.087

Reputation: 6 952

1

In case you would like to have such functionality for important documents like your PhD papers you could also use a regular version control system like Subversion. You can setup an SVN server on your machine, create a repo for your important documents and commit all changes to this repository. This way you can control the frequency and content of the snapshots yourself.

This also doesn't fall under 'easy to setup' but with TortoiseSVN (for Windows) it becomes quite a doable task! The whole topic needs some reading for the start and then becomes a no-brainer after a while for the routine tasks.

markus

Posted 2009-08-09T10:03:58.087

Reputation: 1 413

1

If i understand correctly, the Mac's TimeMachine backup operates in a similar manner and Linux has a backup software option called TimeVault that provides similar functionality. Windows... none that I know of.

Chris Nava

Posted 2009-08-09T10:03:58.087

Reputation: 7 009

0

I suppose you could use a combination of bash/batch, source control programs and crontab/task scheduler

(this would definitely fall under the difficult section of setting up, but on the plus side, it's free)

Macha

Posted 2009-08-09T10:03:58.087

Reputation: 4 772