I'm new here, and was drawn here by an idea that I had that is closely
related to UML... All I want is something equivalent to the ubd layered
block device driver, in a standard kernel. I don't (at this stage) want
to run full UML -- I just want to be able to use something like ubd for
backups of my data directories...
My idea can be explained thusly:
Have a ubd master fs, which is a copy of your real /home fs -- make one
of these per week...
On a daily basis, make child ubd cow fs's (sorry, not familiar with the
terminology) as incremental backups -- perhaps use rsync to copy from
the real /home to the new child cow (calf?).
Mount these read only under /backup/<date>, and as far as users are
concerned, they have an online copy of every day's work available in an
easily accessed format. As far as sysadmin is concerned, it's as if
(s)he creates a new copy of the fs with rsync or something for every
backup... It's easy if you have lots of online storage, and can even
help with backups (if your online storage is fast and your backups are
slow, you can use your online backups as a snapshot for backing up from,
so your backup window can stretch out safely.
Of course, to do this, you would ideally have a simple ubd driver you
could insmod to a stock kernel, and then mount with certain options...
Anyway, I suspect this would have already been covered here or somewhere
else... I just can't find it... Is it a dumb idea? Too hard? Already
thought of, ok, but just not important?
Yellow Goanna Pty Ltd
m: +61 412 827 805
f: +61 8 8462 2362