Exclude list on smbclient?

2001-01-31 Thread Mack Earnhardt

Does anyone know whether it is possible to have an exclude list when 
backing up WinNT drives?

Thanks,
Mack

-- 
**
Mack Earnhardt
Optivel, Inc.
E-mail: [EMAIL PROTECTED]
Voice:  317.507.6274
Fax:800.832.5615
Web:http://www.optivel.com
**




Re: Exclude list on smbclient?

2001-01-31 Thread Mack Earnhardt



Alexandre Oliva wrote:

 On Jan 31, 2001, Mack Earnhardt [EMAIL PROTECTED] wrote:
 
 Does anyone know whether it is possible to have an exclude list when
 backing up WinNT drives?
 
 
 Nope.  All sendbackup supports right now is a single exclude file
 spec, in the case of Smbclient.  And note that sendsize doesn't
 support it at all, so estimates are going to be off.  Possibly
 significantly off.
 
I wouldn't care if the exclude list was shared between WinNT boxes and 
Linux.  Linux doesn't usually have a file called pagefile.sys anyway.  
But do you mean that smbtar doesn't support excludes at all?

-Mack

-- 
**
Mack Earnhardt
Optivel, Inc.
E-mail: [EMAIL PROTECTED]
Voice:  317.507.6274
Fax:800.832.5615
Web:http://www.optivel.com
**




Re: Restore without amanda...

2001-01-29 Thread Mack Earnhardt



Ben Hyatt wrote:

 How can I restore files without Amanda? Thanks for your time.
 
 
 use dd along with ufsrestore.
 
 There's good online docs on this.
 http://www.backupcentral.com/amanda-24.html

I've had a problem using dd with skip=1, though.  For some reason, dd on 
my system (Debian 2.2) doesn't skip the first block as it should when 
reading directly from the tape.  I used cp to copy the dump to a scratch 
file and then used dd w/skip=1 and it works.  You might try using dd 
once to read from the tape, and pass the output to 'strings' or to a 
file and use 'strings file' to check it.  If you get a readable amanda 
header, then you have the same problem I have.  One of these days I'll 
try to track it down.

-Mack

 
 
 -Ben
 
 Regards,
 SMalla
 

-- 
**
Mack Earnhardt
Optivel, Inc.
E-mail: [EMAIL PROTECTED]
Voice:  317.507.6274
Fax:800.832.5615
Web:http://www.optivel.com
**




Re: Can't read Travan dump tape

2001-01-25 Thread Mack Earnhardt



John R. Jackson wrote:

 amrestore: short file header block: 26624 bytes
 
 
 What do you get if you do this:
 
   mt -f /dev/tape rewind
   dd if=/dev/tape bs=32k count=1  /tmp/f0.b0
   ls -l /tmp/f0.b0
   strings /tmp/f0.b0

#mt rewind
#dd if=/dev/tape bs=32k count=1  /tmp/f0.b0
0+1 records in
0+1 records out
#ll /tmp/f0.b0
-rw-r--r--1rootroot26624 Jan 25 09:04 /tmp/f0.b0
#strings /tmp/f0.b0
AMANDA: TAPESTART DATE 20010123 TAPE Optivel-01

 
 
 amrestore: WARNING: not at start of tape, file numbers will be offset
 
 
 Had you positioned this tape with an fsf or something else before
 running amrecover?
 
 Had you rewound the tape?  Amrecover does not do so (or anything else), so
 if it was at the end (or someplace in the middle), bad things will happen.

It gives exactly the same messages (including amidxtaped.debug) whether 
amrecover is preceeded by 'mt rewind' or 'mt fsf'.  Seems to make no 
difference.  Many people have said amrecover doesn't rewind, but the 
tape drive sure sounds like it does.

 
 
 Mack
 
 
 John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
 
 
 
 

-- 
**
Mack Earnhardt
Optivel, Inc.
E-mail: [EMAIL PROTECTED]
Voice:  317.507.6274
Fax:800.832.5615
Web:http://www.optivel.com
**




Re: Can't read Travan dump tape

2001-01-25 Thread Mack Earnhardt

I was uncertain at first, but I think it's ok.  Here's the setup:

mknod /dev/ht0 c 37 0
mknod /dev/nht0 c 37 128
ln -s /dev/nht0 /dev/tape (since /dev/tape is default for mt)

One of my first attempts at this amdump wrote 11 filesystems to tape.  I 
checked through several that I could use 'mt fsf' and cp or dd to read 
them back and that the headers indicated the filesystem name in the 
first block actually changed.  In all cases the tape stayed put after 
the read until I told it to do something else.  When amrecover sounds 
like it's rewinding, that's the first thing it does, not the last.

-Mack
Gerhard den Hollander wrote:

 * Mack Earnhardt [EMAIL PROTECTED] (Thu, Jan 25, 2001 at 09:28:31AM -0500)
 
 Had you rewound the tape?  Amrecover does not do so (or anything else), so
 if it was at the end (or someplace in the middle), bad things will happen.
 
 It gives exactly the same messages (including amidxtaped.debug) whether 
 amrecover is preceeded by 'mt rewind' or 'mt fsf'.  Seems to make no 
 difference.  Many people have said amrecover doesn't rewind, but the 
 tape drive sure sounds like it does.
 
 
 Ehm, this may be a stupid question,
 but are you sure you are using the no-rewind tapedevice ?
 usually called /dev/ntape /dev/nrtape or somesuch.
 
 Please check your OS documentation
 
 
 Kind regards,
  --
 Gerhard den Hollander   Phone +31-10.280.1515
 Technical Support Jason Geosystems BV   Fax   +31-10.280.1511
  (When calling please note: we are in GMT+1)
 [EMAIL PROTECTED]  POBox 1573
 visit us at http://www.jasongeo.com 3000 BN Rotterdam  
 JASON...#1 in Reservoir CharacterizationThe Netherlands
 
   This e-mail and any attachment is/are intended solely for the named
   addressee(s) and may contain information that is confidential and privileged.
If you are not the intended recipient, we request that you do not
  disseminate, forward, distribute or copy this e-mail message.
   If you have received this e-mail message in error, please notify us
immediately by telephone and destroy the original message.
 
 
 
 

-- 
**
Mack Earnhardt
Optivel, Inc.
E-mail: [EMAIL PROTECTED]
Voice:  317.507.6274
Fax:800.832.5615
Web:http://www.optivel.com
**