Slashdot Log In
NetBSD - Live Network Backup
Posted by
Zonk
on Fri Apr 29, 2005 09:55 AM
from the de-backup-mouse dept.
from the de-backup-mouse dept.
dvl writes "It is possible but inconvenient to manually clone a hard disk
drive remotely, using dd and netcat. der Mouse, a Montreal-based NetBSD
developer, has developed tools
that allow for automated, remote partition-level cloning to occur
automatically on an opportunistic basis. A high-level description of the system has been posted at KernelTrap. This facility can be used to
maintain complete duplicates of remote client laptop drives to a server
system. This network mirroring facility will be presented at BSDCAN 2005 in Ottawa, ON on May 13-15."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Pros and Cons (Score:5, Insightful)
On the flipside, this would be a boon to company network admins especially with employees at remote sites who have a hard crash.
Another reason to build a high speed backbone. Getting my 80GB harddrive image from Seattle, while I'm in Norfolk would be a lot of downtime.
Perfect for those moments... (Score:4, Interesting)
Now we can just hit a button and restore everything, a few thousand miles away.
The only thing left is to write code to block stupid people from reproducing.
Re:Perfect for those moments... (Score:4, Funny)
Unfortunately the user interface for the relevant hardware has a very intuitive point and shoot interface.
Parent
How long before this becomes a hack? (Score:4, Insightful)
Done this for years (Score:5, Funny)
What is the origin of "der" in "der Mouse" (Score:3, Interesting)
Maybe setup is inconvenient. (Score:3, Informative)
Right solution, wrong problem (Score:3, Interesting)
Most (all) of my quick restore needs result from users deleting or overwriting files - the hardware is more reliable than the transaction. I do have on-disk backups of the most important stuff, but sometimes they surprise me.
I'd like a system library that would modify the rename(2), truncate(2), unlink(2), and write(2) calls to move the deleted stuff to some private directory (/.Trash,
Just a thought.
Re:Right solution, wrong problem (Score:5, Informative)
I'd like a system library that would modify the rename(2), truncate(2), unlink(2), and write(2) calls to move the deleted stuff to some private directory (/.Trash, /.Recycler, whatever). Obviously the underlying routine would have to do its own garhage collection, deleting trash files by some FIFO or largest-older-first algorithm.
Done. [netcabo.pt]
Parent
Wacky idea (Score:3, Insightful)
I was thinking - I know how Ghost supports multicasting and such. I was thinking about how to take that to the next level. Something like Ghost meets BitTorrent.
Wouldn't it be great to be able to image a drive, use multicast to get the data to as many machines as possible, but then use BitTorrent to get pieces to any machines that weren't able to listen to the multicast (ie it's on another subnet or something) and to pick up any pieces that were missed in the broadcast, or get the rest of the disk image if that particular machine joined in the session a little late and missed the first part?
I think that would really rock if someone wanted to image hundreds of machines quickly and reliably.
I'm thinking it'd be pretty cool to have that server set up, and find a way to cram the client onto a floppy or some sort of custom Knoppix. Find server, choose image, and now you're part of both the multicast AND the torrent. That should take care of error checking too, I guess.
Anybody care to take thus further and/or shoot down the idea?
Re:Wacky idea (Score:3, Insightful)
Bittorrent poses NO advantage for this sort of thing. Why not just a regular network service, unicasting t
ghost 4 unix (Score:3, Interesting)
http://www.feyrer.de/g4u/ [feyrer.de]
WTF (Score:5, Informative)
First of all, it means backing up a 40GB with 2 GB of data may actually take 40GB of bandwidth.
Second of all, it means the disk geometries have to be compatible.
Then, I have to wonder if there will be any wackiness with things like journals if you're only restoring a data drive and the kernel versions are different...
I have been using ufsdump / ufsrestore on UNIX for
# ssh user@machine ufsdump 0f -
or
# ufsdump 0f -
So -- WHY are you people so keen on bit-level dumps? Forensics? That doesn't seem to be what the folks above are commenting on.
Is it just that open source UNIX derivative and clones don't have dump/restore utilities?
Re:WTF (Score:3, Interesting)
I can think of a few reasons. It makes time-consuming partioning/formatting unnecesary. It does not require as much work to restore the bootable partion (ie. no need to bootstrap to run "lilo", "installboot" or whatnot). But mainly, because there are just no good backup tools...
Full dumps work fine, despite
The Dark Side of Image Backups (Score:5, Informative)
Image backups certainly have their place for people who can understand their limitations. However, a good, automatic, versioning file backup is almost certainly a higher priority for most computer users. And under some circumstances, they might also want to go with RAID for home computers [backupcritic.com].
Re:The Dark Side of Image Backups (Score:3, Interesting)
Great. Now, could you please enlighten us as to what a good, automatic, versioning file-based backup system might consist of?
AFAICT, this doesn't seem to exist. It doesn't matter how much sense it makes, or how perfect the idea is. It is simply unavailable.
In fact, the glaring lack of such a capable s
Re:The Dark Side of Image Backups (Score:3, Informative)
It doesn't get much easier than this. You can have a sane, incremental backup setup in a single line cronjob or even point and click one up.
If that's not simple enough for you then you have no business of storing or working with sensible data.
Re:use rsync (Score:5, Informative)
As the article says, this is drive imaging whereas rsync is file copying.
Parent
Re:use rsync (Score:3, Insightful)
In most cases, file backups are better. Imaging a drive that is currently mounted writable and actively updated can produce a corrupt image on the backup. This is worse that what can happen when a machine is powered off and restarted. Because the sectors are read from the partition over a span of time, things can be extremely inconsistent. Drive imaging is safest only when the partition being copied is unmounted.
The way I make backups is to run duplicate servers. Then I let rsync keep the data files i
Re:use rsync (Score:3, Interesting)
Re:use rsync (Score:3, Informative)
Our nightly rsync backups have saved us many times from user mistakes (oops, I deleted this 3 months ago and I need it now), but we haven't had a chance to test our backup server in the event of losing one of our main servers. We figure we could have it up and running in a couple hours or less, since it's configured very closely to our other servers, be we won't know until we need it.
Re:Mac OS X (Score:3, Informative)
I'd suggest either
CCC (Carbon Copy Cloner)
ASR (Apple System Restore)
Rsync
Radmind
Have fun on version tracker....
Re:Automatic Backup for Paranoids? (Score:3, Interesting)
I really like having several months worth of nightly snapshots, all conveniently accessible just like any other filesystem, and just taking up slightly more than the space of the changed files.
Not scalable. (Score:3, Interesting)
Now, rsync would have been fine if we'd unmounted the filesystem and done it on the raw partition. But there's a couple of problems with that:
It's no
Re:DOS of the backup server (Score:3, Insightful)
This is a good idea, even if its niche is small, but I'm interested in how it handles the encryption. If it doesn't allow key re-generation on the fly, HMACs, certificates (or at least PSKs) and other things we expect from modern (SSH, IPSec/IKE, etc) systems then it's not going to be very useful.