Re: [Nssbackup-team] [Question #143229]: Mount tape drive error

2013-09-20 Thread Anton
Question #143229 on sbackup changed:
https://answers.launchpad.net/sbackup/+question/143229

Anton posted a new comment:
Jean-Peer, tar writing to tape is indeed trivial, in stead of
tar zcvf /var/local/backup/today/files.tgz
you would do
tar zcvf /dev/rmt/0n

This needs one or two changes to sbackup's behaviour, depending in what 
behaviour and features you want. 
One option would be to let sbackup create all the other 'housekeeping' files in 
the backup directory on disk, and only redirect the archive to tape; that would 
allow one to find backups and browse files without reading from tape (I think; 
if not that would be a nice feature to add at some point). A config option to 
set the backup device name would be needed, which should be passed to sbackup's 
routines that start the 'tar' command.
The other would be to set the existing backup dir config option to the device 
name, test whether it is directory or device when a backup is about to be 
started and then if it is a device forget about all the 'housekeeping' files 
and write only the archive directly to the device.

( If you want to get fancy, you'd like to include support for tape
robots as well ;-) )

As for DVD, why would anyone want them as backup medium? imho, they are
too small, too expensive, too slow and not quite as reliable as one
might think (I get about 10% failure when I burn a batch of DVDs!).

-- 
You received this question notification because you are a member of
Simple Backup Maintainers, which is an answer contact for sbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #143229]: Mount tape drive error

2011-01-29 Thread Jean-Peer Lorenz
Question #143229 on Simple Backup changed:
https://answers.launchpad.net/sbackup/+question/143229

Jean-Peer Lorenz posted a new comment:
Hi Jeff,

thanks for answering this question. You're absolutely right. Currently
only disks and remote shares are supported. However, sbackup uses TAR
internally which is able to write to tape drives directly.
Unfortunately, I've no knowledge of using tape drives with TAR nor a
drive available for some tests. I guess it should be sufficient to adapt
some of TAR's commandline options (generated by sbackup; sbackup is more
or less a wrapper script around TAR) to get tape support into sbackup.
Any help in this regard, e.g. a shell script which shows basic steps to
get TAR working with a tape drive, would be highly appreciated.

 :todo: Think about a plugins system that will be used to export on TAPE, on 
 DVD and so on.
There are a bunch of more important things to do before a DVD export plugin 
should/could be implemented. Moreover, I think it's not that important to be 
able to burn disc directly from sbackup. Proper archive splitting should do it. 
A 'tape export' shouldn't be necessary since TAR is able to handle tape drives 
though we'd need help to implement it.

Best regards.
jean-peer (maintainer/developer).

-- 
You received this question notification because you are a member of
Simple Backup Maintainers, which is an answer contact for Simple Backup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #143229]: Mount tape drive error

2011-01-29 Thread asalazar48
Question #143229 on Simple Backup changed:
https://answers.launchpad.net/sbackup/+question/143229

Status: Answered = Solved

asalazar48 confirmed that the question is solved:
Thanks Jeff Lane, that solved my question.

-- 
You received this question notification because you are a member of
Simple Backup Maintainers, which is an answer contact for Simple Backup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


[Nssbackup-team] [Question #143229]: Mount tape drive error

2011-01-28 Thread asalazar48
New question #143229 on Simple Backup:
https://answers.launchpad.net/sbackup/+question/143229

I installed Simplebackup version 3.2 on a SuseLinux10.3 server Ran the 
configuration file and It asked for the location of the mounted tape drive. I 
entered the command mount -f /dev/st0 and I got an error staying the device is 
not a block device. The scheduled backup runs but dies because the Tape drive 
is not found. What is the syntax of the mount statement to get the tape dirive 
to work with simple backup.

thanks

-- 
You received this question notification because you are a member of
Simple Backup Maintainers, which is an answer contact for Simple Backup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #143229]: Mount tape drive error

2011-01-28 Thread Jeff Lane
Question #143229 on Simple Backup changed:
https://answers.launchpad.net/sbackup/+question/143229

Status: Open = Answered

Jeff Lane proposed the following answer:
Unfortunately, I don't have an answer for you regarding Simple Backup,
but I can tell you this, you can't mount a tape drive.  Tapes are not
block devices, they are character devices, and can't be mounted as you
know it.  If I recall, you need to install mt tools to use the tape
drives (maybe it's mt-st, I don't recall now, it's been a while since I
ran SuSE or SLES).

In fact, a quick (and I mean very quick) look through the source for
sbackup doesn't reveal any sort of code to actually handle tape
drives... I wonder if it really just writes to disk or remote
(nfs/samba) shares.

I'm willing to bet you will only be able to back-up to mounted block
devices (disks and NFS/Samba shares) and if you want to put those on
tape drive, you'll need mt-st and write your own shell scripts to
actually put things on tape and retrieve them.

But that's only after a very cursory look though the source code for
sbackup, so ymmv.  but I did find this comment in
core/SnapshotManager.py that leads me to this conclusion:

:todo: Think about a plugins system that will be used to export on\
   TAPE, on DVD and so on.

-- 
You received this question notification because you are a member of
Simple Backup Maintainers, which is an answer contact for Simple Backup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp