Solved

Sidewinder Firewall backups

Posted on 2000-03-15
4
418 Views
Last Modified: 2008-02-26
I have a Sidewinder 4.1 firewall (actually about 9 of them) that I need to backup. Problem is, the scripts that THEY provide ask you to reboot the box, and use the Admin kernal. When your done, boot the box again back into the Ops kernal.

This is totally unacceptable. I can't have my firewalls down - ever. Production environemtn 100% of the itme.

So, I've taken some scripts we use on some other firewals we have (Sidewinder).

These scripts copy the files to tape, then the author (gone from our company now) burned the logs to CD. Well, I want to do the same thing to tape.

So, my question is this:

How do I find out what the name of the tape device is on my Sidewinder 4.1 box (BSD subset Op Sys I beileve)?

I have a 4mm tape on each box, but I don't know how to view devices on Unix (non-AIX Unix anyways).

Also, how do I init (format) this tape?
0
Comment
Question by:Dex_Man
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 50 total points
ID: 2625500
According to the docs at www.freebsd.org, the newer releases use /dev/rsa* and older releases use /dev/rst* for SCSI attached tape devices.  Your device is almost certain to be /dev/rsa0 or /dev/rst0.  Poke around in there and you're sure to find it.

As for formatting the tape, it shouldn't be necessary on a modern tape drive, but if it is, the docs at freebsd.org say that
  TAPE=/dev/whatever mt fsf 1
ought to be sufficient.
0
 
LVL 1

Author Comment

by:Dex_Man
ID: 2637624
Thanks.

This shows me the drive, but I'm not sure if that's formatting it or not. That site is useful though.
0
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 2637884
Try running something out to the tape with something like
  tar cvf /dev/rsa0 /etc/passwd

Then try verifying the tape with something like
  tar tvf /dev/rsa/0

If that works, you're golden.
0
 
LVL 1

Author Comment

by:Dex_Man
ID: 2637892
Yup, that works. Actually just tried that, and it should work just great for our minor backups we need to do.

Now, how to mount a MSDOS floppy when support for MSDOS isn't compiled in... *chuckle*

Hopefully there is a FTP server out there somewhere I can use =)

Thanks for your assistance Chris.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question