Re: Is doing a network restore from bsd.rd at all possible?
smith wrote: If you successfully do this, can you post how you did it? The magic is in bsd's ftp(1) -o flag, which makes it a bit similar beast to the wget. It can also pull the file using http or, since 4.0, https - check AUTO-FETCHING FILES section in the man, it's quite fexible piece of tool. As for recovering / cloning using bsd.rd, you could simply do something like: newfs /dev/rwd1e mount -o async /dev/wd1e /mnt cd /mnt ftp -o - ftp://openbsd.example.com/partition.dump | restore rvf - cd / umount /mnt One remark though - use or prepare larger /tmp before doing so, or you may irritate restore quite a bit, if you recover some larger filesystem.
Re: Is doing a network restore from bsd.rd at all possible?
* Michal Soltys [EMAIL PROTECTED] [2006-10-21 10:02]: smith wrote: If you successfully do this, can you post how you did it? The magic is in bsd's ftp(1) -o flag, which makes it a bit similar beast to the wget. It can also pull the file using http or, since 4.0, https - check AUTO-FETCHING FILES section in the man, it's quite fexible piece of tool. but on the ramdisks there is a slightly limited version (for space reasons), that does not support https (but plain http). -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: Is doing a network restore from bsd.rd at all possible?
On Thu, 19 Oct 2006 12:35:28 -0400, Martin Gignac wrote On 10/19/06, Michal Soltys [EMAIL PROTECTED] wrote: You can pipe ftp's output to restore. Hey man, great idea! I'll try it out. Thanks! -Martin -- Suburbia is where the developer bulldozes out the trees, then names the streets after them. --Bill Vaughan If you successfully do this, can you post how you did it?
Is doing a network restore from bsd.rd at all possible?
Hi, I've been playing with dump(8) recently and have tried two different ways of using it: backing up to a file on a USB drive, and backing up to a remote box by specifying a remote file and using SSH in lieu of RSH. I was also planning to try to write to a file on a remote machine via NFS but I haven't had the time to try this. I was planning to try to boot another computer using 'bsd.rd' on an OpenBSD install CD, skip the install script, label and newfs the appropriate partitions, and see if I could restore that system to a previous state using the dumps. However I noticed that 'ssh' or 'mount_nfs' do not seem to be available on 'bsd.rd'. So my question is this: is doing a remote network restore using 'bsd.rd' at all possible (or even suggested/recommended) or are directly attached devices (IDE/SCSI/USB drives tapes drives) the only supported restore(8) sources with 'bsd.rd'? Note: although I've used ufsdump and ufsrestore about five years ago on a Solaris box with an attached tape drive, I haven't played with backups on UN*X in a long while and I'm not very familiar with it anymore, so forgive me if my question is stupid in any way. Thanks, -Martin -- Suburbia is where the developer bulldozes out the trees, then names the streets after them. --Bill Vaughan
Re: Is doing a network restore from bsd.rd at all possible?
So my question is this: is doing a remote network restore using 'bsd.rd' at all possible (or even suggested/recommended) or are directly attached devices (IDE/SCSI/USB drives tapes drives) the only supported restore(8) sources with 'bsd.rd'? You can pipe ftp's output to restore.
Re: Is doing a network restore from bsd.rd at all possible?
On 10/19/06, Michal Soltys [EMAIL PROTECTED] wrote: You can pipe ftp's output to restore. Hey man, great idea! I'll try it out. Thanks! -Martin -- Suburbia is where the developer bulldozes out the trees, then names the streets after them. --Bill Vaughan
Re: Is doing a network restore from bsd.rd at all possible?
My typical way to do his is find my latest dump(s) on tape or elsewhere - chuck them on an nfs server accesible to the machine to be restored, boot from bsd.rd, mount the nfs location with the dump files and proceed. -Bob * Michal Soltys [EMAIL PROTECTED] [2006-10-19 09:19]: So my question is this: is doing a remote network restore using 'bsd.rd' at all possible (or even suggested/recommended) or are directly attached devices (IDE/SCSI/USB drives tapes drives) the only supported restore(8) sources with 'bsd.rd'? You can pipe ftp's output to restore. -- #!/usr/bin/perl if ((not 0 not 1) != (! 0 ! 1)) { print Larry and Tom must smoke some really primo stuff...\n; }
Re: Is doing a network restore from bsd.rd at all possible?
On 10/19/06, Bob Beck [EMAIL PROTECTED] wrote: My typical way to do his is find my latest dump(s) on tape or elsewhere - chuck them on an nfs server accesible to the machine to be restored, boot from bsd.rd, mount the nfs location with the dump files and proceed. That's why I'd *like* to do, but I don't have 'mount_nfs' on my bsd.rd. I'm guessing you are using a non-i386 bsd.rd, right? The FAQ at http://www.openbsd.org/faq/faq4.html#InstMedia mentions that the OpenBSD/i386 platform does not support NFS installs, so I guess a i386 cd40.iso image will not ne NFS-capable, and therefore NFS is not an option for me. Makes sense, right? At least, as Michal suggested I could use FTP. -Martin -- Suburbia is where the developer bulldozes out the trees, then names the streets after them. --Bill Vaughan
Re: Is doing a network restore from bsd.rd at all possible?
On 10/19/06, Martin Gignac [EMAIL PROTECTED] wrote: Hey man, great idea! I'll try it out. Yup, tried a restore(8) via HTTP and it worked fine! Thanks again for the tip. -Martin -- Suburbia is where the developer bulldozes out the trees, then names the streets after them. --Bill Vaughan