nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Openbsd Howto backup data on tape - tutorial

This is a discussion on Openbsd Howto backup data on tape - tutorial within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi, We have proxy and firewall installed using OpenBSD. Our main sys admin is out and I need to make ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-19-2006, 05:01 AM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
Default Openbsd Howto backup data on tape - tutorial

Hi,

We have proxy and firewall installed using OpenBSD. Our main sys admin is out and I need to make a tape backup. Problem is I am not sure about tape device and commands. Since this is firewall and proxy box ; I don't wanna make any errors otherwise it might cost me my job

I'd appricate if someone give me link to tutorial and commands for this *job*
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
  #2 (permalink)  
Old 12-20-2006, 01:44 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

You can use tar command as usaul for making up backup. Generally tape device name is st0 under OpenBSD.

To find out tape device use dmesg command:
Code:
dmesg
To dump /home file system located on /dev/sd0h (/dev/rsd0h) use dump command
Code:
dump -0au -f /dev/nrst0 /dev/rsd0h
0 = full backup
a = determine tape media length
u - Update the file /etc/dumpdates to record when backup was last created
-f /dev/nrst0 = tape name
/dev/rsd0h = partition name (use mount command to see all partition names)

Rewind tape
Code:
mt -f /dev/rst0 rewind
To view tape contents use command
Code:
restore -tvs 1 -f /dev/rst0
1 indicates first partition. Use 2 for second parition and so on...

To restore use commad (let us say /home again)
Code:
cd /home
restore -rs 1 -f /dev/rst0
Go throuh man mt, dump and restore for more information.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Howto backup and restore Outlook/Outlook Express Datafiles? Windows Xp/2000/2003 server administration 8 04-03-2009 12:35 PM
OpenBSD won't let me set offset php111 All about FreeBSD/OpenBSD/NetBSD 0 09-07-2007 11:33 PM
tar tape command example tom Getting started tutorials 0 06-05-2007 09:36 AM
UNIX list a backup tape contents chiku Getting started tutorials 0 04-27-2007 04:46 PM
Backup using FTP - Howto chiku Solaris/OpenSolaris 1 09-10-2006 06:19 PM


All times are GMT +5.5. The time now is 09:47 AM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38