*BSD News Article 58645


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!math.ohio-state.edu!usc!sdd.hp.com!hamblin.math.byu.edu!park.uvsc.edu!usenet
From: Terry Lambert <terry@lambert.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Sharing a tape drive
Date: 10 Jan 1996 03:02:17 GMT
Organization: Utah Valley State College, Orem, Utah
Lines: 33
Message-ID: <4cva7p$59c@park.uvsc.edu>
References: <DKMppn.FGH.E.fourthgen@fourthgen.fourthgen.com>
NNTP-Posting-Host: hecate.artisoft.com

tomg@fourthgen.fourthgen.com (Tom Greenwalt) wrote:
]
] I installed Samba and that works great for sharing the disks with
] Windows 95 network.  Is there anyway to do a backup of my local 
] Windows disks to the tape drive in my FreeBSD system?
] Thanks.

SAMBA, as a user space program, is a file system client.

We use the Samba server for backup of Windows95 on several
boxes by putting a symlink to the tape device in one of the
Samba shares (as an FS client, the link is evaluated locally,
unlike NFS, which is not a direct client).

Then we use 'tar' in a DOS shell to the shared device.  It
works fine, both for backup and restore.

This would be a little harder with a floppy tape, since what
you want is called a "portal", since you need the 'ft' filter
to use floppy tapes.  To do that, you'd have to modify the
Samba to 'popen' the 'ft' program to the device in lieu of
some other namespace translation.

We use the MKS tar, so you'd have to buy MKS or find a different
tar out there somewhere that ran on DOS and did not try to
delete the file before writing to it.


                                        Terry Lambert
                                        terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.