Re: [Zope-dev] simple revision control(?) for Data.fs.
Evan Gibson wrote On Wed, Jan 12, 2000 at 12:31:15AM -0500, Pavlos Christoforou wrote: Hi Anthony - I read a posting once where someone suggested using rsync to do something similar. Rsync just transmits the changes between versions and has (the newer version) support for network access.
How well does it handle the differences between packed and unpacked data.fs files?
more to the point: will it allow me to say 'give me the data.fs file as it was at 2000/01/05, 5am'[*] ? The code I've just about finished will do this, and it also only stores deltas between files (unless the md5 changes, or the file shrinks, in which case it writes a full file). I also plan to support gzipping the data files in the repository. Once this is done, I'll be running it 12-hourly here to allow us some recovery to any cases of screwups. Anthony [*] well, 'the last backup before this date'.
On Wed, 12 Jan 2000, Anthony Baxter wrote:
more to the point: will it allow me to say 'give me the data.fs file as it was at 2000/01/05, 5am'[*] ? The code I've just about finished will do this, and it also only stores deltas between files (unless the md5 changes, or the file shrinks, in which case it writes a full file).
I also plan to support gzipping the data files in the repository. Once this is done, I'll be running it 12-hourly here to allow us some recovery to any cases of screwups.
A 'quick hack' method of doing this would be to ascii encode your data.fs (uuencode, base64 - anything as long as you have line feeds) and use RCS to handle all the deltas. Or you could buy a Netapp and use the built-in snapshot facilities :-) -- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
How about exporting the root object as XML for inclusion in versioning? Awkward, yes. Stuart 'Zen' Bishop wrote:
On Wed, 12 Jan 2000, Anthony Baxter wrote:
more to the point: will it allow me to say 'give me the data.fs file as it was at 2000/01/05, 5am'[*] ? The code I've just about finished will do this, and it also only stores deltas between files (unless the md5 changes, or the file shrinks, in which case it writes a full file).
I also plan to support gzipping the data files in the repository. Once this is done, I'll be running it 12-hourly here to allow us some recovery to any cases of screwups.
A 'quick hack' method of doing this would be to ascii encode your data.fs (uuencode, base64 - anything as long as you have line feeds) and use RCS to handle all the deltas.
Or you could buy a Netapp and use the built-in snapshot facilities :-)
-- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
I guess there's *that* one minor detail :-) Itamar Shtull-Trauring wrote:
Chris McDonough wrote:
How about exporting the root object as XML for inclusion in versioning? Awkward, yes.
This would only be useful if Zope could import exported XML files.
-- Itamar S.T. itamars@ibm.net
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
-- Chris McDonough - Digital Creations, Inc. Publishers of Zope - http://www.zope.org
participants (4)
-
Anthony Baxter -
Chris McDonough -
Itamar Shtull-Trauring -
Stuart 'Zen' Bishop