Solved

Sidewinder Firewall backups

Posted on 2000-03-15
4
424 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
what is the meaning of filesystem loop detected? 7 1,241
Sed question 2 120
problem creating new luks volume on new VM disk 5 114
SCP a file to multiple machines using a script 4 81
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

679 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