DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th February 2011
unixjingleman unixjingleman is offline
Fdisk Soldier
 
Join Date: Jan 2011
Posts: 70
Thanked 0 Times in 0 Posts
Default backing up to external drive

Hi
How do i back up my entire OpenBSD system to an external usb drive?. I just want a way to recover from a misfortune. Also how do you recover an entire system back onto the original hard-drive?.
I asked this question on the freeBSD section of these forums. The reply i got had to do with backing up over the network. While i really appreciate the answer i got, i would like to know how you back up and restore an entire OpenBSD system directly to an external usb drive. I haven't found anything about this when googling.
Reply With Quote
  #2   (View Single Post)  
Old 27th February 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,143
Thanked 182 Times in 149 Posts
Default

In the FreeBSD section I offered a solution to backup over the network to your Apple box, so you could use the Apple HFS+ formatted external USB drive Because I don't have neither an Apple (my old Apple II obviously doesn't count), nor an HFS+ formatted USB disk, I used OpenBSD as example.

Code:
# dump -0auf mnt/file.to.dump.to /dev/wd0a
Repeat for the other partitions/labels on wd0

Section 1.3 of http://www.daemonforums.org/showthread.php?t=2232 tells how to mount the disk.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 27th February 2011 at 11:39 PM. Reason: Disk must be mounted first
Reply With Quote
  #3   (View Single Post)  
Old 27th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Looks like you got that command mangled J65nko.
Reply With Quote
  #4   (View Single Post)  
Old 27th February 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,143
Thanked 182 Times in 149 Posts
Default

Yes, BSDfan666, I did, but it has been corrected. My MP kernel doesn't work well when I am doing a few things at the same time, I mean interleaved.

BTW Nice to have peer review. Can it have your seal of approval now?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 27th February 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,880
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by unixjingleman View Post
I haven't found anything about this when googling.
Contrary to popular opinion, Google is a poor choice for searching when it comes to the smaller Unix-like projects. This is true for a number of reasons:
  • Information found in the wild is rarely dated nor does it reference which version of OpenBSD was used. Because things will have changed, the solution posed is likely wrong.
  • The author will have likely looked into the problem only far enough to answer their own question. This may (but most likely, not...) translate to other people's hardware or exact question. Since the question they were attempting to answer is likely not yours, their solution will likely be wrong when applied to your problem.
The solution to the problem is to stay with current OpenBSD documentation. Rank-ordering the amount of trust which can be assigned:
  1. The OpenBSD manpages are meant to be the definitive source of truth.
  2. Anything documented on the project's official Website is next in terms of trustworthiness. This includes the official FAQ.
  3. Anything stated by a project developer on the project's official mailing lists.
  4. Anything else should be treated with skeptism -- including anything found on third-party sites such as this one.
For your information, the topic of back-ups is covered in Section 14.10 of the official FAQ.
Reply With Quote
  #6   (View Single Post)  
Old 28th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by J65nko View Post
BTW Nice to have peer review. Can it have your seal of approval now?
Ok, BSDfan666@[1].

[1] daemonforums.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
errors re-mounting external drive amorphousone OpenBSD General 3 12th March 2010 05:34 PM
looking for external drive buy suggestions gosha General Hardware 20 5th September 2009 05:32 AM
Problem Installing From External DVD Drive jimnms OpenBSD Installation and Upgrading 8 16th July 2009 07:12 PM
WD Passport Portable external drive Beastie General Hardware 7 25th April 2009 12:50 PM
Booting with external USB drive plugged in? Bruco FreeBSD General 29 17th May 2008 05:39 PM


All times are GMT. The time now is 07:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick