Solved

Sidewinder Firewall backups

Posted on 2000-03-15
4
389 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now