On 2013-03-27, Quadibloc <
jsa...@ecn.ab.ca> wrote:
> I've been looking for information on what Linux has that corresponds
> to Microsoft's VSS.
>
> One source says that LVM2 now has that functionality; another that a
> commercial product, R1Soft HotCopy, provides this functionality. But I
> don't think that either is quite what I'm thinking of.
Wikipedia is good for clues when questions are framed badly:
Microsoft Visual SourceSafe (VSS) is a source control software package
oriented towards small software development projects. Like most source
control systems, SourceSafe creates a virtual library of computer files.
While most commonly used for source code, SourceSafe can actually handle
any type of file in its database, but prior versions have been shown
to be unstable when confronted with large amounts of non-textual data
(images, binary executables, etc.). [...]
<
https://en.wikipedia.org/wiki/Visual_SourceSafe>.
So now we know that "VSS" is a "Revision Control System". There are a fair
few of those, mostly not restricted to Windows only and not in a state of
"serious bug fixes only". Wikipedia provides a list (which may not be
accurate or complete, of course)
<
https://en.wikipedia.org/wiki/Comparison_of_revision_control_software>
> What I see as a VSS equivalent in Linux would work something like
> this:
>
> At some point in time, applications would receive a SIGQUIET signal
> from the operating system - just like they can receive SIGTERM or
> SIGKILL signals at present.
>
> Applications might register themselves in advance upon installation,
> or identify their class when acknowledging the signal:
>
> 1) Dependent application - instead of just writing data directly to
> the disk, saves data into a database program. Should have an option of
> journaling in response to SIGQUIET in case the database program dies
> first.
> 2) Normal application - writes its own data to the disk.
> 3) Host application - database programs and similar applications,
> which save data for them, then write it to the disk. This way, they
> can be asked to quiesce after the dependent applications, avoiding the
> need to journal.
> 4) Invisible host application - stuff like an encrypted disk in a
> file, that saves data for other applications which think they're just
> writing to the disk directly and thus don't know they'll need to
> journal.
>
> VSS is likely to be protected by patents, of course, so this may delay
> the ability to provide this kind of capability.
>
> John Savard
That doesn't look to me like any sort of Revision Control System; I'd say
you're looking for a "back-up strategy". Linux has plenty of tools for
that, starting with journalled file systems, managed volumes that can
handle 'snapshots' (ie LVM), rsync, cron, bash scripts, and even high level
backup tools with graphical user interfaces, eg 'Webmin'.
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~