Is it possible to share a tape drive using Samba. I have a tape drive that is attached to a Solaris box, that I would like to use to backup my entire environment; Solaris and Windows. If this is possible, how should I configure the smb.conf file. Thanks Nate Grissom ngrissom@netzero.net -------------- next part -------------- HTML attachment scrubbed and removed
We do this, but we don't share the tape drive...we share the drives on the other machines on the network. The box with the tape drive mounts the shares on the other machines to a temporary mount point, backs it up, and then unmounts it. Something like this command will mount it: mount -t smbfs -o username=root,password=blahblah //computer1/c /wkstn-1 Then, just use your regular tape drive tools to backup the /wkstn-1 directory. Although you could probably share a tape drive, I'm not sure that you could do it in such a way that it would be usable by any Windows software, so I think it is easier to do it this way. Trey Nolen ----- Original Message ----- From: Nate Grissom To: samba@lists.samba.org Sent: Wednesday, January 01, 2003 10:03 AM Subject: [Samba] Tape Drives Is it possible to share a tape drive using Samba. I have a tape drive that is attached to a Solaris box, that I would like to use to backup my entire environment; Solaris and Windows. If this is possible, how should I configure the smb.conf file. Thanks Nate Grissom ngrissom@netzero.net
On Wednesday, January 1, 2003, at 10:03 AM, Nate Grissom wrote:> Is it possible to share a tape drive using Samba. I have a tape drive > that is attached to a Solaris box, that I would like to use to backup > my entire environment; Solaris and Windows. If this is possible, how > should I configure the smb.conf file.Umm. Samba is really for file and printer sharing - if that tape drive can look like a file or subdirectory that you can share, then it would help! Since I doubt that is the case, you are left using standard Unix facilities such as tar and cpio, or a commercial backup package for Solaris. However, if Samba is installed on your Solaris system, you should be able to use smbclient (in smbtar mode) to perform backups of Windows PC's to the tape drive on the Solaris box. I came across a set of scripts that someone posted to the Samba mailing list a couple of years ago, which would take a list of PC and share names, and do a backup of multiple Windows PC's to the tape drive on a Unix system, using smbclient - with each PC being backed up to a separate tar file on the tape basically. I hope that gets you started in the right direction..... If you don't mind spending money, there are a few cross platform backup solutions (Arkeia?) that will let you access the Solaris tape drive from the Windows PC's.... -- Jim Morris (Jim@Morris-World.com) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1459 bytes Desc: not available Url : lists.samba.org/archive/samba/attachments/20030101/be8cc1be/attachment.bin
It might be preferable to back up your workstations to a share on the server (direct to disk), then include that share in your backup. Most recent versions of Windows have a backup utility included, though not necessarily installed by default. In Windows 98, you neet to add it via Add and Remove programs, windows setup tab. XP Home is purported to have it included on the CD. ----- Original Message ----- From: Nate Grissom To: samba@lists.samba.org Sent: Wednesday, January 01, 2003 10:03 AM Subject: [Samba] Tape Drives Is it possible to share a tape drive using Samba. I have a tape drive that is attached to a Solaris box, that I would like to use to backup my entire environment; Solaris and Windows. If this is possible, how should I configure the smb.conf file. Thanks Nate Grissom ngrissom@netzero.net -------------- next part -------------- HTML attachment scrubbed and removed