Re: newbie Q: DUMP: The ENTIRE dump is aborted.

2005-11-19 Thread Jon LaBadie
On Sat, Nov 19, 2005 at 05:30:12PM -0800, Yan Seiner wrote:
> Christoph wrote:
> 
> >
> >2.) the main reason for the error above:
> >you are trying to use dump to backup the subdirectory /home/mysql.
> >Dump is designed to work on complete devices, like /dev/hda1 or so,
> >it can not do what you ask it for, and exactly that it is telling you.
> >
> >easy solution:
> >
> >use tar to dump your directory, add in your amada.conf in the dumptype
> >for that directory the line
> >
> >program "GNUTAR"
> 
> 
> Thanks everyone.  That in fact was the problem
> 
> amanda is now working fine.  Unfortunately, my tape drive seems to have 
> died  :-(
> 
> At least I got one good backup out of it

Though it will be hard to recover without a tape drive. :)

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: newbie Q: DUMP: The ENTIRE dump is aborted.

2005-11-19 Thread Yan Seiner

Christoph wrote:



2.) the main reason for the error above:
you are trying to use dump to backup the subdirectory /home/mysql.
Dump is designed to work on complete devices, like /dev/hda1 or so,
it can not do what you ask it for, and exactly that it is telling you.

easy solution:

use tar to dump your directory, add in your amada.conf in the dumptype
for that directory the line

program "GNUTAR"



Thanks everyone.  That in fact was the problem

amanda is now working fine.  Unfortunately, my tape drive seems to have 
died  :-(


At least I got one good backup out of it

--Yan


RE: newbie Q: DUMP: The ENTIRE dump is aborted.

2005-11-19 Thread Scott R. Burns
Looks like you are trying to tell dump to dump a subdirectory rather than a
volume/partition ?

I assume /home/mysql is not a mount point for a drive but a sub-dir on a
paritiion.

Change your disklist entry (DLE) to be the name of a drive.

On my machine an example of one drive would be:

In my disklist:

ncti103 sd2g comp-user 2


>From my Unix "df" command:

/dev/sd2g 8258270   562030   7283326 7%/data9

Scott...

Scott R. Burns
NETCON Technologies Incorporated
Suite 135 - 4474 Blakie Road
London, Ontario, Canada
N6L 1G7
Voice: +1.519.652.0401
Fax: +1.519.652.9275
Web: www.netcontech.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Yan Seiner
Sent: Saturday, November 19, 2005 12:22 PM
To: [email protected]
Subject: newbie Q: DUMP: The ENTIRE dump is aborted.


I've set up amanda as best as I know how

amcheck reports everything is OK.  Permissions, etc. all seem OK.

But when I try to run amdump I get:

FAIL dumper localhost /home/mysql 20051119 0 [/sbin/dump returned 1]
 sendbackup: start [localhost:/home/mysql level 0]
 sendbackup: info BACKUP=/sbin/dump
 sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/sbin/restore -f... -
 sendbackup: info COMPRESS_SUFFIX=.gz
 sendbackup: info end
 |   DUMP: You can't update the dumpdates file when dumping a
subdirectory
 |   DUMP: The ENTIRE dump is aborted.
 sendbackup: error [/sbin/dump returned 1]
INFO taper tape SeinerHome02 kb 0 fm 0 [OK]
FINISH driver date 20051119 time 81.367

Any ideas on where to start?  I don't want to clutter the list with
long files So where do I need to look?  Or what should I provide
to the list so you can advise?

Thanks,

--Yan



Re: newbie Q: DUMP: The ENTIRE dump is aborted.

2005-11-19 Thread Matt Hyclak
On Sat, Nov 19, 2005 at 09:21:52AM -0800, Yan Seiner enlightened us:
> I've set up amanda as best as I know how
> 
> amcheck reports everything is OK.  Permissions, etc. all seem OK.
> 
> But when I try to run amdump I get:
> 
> FAIL dumper localhost /home/mysql 20051119 0 [/sbin/dump returned 1]
> sendbackup: start [localhost:/home/mysql level 0]
> sendbackup: info BACKUP=/sbin/dump
> sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/sbin/restore -f... -
> sendbackup: info COMPRESS_SUFFIX=.gz
> sendbackup: info end
> |   DUMP: You can't update the dumpdates file when dumping a
> subdirectory
> |   DUMP: The ENTIRE dump is aborted.
> sendbackup: error [/sbin/dump returned 1]
> INFO taper tape SeinerHome02 kb 0 fm 0 [OK]
> FINISH driver date 20051119 time 81.367
> 
> Any ideas on where to start?  I don't want to clutter the list with
> long files So where do I need to look?  Or what should I provide
> to the list so you can advise? 
> 
> Thanks,
> 
> --Yan

Well, the error is right there:
> sendbackup: info end
> |   DUMP: You can't update the dumpdates file when dumping a
> subdirectory
> |   DUMP: The ENTIRE dump is aborted.
> sendbackup: error [/sbin/dump returned 1]

You are trying to use dump on a directory, not a mount point like it was
designed. If you only want to do a subdirectory, you should use tar, not dump.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


Re: newbie Q: DUMP: The ENTIRE dump is aborted.

2005-11-19 Thread Paddy Sreenivasan
Check /tmp/amanda/sendbackup* logs on the client for more details.
 
Dump backups whole filesystems only. I think you should use tar. tar works with
subdirectories. You can include/exclude directories. Change dumptype entry in
disklist file to use tar.
 
Paddy 
On 11/19/05, Yan Seiner <[EMAIL PROTECTED]> wrote:
I've set up amanda as best as I know howamcheck reports everything is OK.  Permissions, etc. all seem OK.
But when I try to run amdump I get:FAIL dumper localhost /home/mysql 20051119 0 [/sbin/dump returned 1]sendbackup: start [localhost:/home/mysql level 0]sendbackup: info BACKUP=/sbin/dumpsendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/sbin/restore -f... -
sendbackup: info COMPRESS_SUFFIX=.gzsendbackup: info end|   DUMP: You can't update the dumpdates file when dumping asubdirectory|   DUMP: The ENTIRE dump is aborted.sendbackup: error [/sbin/dump returned 1]
INFO taper tape SeinerHome02 kb 0 fm 0 [OK]FINISH driver date 20051119 time 81.367Any ideas on where to start?  I don't want to clutter the list withlong files So where do I need to look?  Or what should I provide
to the list so you can advise?Thanks,--Yan