- Subject: Re: [Jed-users-l] extended backup (versioning)?
- From: Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 13 Apr 2013 12:33:32 +0200
Is anyone still reading with me or do I talk to myself only? :-)
On Tue 2013-04-09 (16:23), Ulli Horlacher wrote:
>
> Based on backups.sl (which was a very good guideline!) I have now written
> versions.sl which does file versioning like my first idea. It rotates
> versions on saving:
>
> file -> file~ -> file~1~ -> file~2~ -> ... -> file~9~ -> (deleted)
>
> Example:
>
> framstag@fex:/sw/share/jedlib-0.99-19/lib: ll versions*
> -rw-r--r-- framstag users 1,530 2013-04-09 16:10:50 versions.sl
> -rw-r--r-- framstag users 1,529 2013-04-09 14:47:48 versions.sl~
> -rw-r--r-- framstag users 1,530 2013-04-09 13:23:43 versions.sl~1~
> -rw-r--r-- framstag users 1,456 2013-04-09 11:50:29 versions.sl~2~
> -rw-r--r-- framstag users 1,456 2013-04-09 11:50:09 versions.sl~3~
My users disliked the file mess :-}
So I moved the versions to an own subdirectory and integrated the normal
backup file~ into the file versioning.
Now it looks (after some editing/saving):
framstag@fex:/sw/share/jedlib-0.99-19/lib: ll versions.sl* .versions/vers*
-rw-r--r-- framstag users 2,050 2013-04-13 11:59:22 versions.sl
-rw-r--r-- framstag users 2,031 2013-04-13 11:56:41 .versions/versions.sl~1~
-rw-r--r-- framstag users 1,953 2013-04-13 11:39:43 .versions/versions.sl~2~
-rw-r--r-- framstag users 1,774 2013-04-13 10:09:06 .versions/versions.sl~3~
-rw-r--r-- framstag users 1,822 2013-04-13 10:01:55 .versions/versions.sl~4~
-rw-r--r-- framstag users 1,854 2013-04-13 09:58:03 .versions/versions.sl~5~
-rw-r--r-- framstag users 1,855 2013-04-13 09:57:25 .versions/versions.sl~6~
-rw-r--r-- framstag users 1,854 2013-04-13 09:33:51 .versions/versions.sl~7~
-rw-r--r-- framstag users 1,664 2013-04-13 09:03:53 .versions/versions.sl~8~
-rw-r--r-- framstag users 1,664 2013-04-13 09:03:05 .versions/versions.sl~9~
So, in the normal directory you see no more any backup or version files.
This is much cleaner.
But you have access to the last 9 versions of your edited file.
It is little bit like what Netapp does with WAFL .snapshot/
--
Ullrich Horlacher Informationssysteme und Serverbetrieb
Rechenzentrum IZUS/TIK E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart Tel: ++49-711-68565868
Allmandring 30a Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF: <20130409142328.GD13163@xxxxxxxxxxxxxxxxxxxx>
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2013 date index]
[2013 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]