Koozali.org: home of the SME Server

Backups

Dave

Backups
« on: October 27, 2003, 02:43:29 AM »
Hi
I need some help with regard to backups.

I have an old SCSI tape drive CP1000 and a whole load of 1.2 Gig tapes.

My system is currently sitting at 3 gigs, but over 2 Gigs of that is music which I do not need to back-up as it is already on CD's.

Before I placed the music up on the server my backup to tape using ths standard Backup and Restore provided by SME worked well. But now reports DUMP: Broken pipe, DUMP: The ENTIRE dump is aborted

Because the backup type is a dump, it unfortunately takes no notice of my excludes.

So I need some help on what to do next or maybe I have it wrong and my excludes need tweaking.

So apart from removing the music, :~) what can I do?

Cheers

Dave

Ray Mitchell

Re: Backups
« Reply #1 on: October 27, 2003, 03:41:15 PM »
You would have to alter the code to specify what is included/excluded from the backup.
Alternatively you could instal Arkeia Light (free version) from ShadLords site which is integrated into server manager and is a replacement for flexbackup. It will allow you to exclude certain folders by putting an exclusion file in the folder. You need to use Java GUI applet from a workstation to do restores though.

see http://lordsfam.net/

Regs
Ray

Ray Mitchell

Re: Backups
« Reply #2 on: October 27, 2003, 03:45:10 PM »
This interesting forum thread may be useful for you.
http://lordsfam.net/forum/viewtopic.php?forum=4&showtopic=23&fromblock=yes
Regs
Ray

Charlie Brady

Re: Backups
« Reply #3 on: October 27, 2003, 05:56:29 PM »
Dave wrote:

> Because the backup type is a dump, it unfortunately takes no
> notice of my excludes.

You could upgrade to 6.0beta, which doesn't use dump.

Charlie

Dave

Re: Backups
« Reply #4 on: October 27, 2003, 08:18:27 PM »
Thanks Guys,

Ray, thanks for that, I'll check that out over the next couple of days.

Charlie, I have just got 5.6 running nicely, :~) although I will look at 6 to put on a test server so that I have something else to do :~)

Cheers

Dave

Dave

Re: Backups
« Reply #5 on: October 31, 2003, 09:23:42 AM »
Thought I would update you.

Having problems.. Not with the software but with identifying what I am using.

Unfortunately my tape drive CP1000 is not mentioned and neither are the Magnus 1.2 Gig tapes.

Yes I am in the process of trial and error but it is very daunting when it all the time returns the error message " Tape not loaded ":

Cheers

Dave

Ray Mitchell

Re: Backups
« Reply #6 on: October 31, 2003, 09:49:01 AM »
Try looking at

http://www.arkeia.com/resources/refs.html?f=drives&m=1&ss=2&exclude=5,6,7,9,10,11,12,13,14&nbs=2,8&c=supported_sg.html&t=a

The drive I had was not on the list either, but using a 2Gb DAT DDS1 type got it working.
The only 1.2G I see on the list is the Tandberg

Also check the tape libraries list
http://www.arkeia.com/resources/refs.html?f=libs&m=1&ss=2&tt=6&exclude=10,11&c=supported_libs.html&tl=ALL&filter=2&t=a

Regs
Ray

Ray Mitchell

Re: Backups
« Reply #7 on: October 31, 2003, 09:50:17 AM »
What are your settings in server manager arkeia panel ?

Ray

Dave

Re: Backups
« Reply #8 on: October 31, 2003, 09:55:37 AM »
Thanks for that Ray, I'll check those out now.

As for my settings in server manager, well I have been trying a whole load of variations :~)

Driving me nuts. :~)

I'll check out the links you have supplied and get back.

Cheers

Dave

Dave

Re: Backups
« Reply #9 on: October 31, 2003, 10:58:50 AM »
Hmmm.

Well I have found the correct Type of Drive, a STD_QIC

Not so sure about the type of Tape though. An Imation Magnus 1.2

The other problem I have, is at some stage I ticked the eject tape box and I think that this may also be part of the problem with it always reporting that there isn't a tape loaded.

Any ideas..

Dave

Ray Mitchell

Re: Backups
« Reply #10 on: October 31, 2003, 11:04:02 AM »
Well. if you tick the eject tape box, it will eject the tape after each backup (or I assume attempted backup), thus necessitating that the tape be physically inserted again.  I think while you are testing, just leave the box unticked.

As for the settings, if you tell us what you currently have in the server manager arkeia panel maybe we can advise accordingly.
Regs
Ray

Dave

Re: Backups
« Reply #11 on: October 31, 2003, 11:22:08 AM »
OK,

My current settings are

Device drive connect to: /dev/st0

Type of drive in machine: DTD_QIC

Type of Tape in drive: DAT1

The other problem I have is that you said earlier that you selected a 2Gb DAT DDS1 type, I only see DAT DDS3 ans DAT DDS4

They above settings just failed reporting Backup aborted: No tape loaded.

I have rebooted, unloaded and loaded the tape, I have tried using the command flexbackup -list -reten and the tape is retensioned and it gives the following output

# flexbackup -list -reten

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Retensioning tape...
| Reading from current tape position
|------------------------------------------------
At block 16.
|------------------------------------------------
| buffer -m 3m -s 10k -u 100 -t -p 75 -B -i /dev/nst0 | gzip -dq | restore -t \
|  -v -b 10 -f -
|------------------------------------------------

gzip: stdin: not in gzip format
buffer (writer): write of data failed: Success
bytes to write=10240, bytes written=4096, total written         30K
restore: Tape read error on first record
Verify tape and initialize maps
Input is from file/pipe
|------------------------------------------------
At block 96.
|------------------------------------------------


Dave

Ray Mitchell

Re: Backups
« Reply #12 on: October 31, 2003, 11:51:11 AM »
> Device drive connect to: /dev/st0

That should be OK for a scsi drive


> Type of drive in machine: DTD_QIC

I assume you mean STD_QIC, I don't see DTD_QIC listed


> Type of Tape in drive: DAT1

I do not see a DAT1 listed in the panel, see comment below


> The other problem I have is that you said earlier that you
> selected a 2Gb DAT DDS1 type, I only see DAT DDS3 ans DAT DDS4
>
Sorry, I meant to say

The drive I had was not on the list either, it is a 2Gb DAT DDS1 and I selected a DAT-90 which worked. (ie a 90 minute tape)

You might want to try a DAT-60 if it is a DAT type tape

> They above settings just failed reporting Backup aborted: No
> tape loaded.

Its saying that it does not recognise the type of tape you specified !!

 
> I have rebooted, unloaded and loaded the tape .....

If arkeia is loaded in the server manager panel, then it is probably installed correctly. Rebooting won't do anything.
You DO need to select the correct type of drive and type of tape for arkeia to work properly though.
Shads Arkeia contrib replaces flexbackup as the standard tape backup system and as far as I know they are NOT compatible

Regs
Ray

Dave

Re: Backups
« Reply #13 on: October 31, 2003, 01:01:30 PM »
Thanks Ray, You have me put on the right track.

The back-ups are at least kicking off now, although not identify what the problem is  :~)

I just have to find the right cartridge.

Dave

Kelvin

Re: Backups
« Reply #14 on: November 01, 2003, 01:17:12 PM »
Hi Dave,

You have correctly identified the type of drive (STD_QIC) but unfortunately, the arkeia tape types list does not include your tape type. You can manually add the tape specs to arkeia by modifying the file called :-

/usr/knox/arkeia/dbase/f3tape/tptypes.lst

I don't have your drive specs so I cannot provide more info than this, unfortunately. What you can try is to take the next closest entry (ie. the 2GB QIC tape which is listed in arkeia, then copy the details and give it a new name and of course, adjust the capacity accordingly). If it helps, I believe your CP1000 is made by Sankyo in case you still have docs for it.

Kelvin