Re: [Up and running] RE: SAS/Fibre Channel interface for LTO4

2008-02-14 Thread Gavin Henry
 Last thing to fix is:

Amanda Backup Client Hosts Check

WARNING: server7: selfcheck request failed: timeout waiting for ACK
WARNING: server1: selfcheck request failed: timeout waiting for REP
Client check: 6 hosts checked in 90.064 seconds, 2 problems foun


Debian ;-) Always a problem..


[Up and running] RE: SAS/Fibre Channel interface for LTO4

2008-02-14 Thread Gavin Henry
quote who=Gavin Henry
 quote who=[EMAIL PROTECTED]
 Our fibre channel devices show up as scsi devices on both Tru64 UNIX and
 HP-UX.  I would expect most UNIX systems to behave the same.  The
 underlying drivers are the same, as I understand it (FC being a
 serialized version of SCSI).

 Best wishes with the implementation.


 OK, now price is the next thing to decide on, which will dictate the
 interface ;-)

 Thanks all.

Just a quick one to say our client is now running:

Dell TL2000 LTO4 and a Dell SAS5e/i card and Amanda 2.5.2p1 on Centos 5.1:

[EMAIL PROTECTED] ~]# mtx -f /dev/sg4 inquiry
Product Type: Medium Changer
Vendor ID: 'IBM '
Product ID: '3573-TL '
Revision: '4.50'
Attached Changer: No
[EMAIL PROTECTED] ~]# mtx -f /dev/sg3 inquiry
Product Type: Tape Drive
Vendor ID: 'IBM '
Product ID: 'ULT3580-TD4 '
Revision: '74H6'
Attached Changer: No

They are backing up 6 servers, with the first run tonight and a 3 tape
span initial trial (we haven't bother to work out a total backup capacity
requirement yet ;-) ).

2.4TB should be enough to test for one run as there is no way that much to
backup.

Last thing to fix is:


There are 7 clients, including the amanda server itself, ranging from
Centos 4.1, 5.1, Suse Ent 9, 1 Windows Box and Ubuntu 6.01 LTS.

We did have a bit of a panic because the card wasn't seeing the library,
but turned out to be a duff cable.

Lastly, we are using the chg-zd-mtx changer but had a problem in that it
wouldn't find mt or mtx!

Had to edit and provide full paths to them like so:

[EMAIL PROTECTED] ~]# cat /usr/lib/amanda/chg-lib.sh

# You may want to customize these values


# These are the defaults discovered by configure when Amanda was installed.
# They can be overridden here, or by by 'mt_binary' and 'mtx_binary',
# respectively, in the changerfile (currently only for chg-zd-mtx.sh and
# chg-manual.sh).

MT=/bin/mt
MTX=/usr/sbin/mtx


Thanks all, and I hope this reassures someone else that the latest and
greatest LTO hardware works perfectly (as expected) with Amanda.

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


RE: SAS/Fibre Channel interface for LTO4

2007-12-12 Thread Gavin Henry
quote who=[EMAIL PROTECTED]
 Our fibre channel devices show up as scsi devices on both Tru64 UNIX and
 HP-UX.  I would expect most UNIX systems to behave the same.  The
 underlying drivers are the same, as I understand it (FC being a
 serialized version of SCSI).

 Best wishes with the implementation.


OK, now price is the next thing to decide on, which will dictate the
interface ;-)

Thanks all.


SAS/Fibre Channel interface for LTO4

2007-12-11 Thread Gavin Henry
Hi,

We're looking at an LTO4 device and have an option for SAS or fibre
channel interface for hooking up to the server and Amanda.

Never dealt with this kind of interface before. How would it appear to a
*nix server and Amanda?

We're used to LTO2 and a SCSI interface with chg-*-mtx scripts.

Thanks,

Gavin.

-- 
Kind Regards,

Gavin Henry.





Congrats on Amanda 2.5.1p1

2006-10-10 Thread Gavin Henry
Hi All,

I must say 2.5.1p1 is much better than 2.5.0. amcheck now doesn't complain
about having 6.4TB free!

Holding disk /storage/amanda: 6443 GB disk space available, using 500 GB
as requested

It used to through a fit about this.

Everything is now upgraded, after a few headaches because of not reading
the new docs for xinetd.d/amanda and .amandahosts, but that's my fault ;-)

Also, we now longer have high CPU usage when using amrecover and hugh
backups!

Many thanks all, and keep up the good work!

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




amfetchdump and permission errors as root user and amanda user

2006-08-17 Thread Gavin Henry
Just testing recovery like a good support company and getting permission
errors:

nas1:/storage # /usr/local/sbin/amfetchdump Test nas1 /storage/samba
20060811  -o /storage/
Scanning /storage/amanda...
1 tape(s) needed for restoration
changer: got exit: 0 str: 6 7 1 1
The following tapes are needed: Test-006
Press enter when ready


Looking for tape Test-006...
changer: got exit: 0 str: 6 7 1 1
changer_query: changer return was 7 1 1
changer_query: searchable = 1
changer_find: looking for Test-006 changer is searchable = 1
changer_search: Test-006
changer: got exit: 0 str: 6 /dev/nst0
amfetchdump: slot 6: date 20060811 label Test-006 (exact label match)
Scanning Test-006 (slot 6)
amfetchdump:   1: restoring split dumpfile: date 20060811 host nas1 disk
/storage/samba part 20221/UNKNOWN lev 0 comp N program /bin/tar
amfetchdump:  Chunk out of order, will save to disk and append to output.
amfetchdump: could not create output file .tmp: Permission denied
amfetchdump: could not create output file .tmp: Permission denied
amfetchdump: pid 11700 finish time Thu Aug 17 11:22:46 2006

Why the permission denied?

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: amfetchdump and permission errors as root user and amanda user

2006-08-17 Thread Gavin Henry
quote who=Gavin Henry
 Just testing recovery like a good support company and getting permission
 errors:

 nas1:/storage # /usr/local/sbin/amfetchdump Test nas1 /storage/samba
 20060811  -o /storage/
 Scanning /storage/amanda...
 1 tape(s) needed for restoration
 changer: got exit: 0 str: 6 7 1 1
 The following tapes are needed: Test-006
 Press enter when ready


 Looking for tape Test-006...
 changer: got exit: 0 str: 6 7 1 1
 changer_query: changer return was 7 1 1
 changer_query: searchable = 1
 changer_find: looking for Test-006 changer is searchable = 1
 changer_search: Test-006
 changer: got exit: 0 str: 6 /dev/nst0
 amfetchdump: slot 6: date 20060811 label Test-006 (exact label match)
 Scanning Test-006 (slot 6)
 amfetchdump:   1: restoring split dumpfile: date 20060811 host nas1 disk
 /storage/samba part 20221/UNKNOWN lev 0 comp N program /bin/tar
 amfetchdump:  Chunk out of order, will save to disk and append to
 output.
 amfetchdump: could not create output file .tmp: Permission denied
 amfetchdump: could not create output file .tmp: Permission denied
 amfetchdump: pid 11700 finish time Thu Aug 17 11:22:46 2006

 Why the permission denied?

Been running amrestore and have found the reason:

amrestore: could not create output file .tmp: Too many open files

This is 64-Bit SUSE 9.3, so maybe need to change no of files that can be
opened ;-)

Gavin.


 Thanks.

 --
 Kind Regards,

 Gavin Henry.
 Managing Director.

 T +44 (0) 1224 279484
 M +44 (0) 7930 323266
 F +44 (0) 1224 824887
 E [EMAIL PROTECTED]

 Open Source. Open Solutions(tm).

 http://www.suretecsystems.com/






Very high mem usage with amindexd and amrecover

2006-08-15 Thread Gavin Henry
Just trying to run amrecover:

17862 amanda18   0 5926m 3.8g 1360 D 13.5 97.8   0:22.94 amindexd

Our server total dies, which has 4GB RAM and 2Gb swap.

Any ideas?

The setdisk we are setting to is our 6.9T disk, which has 276GB currently
saved.

Thanks,

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




RE: tape_splitsize 20 Gb and 200GB LTO2 Tapes

2006-08-14 Thread Gavin Henry
quote who=Gardiner Leverett
 I've got a question for you (since I'm about to implement
 the exact same thing): does the dump have to be tar'd?

I'm copying this to list for others, hope you don't mind?

We are using tar, but not gzip'd. We are using the hardare compression.

Make sure you use split_diskbuffer, or you'll get a lot of:

taper: no split_diskbuffer specified: using fallback split size of 10240kb to
buffer localhost:/root.0 in-memory

 I am trying to dump about 80G of data from across the
 country (with T1's at both ends), and the throughput is
 coming at 161kb/s, which is trying to say it'd be 4 days
 to dump all this data (when it used to work in one weekend
 over 40 hours).

Whoa ;-)

 I want to implement the same thing with
 splitting across lto2 tapes (but I don't have a holding disk,
 and I'm about to add a usb one).  I think the tar is what's
 killing this, so I just want to do a full dump, into 2gb chunks
 and save those to tape.

Plain tar or with compression?



 -Original Message-


 quote who=Paul Bijnens
  On 2006-08-11 17:27, Gavin Henry wrote:
  Dear All,
 
  We are trying to dump over 300GB to go across 2 tapes, as per:
 
  http://wiki.zmanda.com/index.php/Splitting_dumps_across_tapes
 
  But keep getting:
 
  nas1:/storage/samba 0 planner: [dump larger than available
 tape space,
  280606560 KB, but cannot incremental dump new disk]
 
  Our dumptype is:
 
  define dumptype user-tar-span {
 root-tar
 tape_splitsize 20 Gb
 comment tape-spanning user partitions dumped with tar
 priority medium
  }
 
  Any tips?
 
  You probably still have runtapes 1.  Increase it.
  Or set maxdumpsize to an appropriate value.

 /me hides head in shame. I thought I did, must have been thinking of
 runspercycle. Doh!

 Thanks!

 
 
  --
  Paul Bijnens, xplanation Technology ServicesTel
 +32 16 397.511
  Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax
 +32 16 397.512
  http://www.xplanation.com/  email:
 [EMAIL PROTECTED]
 
 **
 *
  * I think I've got the hang of it now:  exit, ^D, ^C, ^\,
 ^Z, ^Q, ^^, *
  * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close,
 bye, /bye, *
  * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,
 abort,  hangup, *
  * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,
 shutdown, *
  * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock,
 Stop-A, ... *
  * ...  Are you sure?  ...   YES   ...   Phew ...   I'm
 out  *
 
 **
 *
 
 







port NNNN is not secure - Only mentioned in Planner, not amcheck

2006-08-11 Thread Gavin Henry
Dear all,

I am just wondering, since we compiled --with-ssh-security, none of our
amdumps are working due to planner reporting:

planner: ERROR dell2 NAK: host xxx: port 32916 not secure
  planner: ERROR nas1 NAK: host xxx: port 32916 not secure
  planner: ERROR dell1 NAK: host xxx: port 32916 not secure


amcheck doesn't show this error, like mentioned at:

http://wiki.zmanda.com/index.php/Amcheck:_port__is_not_secure

Is this because we aren't using ssh keys?

Lastly:

driver: WARNING: /storage/amanda: 104857600 KB requested, but only
-2147483648 KB
available.

Above seems to be from ou holding disk being 6.9T big. Where can I submit
a bug for amcheck/driver?

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




tape_splitsize 20 Gb and 200GB LTO2 Tapes

2006-08-11 Thread Gavin Henry
Dear All,

We are trying to dump over 300GB to go across 2 tapes, as per:

http://wiki.zmanda.com/index.php/Splitting_dumps_across_tapes

But keep getting:

nas1:/storage/samba 0 planner: [dump larger than available tape space,
280606560 KB, but cannot incremental dump new disk]

Our dumptype is:

define dumptype user-tar-span {
   root-tar
   tape_splitsize 20 Gb
   comment tape-spanning user partitions dumped with tar
   priority medium
}

Any tips?

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: tape_splitsize 20 Gb and 200GB LTO2 Tapes

2006-08-11 Thread Gavin Henry
quote who=Paul Bijnens
 On 2006-08-11 17:27, Gavin Henry wrote:
 Dear All,

 We are trying to dump over 300GB to go across 2 tapes, as per:

 http://wiki.zmanda.com/index.php/Splitting_dumps_across_tapes

 But keep getting:

 nas1:/storage/samba 0 planner: [dump larger than available tape space,
 280606560 KB, but cannot incremental dump new disk]

 Our dumptype is:

 define dumptype user-tar-span {
root-tar
tape_splitsize 20 Gb
comment tape-spanning user partitions dumped with tar
priority medium
 }

 Any tips?

 You probably still have runtapes 1.  Increase it.
 Or set maxdumpsize to an appropriate value.

/me hides head in shame. I thought I did, must have been thinking of
runspercycle. Doh!

Thanks!



 --
 Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
 http://www.xplanation.com/  email:  [EMAIL PROTECTED]
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
 * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
 * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
 * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
 * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
 ***





Re: amanda-2.5.0p2 hanging on smbclient with configure

2006-08-09 Thread Gavin Henry
quote who=Gavin Henry
 quote who=Gavin Henry
 quote who=Gavin Henry
 quote who=Paul Bijnens
 On 2006-08-08 16:17, Gavin Henry wrote:

 Currently trying to compile 2.5.0p2 with:

 ./configure --with-user=amanda --with-group=disk --with-ssh-security
 --with-config=Suretec --with-changer-device=/dev/sg2
 --with-tape-device=/dev/nst0

 But configure just sits there at:

 checking for smbclient... /usr/bin/smbclient

Upgrading to Samba 3.0.23b fixed it. Not sure, but can now move on.

Thanks.


 Same when adding --with-smbclient=/usr/bin/smbclient


 If you do not need smbclient support, then you can configure
 with  --without-smbclient  and work around this problem.

 I have tried that, and with --with-smbclient=no.

 I've been going through configure.in to see what the probs are.


 If you do need it...  then try to investigate what is blocking.
 It seems like configure is hanging in one of the next steps.

 Configure tries to find out what version of smbclient you have
 by running the command:

 smbclient '\\not.a.host.name\notashare' -U nosuchuser -N -Tx /dev/null

 Looks like it's this. It just hangs.


 Must be smbclient, as it is taking forever, even when I jsut run:

 smblcient

 with no options.

 Forget it, will debug smbclient. Nothing wrong with Amanda.

 Thanks all.

 strace smbclient -d 5

 show it sitting at:

 futex(0x2bdf2dc0, FUTEX_WAIT, 2, NULL

 Hmm.

 I just setup 2 clients on Fedora Core 5 with 2.5.0p2, and they both are
 fine.

 The server is on a SUSE 9.3 x86_64 box, that has (Is a Samba PDC too):

 free -m
  total   used   free sharedbuffers
 cached
 Mem:  3961296   3665  0 48
 154
 -/+ buffers/cache: 93   3868
 Swap: 2070  0   2070

 uname -a
 Linux nas1 2.6.14.2-smp #2 SMP Thu Nov 17 15:31:40 GMT 2005 x86_64
 x86_64
 x86_64 GNU/Linux

 df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/sda1  73G  6.0G   67G   9% /
 tmpfs 2.0G 0  2.0G   0% /dev/shm
 /dev/sdb  6.9T  263G  6.6T   4% /storage

 lsscsi
 [0:0:0:0]diskATA  HTS541080G9SA00  MB4O  /dev/sda
 [4:0:1:0]tapeCERTANCE ULTRIUM 21775  /dev/st0
 [4:0:1:1]mediumx QUANTUM  UHDL 000E  -
 [6:0:0:0]diskArecaARC-1160-VOL#00  R001  /dev/sdb


 What happens if you run that manually?

 Hangs

 The output of that step does not appear on screen however, so it could
 be that configure is actually hanging on the step after that.

 I think it's smbclient that is the problem.


 The next step is finding out where the gzip program lives.
 Is does that by looking in several directories.
 If one of those directories happens to be mounted on a non-responsive
 NFS-server, you hang here too.

 The list of directories is:
 /bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd:/etc:/usr/etc
 /usr/local/sbin:/usr/local/bin:/usr/ccs/bin
 and the value of $PATH from the user that runs configure.

 Anything strange when trying test -e /bin/gzip?  (Try that for
 all the above dirs)

 Nope, looks fine.



 --
 Paul Bijnens, xplanation Technology ServicesTel  +32 16
 397.511
 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16
 397.512
 http://www.xplanation.com/  email:
 [EMAIL PROTECTED]
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^,
 *
 * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye,
 *
 * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup,
 *
 * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown,
 *
 * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...
 *
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out
 *
 ***











amcheck and BIG holding disks

2006-08-09 Thread Gavin Henry
Dear all,

We've put Amandas Holding disk on a NAS, which has 6.6T free on it:

df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1  73G  6.0G   67G   9% /
tmpfs 2.0G 0  2.0G   0% /dev/shm
/dev/sdb  6.9T  263G  6.6T   4% /storage

amcheck doesn't like it though:

Amanda Tape Server Host Check
-
WARNING: holding disk /storage/amanda: only -2048 GB free, using nothing

in our amanda.conf we've put in the holdingdisk section:

use -1000Gb

Anything else we can do?

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: amcheck and BIG holding disks

2006-08-09 Thread Gavin Henry
quote who=Jon LaBadie
 On Wed, Aug 09, 2006 at 02:41:29PM +0100, Gavin Henry wrote:
 Dear all,

 We've put Amandas Holding disk on a NAS, which has 6.6T free on it:

 df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/sda1  73G  6.0G   67G   9% /
 tmpfs 2.0G 0  2.0G   0% /dev/shm
 /dev/sdb  6.9T  263G  6.6T   4% /storage

 amcheck doesn't like it though:

 Amanda Tape Server Host Check
 -
 WARNING: holding disk /storage/amanda: only -2048 GB free, using nothing

 in our amanda.conf we've put in the holdingdisk section:

 use -1000Gb

 Anything else we can do?


 Damn wrap around/overflow on big numbers.

Say again?


 Do you expect to be able to feed your unbelievably fast
 LTO-3 drive fast enough from network storage?

Yeah, it's on the same server (www.dnuk.com NAS Server):

Dual AMD64 2GHz
4GB Ram
80GB OS Disk
6.9T /storage
SUSE 9.3 64Bit
Quantum SuperLoader 3 LT0-2 Autoloader
LSI Logic/Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)

Just running amtapetype now via screen, so might just pick one from:
http://wiki.zmanda.com/index.php/Tapetype_definitions#LTO-2_.28Ultrium_2.29

Gavin.


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




Re: amcheck and BIG holding disks

2006-08-09 Thread Gavin Henry
quote who=Gavin Henry
 quote who=Jon LaBadie
 On Wed, Aug 09, 2006 at 02:41:29PM +0100, Gavin Henry wrote:
 Dear all,

 We've put Amandas Holding disk on a NAS, which has 6.6T free on it:

 df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/sda1  73G  6.0G   67G   9% /
 tmpfs 2.0G 0  2.0G   0% /dev/shm
 /dev/sdb  6.9T  263G  6.6T   4% /storage

 amcheck doesn't like it though:

 Amanda Tape Server Host Check
 -
 WARNING: holding disk /storage/amanda: only -2048 GB free, using
 nothing

 in our amanda.conf we've put in the holdingdisk section:

 use -1000Gb

 Anything else we can do?


 Damn wrap around/overflow on big numbers.

 Say again?


 Do you expect to be able to feed your unbelievably fast
 LTO-3 drive fast enough from network storage?

 Yeah, it's on the same server (www.dnuk.com NAS Server):

 Dual AMD64 2GHz
 4GB Ram
 80GB OS Disk
 6.9T /storage
 SUSE 9.3 64Bit
 Quantum SuperLoader 3 LT0-2 Autoloader

Any advice on a changer script for this loader?

Was going to use chg-scsi?

http://wiki.zmanda.com/index.php/Changers#chg-scsi_.28new_interface.2C_try_to_drive_a_robot_with_direct_scsi_commands.29

Thanks.

 LSI Logic/Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev
 07)

 Just running amtapetype now via screen, so might just pick one from:
 http://wiki.zmanda.com/index.php/Tapetype_definitions#LTO-2_.28Ultrium_2.29

 Gavin.


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






amanda-2.5.0p2 hanging on smbclient with configure

2006-08-08 Thread Gavin Henry
Dear All,

Currently trying to compile 2.5.0p2 with:

./configure --with-user=amanda --with-group=disk --with-ssh-security
--with-config=Suretec --with-changer-device=/dev/sg2
--with-tape-device=/dev/nst0

But configure just sits there at:

checking for smbclient... /usr/bin/smbclient

Same when adding --with-smbclient=/usr/bin/smbclient

Any tips?

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: amanda-2.5.0p2 hanging on smbclient with configure

2006-08-08 Thread Gavin Henry
quote who=Paul Bijnens
 On 2006-08-08 16:17, Gavin Henry wrote:

 Currently trying to compile 2.5.0p2 with:

 ./configure --with-user=amanda --with-group=disk --with-ssh-security
 --with-config=Suretec --with-changer-device=/dev/sg2
 --with-tape-device=/dev/nst0

 But configure just sits there at:

 checking for smbclient... /usr/bin/smbclient

 Same when adding --with-smbclient=/usr/bin/smbclient


 If you do not need smbclient support, then you can configure
 with  --without-smbclient  and work around this problem.

I have tried that, and with --with-smbclient=no.

I've been going through configure.in to see what the probs are.


 If you do need it...  then try to investigate what is blocking.
 It seems like configure is hanging in one of the next steps.

 Configure tries to find out what version of smbclient you have
 by running the command:

 smbclient '\\not.a.host.name\notashare' -U nosuchuser -N -Tx /dev/null

Looks like it's this. It just hangs.

I just setup 2 clients on Fedora Core 5 with 2.5.0p2, and they both are fine.

The server is on a SUSE 9.3 x86_64 box, that has (Is a Samba PDC too):

free -m
 total   used   free sharedbuffers cached
Mem:  3961296   3665  0 48154
-/+ buffers/cache: 93   3868
Swap: 2070  0   2070

uname -a
Linux nas1 2.6.14.2-smp #2 SMP Thu Nov 17 15:31:40 GMT 2005 x86_64 x86_64
x86_64 GNU/Linux

df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1  73G  6.0G   67G   9% /
tmpfs 2.0G 0  2.0G   0% /dev/shm
/dev/sdb  6.9T  263G  6.6T   4% /storage

lsscsi
[0:0:0:0]diskATA  HTS541080G9SA00  MB4O  /dev/sda
[4:0:1:0]tapeCERTANCE ULTRIUM 21775  /dev/st0
[4:0:1:1]mediumx QUANTUM  UHDL 000E  -
[6:0:0:0]diskArecaARC-1160-VOL#00  R001  /dev/sdb


 What happens if you run that manually?

Hangs

 The output of that step does not appear on screen however, so it could
 be that configure is actually hanging on the step after that.

I think it's smbclient that is the problem.


 The next step is finding out where the gzip program lives.
 Is does that by looking in several directories.
 If one of those directories happens to be mounted on a non-responsive
 NFS-server, you hang here too.

 The list of directories is:
 /bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd:/etc:/usr/etc
 /usr/local/sbin:/usr/local/bin:/usr/ccs/bin
 and the value of $PATH from the user that runs configure.

 Anything strange when trying test -e /bin/gzip?  (Try that for
 all the above dirs)

Nope, looks fine.



 --
 Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
 http://www.xplanation.com/  email:  [EMAIL PROTECTED]
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
 * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
 * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
 * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
 * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
 ***





Re: amanda-2.5.0p2 hanging on smbclient with configure

2006-08-08 Thread Gavin Henry
quote who=Gavin Henry
 quote who=Paul Bijnens
 On 2006-08-08 16:17, Gavin Henry wrote:

 Currently trying to compile 2.5.0p2 with:

 ./configure --with-user=amanda --with-group=disk --with-ssh-security
 --with-config=Suretec --with-changer-device=/dev/sg2
 --with-tape-device=/dev/nst0

 But configure just sits there at:

 checking for smbclient... /usr/bin/smbclient

 Same when adding --with-smbclient=/usr/bin/smbclient


 If you do not need smbclient support, then you can configure
 with  --without-smbclient  and work around this problem.

 I have tried that, and with --with-smbclient=no.

 I've been going through configure.in to see what the probs are.


 If you do need it...  then try to investigate what is blocking.
 It seems like configure is hanging in one of the next steps.

 Configure tries to find out what version of smbclient you have
 by running the command:

 smbclient '\\not.a.host.name\notashare' -U nosuchuser -N -Tx /dev/null

 Looks like it's this. It just hangs.


Must be smbclient, as it is taking forever, even when I jsut run:

smblcient

with no options.

Forget it, will debug smbclient. Nothing wrong with Amanda.

Thanks all.

 I just setup 2 clients on Fedora Core 5 with 2.5.0p2, and they both are
 fine.

 The server is on a SUSE 9.3 x86_64 box, that has (Is a Samba PDC too):

 free -m
  total   used   free sharedbuffers cached
 Mem:  3961296   3665  0 48154
 -/+ buffers/cache: 93   3868
 Swap: 2070  0   2070

 uname -a
 Linux nas1 2.6.14.2-smp #2 SMP Thu Nov 17 15:31:40 GMT 2005 x86_64 x86_64
 x86_64 GNU/Linux

 df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/sda1  73G  6.0G   67G   9% /
 tmpfs 2.0G 0  2.0G   0% /dev/shm
 /dev/sdb  6.9T  263G  6.6T   4% /storage

 lsscsi
 [0:0:0:0]diskATA  HTS541080G9SA00  MB4O  /dev/sda
 [4:0:1:0]tapeCERTANCE ULTRIUM 21775  /dev/st0
 [4:0:1:1]mediumx QUANTUM  UHDL 000E  -
 [6:0:0:0]diskArecaARC-1160-VOL#00  R001  /dev/sdb


 What happens if you run that manually?

 Hangs

 The output of that step does not appear on screen however, so it could
 be that configure is actually hanging on the step after that.

 I think it's smbclient that is the problem.


 The next step is finding out where the gzip program lives.
 Is does that by looking in several directories.
 If one of those directories happens to be mounted on a non-responsive
 NFS-server, you hang here too.

 The list of directories is:
 /bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd:/etc:/usr/etc
 /usr/local/sbin:/usr/local/bin:/usr/ccs/bin
 and the value of $PATH from the user that runs configure.

 Anything strange when trying test -e /bin/gzip?  (Try that for
 all the above dirs)

 Nope, looks fine.



 --
 Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
 http://www.xplanation.com/  email:  [EMAIL PROTECTED]
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
 * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
 * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
 * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
 * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
 ***







Re: amanda-2.5.0p2 hanging on smbclient with configure

2006-08-08 Thread Gavin Henry
quote who=Gavin Henry
 quote who=Gavin Henry
 quote who=Paul Bijnens
 On 2006-08-08 16:17, Gavin Henry wrote:

 Currently trying to compile 2.5.0p2 with:

 ./configure --with-user=amanda --with-group=disk --with-ssh-security
 --with-config=Suretec --with-changer-device=/dev/sg2
 --with-tape-device=/dev/nst0

 But configure just sits there at:

 checking for smbclient... /usr/bin/smbclient

 Same when adding --with-smbclient=/usr/bin/smbclient


 If you do not need smbclient support, then you can configure
 with  --without-smbclient  and work around this problem.

 I have tried that, and with --with-smbclient=no.

 I've been going through configure.in to see what the probs are.


 If you do need it...  then try to investigate what is blocking.
 It seems like configure is hanging in one of the next steps.

 Configure tries to find out what version of smbclient you have
 by running the command:

 smbclient '\\not.a.host.name\notashare' -U nosuchuser -N -Tx /dev/null

 Looks like it's this. It just hangs.


 Must be smbclient, as it is taking forever, even when I jsut run:

 smblcient

 with no options.

 Forget it, will debug smbclient. Nothing wrong with Amanda.

 Thanks all.

strace smbclient -d 5

show it sitting at:

futex(0x2bdf2dc0, FUTEX_WAIT, 2, NULL

Hmm.

 I just setup 2 clients on Fedora Core 5 with 2.5.0p2, and they both are
 fine.

 The server is on a SUSE 9.3 x86_64 box, that has (Is a Samba PDC too):

 free -m
  total   used   free sharedbuffers
 cached
 Mem:  3961296   3665  0 48
 154
 -/+ buffers/cache: 93   3868
 Swap: 2070  0   2070

 uname -a
 Linux nas1 2.6.14.2-smp #2 SMP Thu Nov 17 15:31:40 GMT 2005 x86_64
 x86_64
 x86_64 GNU/Linux

 df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/sda1  73G  6.0G   67G   9% /
 tmpfs 2.0G 0  2.0G   0% /dev/shm
 /dev/sdb  6.9T  263G  6.6T   4% /storage

 lsscsi
 [0:0:0:0]diskATA  HTS541080G9SA00  MB4O  /dev/sda
 [4:0:1:0]tapeCERTANCE ULTRIUM 21775  /dev/st0
 [4:0:1:1]mediumx QUANTUM  UHDL 000E  -
 [6:0:0:0]diskArecaARC-1160-VOL#00  R001  /dev/sdb


 What happens if you run that manually?

 Hangs

 The output of that step does not appear on screen however, so it could
 be that configure is actually hanging on the step after that.

 I think it's smbclient that is the problem.


 The next step is finding out where the gzip program lives.
 Is does that by looking in several directories.
 If one of those directories happens to be mounted on a non-responsive
 NFS-server, you hang here too.

 The list of directories is:
 /bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd:/etc:/usr/etc
 /usr/local/sbin:/usr/local/bin:/usr/ccs/bin
 and the value of $PATH from the user that runs configure.

 Anything strange when trying test -e /bin/gzip?  (Try that for
 all the above dirs)

 Nope, looks fine.



 --
 Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
 http://www.xplanation.com/  email:  [EMAIL PROTECTED]
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
 * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
 * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
 * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
 * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
 ***









Re: Introducing the Amanda Wiki

2005-11-26 Thread Gavin Henry
Stefan G. Weichinger said the following on 22/11/05 10:04:
 
 Greetings to you, the amanda-users and amanda-hackers,
 
 A better organization of user and developer documentation of Amanda has
 been on our wish list for a long time.
 
 That is why I am pleased to announce the release of the new AMANDA-Wiki at
 
 http://wiki.zmanda.com
 
 The conversion of the docs into Docbook/XML was a first step, the Wiki
 is a second step that we are taking towards better organization of
 documentation as well as creating an environment for better
 collaboration among users.
 
 Ease of remote editing by multiple users, an on-going archival of
 changes and Search capability are key features of the Wiki. We are using
 the same scalable and proven technology as www.wikipedia.org
 
 The existing AMANDA-documentation at http://www.amanda.org/docs will
 stay in place for now and build the foundation for upcoming additions.
 
 This is a resource built by the AMANDA community and belongs to the
 AMANDA community. We invite everyone to contribute.
 
 I am sure that this new and democratic approach will help us to get more
 useful information into a searchable form, explanations and howtos from
 the mailing-lists can now be easily added to the Wiki by yourself.
 
 The Wiki is right now in a very early stage and is ready to get formed
 and filled with content provided by you, the AMANDA-community.
 
 We are looking forward to your contributions and are sure that this
 platform will help to improve the overall quality of AMANDA support.
 
 Best regards to you,
 
 Stefan G. Weichinger,
 AMANDA Core Team Member,
 Managing Editor of the AMANDA Wiki
 http://wiki.zmanda.com/
 

A big thanks from us!!


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions.(tm)

http://www.suretecsystems.com/



Re: poor documentation

2005-09-15 Thread Gavin Henry
quote who=Clive Galway
 Is there any documentation other than the official manual ?
 The one I have (dated june 26 2005, so I presume it is recent) is
 woefully poor and has in some cases made the install harder, not
 easier.

You can always offer to help?

Here is something I put together:

http://fedoranews.org/ghenry/amanda/



Paid support available:

http://www.amanda.org/support/commercial.php

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


vtapes documentation

2005-09-05 Thread Gavin Henry
Hi Guys,

Been a while, but that's due to Amanda being so rock solid!!!

I am about to try a new setup using vtapes, as a new client won't be
getting a tape drive for about 5 weeks, but would like Amanda setup now.
Then when it arrives, we will be moving on to tapes.

However, I can't seem to find anything in the main docs about vtapes?

If there is and I have missed it, then sorry, if there isn't, then I could
work on whatever we have and then speak to Stefan to work with him to get
them added to the core docs?

Thanks,

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: vtapes documentation

2005-09-05 Thread Gavin Henry
Doh!!!

Been one of those days already, and it's only 11:30am here ;-)

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

quote who=Stefan G. Weichinger
 Gavin Henry wrote:
 Hi Guys,

 Been a while, but that's due to Amanda being so rock solid!!!

 I am about to try a new setup using vtapes, as a new client won't be
 getting a tape drive for about 5 weeks, but would like Amanda setup now.
 Then when it arrives, we will be moving on to tapes.

 However, I can't seem to find anything in the main docs about vtapes?

 If there is and I have missed it, then sorry, if there isn't, then I
 could
 work on whatever we have and then speak to Stefan to work with him to
 get
 them added to the core docs?

 What about

 http://www.amanda.org/docs/howto-filedriver.html

 ?

 This is where the term vtape originates ...

 --
 Stefan G. Weichinger
 AMANDA core team member
 mailto://[EMAIL PROTECTED]
 --
 oops! linux consulting  implementation
 http://www.oops.co.at
 --




Re: Search file in amanda database

2005-06-08 Thread Gavin Henry
quote who=Montagni, Giovanni
 Hi to all!
 I've read the docs, searched through the web, but i cannot find the answer
 to this question:

Well, you didn't look very hard, did you ;-)

http://www.amanda.org/docs/using.html#config_use_amrecover

 is possible to search a file in amanda database? for example i have a file
 called pippo.sh backed up somewhere in a tape i don't rebember. i only
 know filename.
 Can i do a search  to find the tape and the path of pippo.sh?

 thanks for your help,


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: planner segfault, FreeBSD 4.11

2005-06-07 Thread Gavin Henry
On Tuesday 07 Jun 2005 22:16, you wrote:
 Hi all,
 After uppgrading from 2.4.4 to 2.4.5 on a FreeBSD 4.11-REL system I get
 the following from planner.

 Amanda is built with gcc 2.95.4.

 Any hints appriciated thanks.

Can you try a different version of gcc?

Also, could you join the devel list and post this again?

Thanks.

snip

 Program received signal SIGSEGV, Segmentation fault.
 0x2818c54a in vfprintf () from /usr/lib/libc.so.4
 (gdb) where
 #0  0x2818c54a in vfprintf () from /usr/lib/libc.so.4
 #1  0x2818b275 in fprintf () from /usr/lib/libc.so.4
 #2  0x8049b90 in free ()
 #3  0x80498fe in free ()

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Bacula comparison

2005-04-09 Thread Gavin Henry
Dear all,

How does http://www.bacula.org/ stack up against Amanda?

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: Bacula comparison

2005-04-09 Thread Gavin Henry
quote who=Joshua Baker-LePain
 On Sat, 9 Apr 2005 at 8:40am, Gavin Henry wrote

 How does http://www.bacula.org/ stack up against Amanda?

 I was actually looking at bacula recently, with an eye to moving to it.  I
 asked about it on the local LUG mailing list -- the thread starts here
 https://lists.dulug.duke.edu/pipermail/dulug/2005-March/016129.html.  My
 issue is that I currently have 5.5TB of (90+% full) space, with a new 6TB
 server showing up on Monday.  My current library (a 2 drive, 19 slot AIT3
 model) is struggling to keep up.  I have to juggle DLEs a fair bit as
 usage patterns change.  Bacula natively supports tape spanning, as well as
 backing up ACLs.  It seemed like it was worth looking into to...

 However, I pretty quickly decided against moving to it.  The main reason
 is that the scheduler seems, well, primitive.  Amanda's scheduler is so
 very nice, and (in general) does such a good job that I'm spoiled.  With
 bacula, the scheduling seems very much up to the admin, and achieving the
 sort of balance amanda does so effortlessly looks to be a nightmare.

 I was also leery of losing the ability to recover data with nothing other
 than mt, dd, and tar.  I probably need to get over that issue even
 sticking with amanda and investigate the spanning patch (given tools like
 Knoppix with room to spare for new utilities), but it's just such a
 comforting feeling.

 Anyway, that's my $0.02.  I looked, but didn't even come close to leaping.



I am glad someone else has looked at it, I was scared it was better.

How is the Spanning Patch coming along?

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/



Re: amanda CVS checkout?

2005-03-25 Thread Gavin Henry
On Friday 25 Mar 2005 01:25, Paddy Sreenivasan wrote:
 Hi,

 I'm using the following command to check out 2.5 alpha sources.

 # cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda
 co amanda
 cvs [checkout aborted]: connect to
 cvs.amanda.sourceforge.net(66.35.250.209):2401 failed: Connection
 timed out

 It fails. The machine is accessible using ping command.

 How do I checkout the sources?


cvs.sf.net


 Thanks,
 Paddy

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: backup Oracle DB at AMANDA server

2005-03-04 Thread Gavin Henry
quote who=Jack$on
 Hello amanda-users,

   I have configured AMANDA Server, my daily  weekly backups from my
   servers working successful...
   but I wonna backup My Oracle Database by The AMANDA.
   previously, i must do export of DB, or stop Oracle Database...
   only after this i may backup my Database files, or export files...
   but how i can synchronize my export procedure  amanda backup?

Via crontab.

Write a script that stops Oracle, backs up and then run amdump.

That's what we do.


   PS I'm sorry for my bad English...

 --
 Best regards,
  Jack$on  mailto:[EMAIL PROTECTED]




-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


RE: Linux Storage Options

2005-02-28 Thread Gavin Henry
quote who=Mike Karp
 Hi Gavin.
 Thanks for the note.  Actually, I had never heard much about either of
 these before your note.  Since then, I've refreshed my knowledge re
 Amanda, albeit briefly.  From what I can see, based on a quick reading
 of the doc you pointed me to, it doesn't appear to be an industrial
 strength application for the enterprise - although I could certainly be
 wrong about that.

Re:
http://www.nwfusion.com/newsletters/stor/2005/0221stor2.html?fsrc=rss-linux,

I'd like to see the replies if you posted that to the Amanda mailing list ;-)

Actually, Amanda is very enterprise ready. It backups today some of the
largest networks, which many of the sys admins on the Amanda list can
verify.

Gavin.

 Thanks for writing, and of course, for reading my newsletter.
 Cheers.
 Mike

 _
 Michael Karp
 Senior Analyst
 Enterprise Management Associates
 8 Olde Stonebridge Path
 Westboro, MA 01581
 508-366-0328

 [EMAIL PROTECTED]
 To access the archive of my twice-weekly NetworkWorld FUSION newsletter
 Storage in the Enterprise, go to http://emausa.com/storage_page.html
 and click on STORAGE IN THE ENTERPRISE.
 -Original Message-
 From: Gavin Henry [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 26, 2005 5:24 PM
 To: Mike Karp
 Subject: Linux Storage Options

 What about Amanda:

 http://www.amanda.org

 And Bru?

 http://www.tolisgroup.com/

 --
 Kind Regards,

 Gavin Henry.
 Managing Director.

 T +44 (0) 1224 279484
 M +44 (0) 7930 323266
 F +44 (0) 1224 742001
 E [EMAIL PROTECTED]

 Open Source. Open Solutions(tm).

 http://www.suretecsystems.com/




RE: Linux Storage Options

2005-02-28 Thread Gavin Henry
quote who=Mike Karp
 Gavin:
 Can you put me in contact with these guys? If they really have
 something, I probably should help them make it public.  @ the very
 least, it sounds as if I should learn more about them.

Would anyone like to step forward and speak to Mike?



 Thanks for your interest.
 Cheers.
 Mike

 _
 Michael Karp
 Senior Analyst
 Enterprise Management Associates
 8 Olde Stonebridge Path
 Westboro, MA 01581
 508-366-0328
 [EMAIL PROTECTED]
 To access the archive of my twice-weekly NetworkWorld FUSION newsletter
 Storage in the Enterprise, go to http://emausa.com/storage_page.html
 and click on STORAGE IN THE ENTERPRISE.

 -Original Message-
 From: Gavin Henry [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 28, 2005 9:17 AM
 To: Mike Karp
 Subject: RE: Linux Storage Options

 quote who=Mike Karp
 Hi Gavin.
 Thanks for the note.  Actually, I had never heard much about either of
 these before your note.  Since then, I've refreshed my knowledge re
 Amanda, albeit briefly.  From what I can see, based on a quick reading
 of the doc you pointed me to, it doesn't appear to be an industrial
 strength application for the enterprise - although I could certainly
 be
 wrong about that.

 Re:
 http://www.nwfusion.com/newsletters/stor/2005/0221stor2.html?fsrc=rss-li
 nux,

 I'd like to see the replies if you posted that to the Amanda mailing
 list ;-)

 Actually, Amanda is very enterprise ready. It backups today some of the
 largest networks, which many of the sys admins on the Amanda list can
 verify.

 Gavin.

 Thanks for writing, and of course, for reading my newsletter.
 Cheers.
 Mike

 _
 Michael Karp
 Senior Analyst
 Enterprise Management Associates
 8 Olde Stonebridge Path
 Westboro, MA 01581
 508-366-0328

 [EMAIL PROTECTED]
 To access the archive of my twice-weekly NetworkWorld FUSION
 newsletter
 Storage in the Enterprise, go to http://emausa.com/storage_page.html
 and click on STORAGE IN THE ENTERPRISE.
 -Original Message-
 From: Gavin Henry [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 26, 2005 5:24 PM
 To: Mike Karp
 Subject: Linux Storage Options

 What about Amanda:

 http://www.amanda.org

 And Bru?

 http://www.tolisgroup.com/

 --
 Kind Regards,

 Gavin Henry.
 Managing Director.

 T +44 (0) 1224 279484
 M +44 (0) 7930 323266
 F +44 (0) 1224 742001
 E [EMAIL PROTECTED]

 Open Source. Open Solutions(tm).

 http://www.suretecsystems.com/






Re: Linux Storage Options

2005-02-28 Thread Gavin Henry
quote who=Fran Fabrizio

 I actually have no idea how this ended up in my INBOX (I presume through
 the Amanda mailing list but it doesn't look like other Amanda posts, and
 as you can see Reply All doesn't include the list) but I can comment

Thanks Fran,

I CC'd it to the list, as I was annoyed that Amanda was overlooked, when I
know it is much better than Arkeia, as we tried it and hated it, and then
found Amanda.

We currently use Amanda for our clients to back up a lot of big oracle
servers. If that's not Enterprise, then I don't know what it.

Guys, can we have your stories too and then maybe Mike can add an update
to his article.

Gavin.


 I back up around 60GB of data nightly (as in, the amount of data moving
 nightly is 60GB - the amount of data being backed up is far greater, but
 most of each nightly backup is incrementals) from 14 different servers
 using Amanda.  Everyone's definition of enterprise is different, but if
 that comes within your definition, then Amanda is certainly capable.
 And I am by no means the largest Amanda install going.

 Also, there's Bacula - another alternative.  I did a talk last summer on
 Amanda at the Open Source Conference... I proposed an expanded version
 this year that will include Bacula.  I haven't heard of  Bru, I'll have
 to check that out.

 -Fran

 Gavin Henry wrote:

quote who=Mike Karp


Hi Gavin.
Thanks for the note.  Actually, I had never heard much about either of
these before your note.  Since then, I've refreshed my knowledge re
Amanda, albeit briefly.  From what I can see, based on a quick reading
of the doc you pointed me to, it doesn't appear to be an industrial
strength application for the enterprise - although I could certainly be
wrong about that.



Re:
http://www.nwfusion.com/newsletters/stor/2005/0221stor2.html?fsrc=rss-linux,

I'd like to see the replies if you posted that to the Amanda mailing list
 ;-)

Actually, Amanda is very enterprise ready. It backups today some of the
largest networks, which many of the sys admins on the Amanda list can
verify.

Gavin.



Thanks for writing, and of course, for reading my newsletter.
Cheers.
Mike

_
Michael Karp
Senior Analyst
Enterprise Management Associates
8 Olde Stonebridge Path
Westboro, MA 01581
508-366-0328

[EMAIL PROTECTED]
To access the archive of my twice-weekly NetworkWorld FUSION newsletter
Storage in the Enterprise, go to http://emausa.com/storage_page.html
and click on STORAGE IN THE ENTERPRISE.
-Original Message-
From: Gavin Henry [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 26, 2005 5:24 PM
To: Mike Karp
Subject: Linux Storage Options

What about Amanda:

http://www.amanda.org

And Bru?

http://www.tolisgroup.com/

--
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/








 --
 Fran Fabrizio
 Senior Systems Analyst
 Department of Computer and Information Sciences
 University of Alabama at Birmingham
 http://www.cis.uab.edu/
 205.934.0653





Re: Linux Storage Options

2005-02-28 Thread Gavin Henry
On Monday 28 Feb 2005 20:58, Stefan G. Weichinger wrote:
 Hi, Gavin,

 on Montag, 28. Februar 2005 at 16:03 you wrote to amanda-users:

 GH quote who=Mike Karp

  Gavin:
  Can you put me in contact with these guys? If they really have
  something, I probably should help them make it public.  @ the very
  least, it sounds as if I should learn more about them.

 GH Would anyone like to step forward and speak to Mike?

 Who is meant by these guys? The amanda-users or the team?
 What does he want to know?

Hi Stefan,

He Amanda Team. He wants to know where Amanda is used, so that he can compare 
it to the likes of Arkeia etc.

Thanks.


 Stefan

 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: I hope this text from the online manual is obsolete

2005-02-28 Thread Gavin Henry
On Monday 28 Feb 2005 21:32, you wrote:
 Normally, AMANDA uses one tape per run. With a tape changer (even the
 chg-manual one), the number of tapes per run may be set higher for extra
 capacity. This is an upper limit on the number of tapes. AMANDA uses
 only as much tape as it needs. AMANDA does not yet do overflow from one
 tape to another. If it hits end of tape (or any other error) while
 writing an image, that tape is unmounted, the next one is loaded, and
 the image starts over from the beginning. This sequence continues if the
 image cannot fit on a tape.

This is correct.


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


CVS info on FAQ

2005-02-25 Thread Gavin Henry
Could some update the details on howto checkout things from CVS?

Need to be:

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda login

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda co modulename

Not:

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda login

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda co 
modulename


Just DNS changes.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: Backup

2005-02-20 Thread Gavin Henry
On Monday 21 Feb 2005 06:05, Kaushal Shriyan wrote:
 Hi All

 How can I have monthly,quarterly and half yearly backup using Amanda

Hi,

Simply make some more amanda.conf and run them monthly, quarterly and half 
yearly.


 Thanks in Advance

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: Amanda's report

2005-02-16 Thread Gavin Henry
quote who=Gil Naveh
 After running Amanda's backup, I receive an email with a report about the
 last backup.
 The first section of that report is: FAILURE AND STRANGE DUMP SUMMARY:
 and under this section I get the following message:

   FAILURE AND STRANGE DUMP SUMMARY:
  servername/folder/to/backup lev 0 STRANGE

 What does STRANGE means?
 I checked the data that was backed up on the tape and was able to restore
 it - should I ignore that message or what does Amanda tries to tell me?

If you scroll down that e-mail, she probably say's that it was ignoring
some sockets or open e-mails etc.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/



Re: Can tapes be grouped for different types of back-up?

2005-02-13 Thread Gavin Henry
On Sunday 13 Feb 2005 21:43, you wrote:
 Until recently I had a DDS3 tape streamer. Then it broke down a few
 weeks ago and I bought a DDS4 tape streamer. I therefore have a lot of
 DDS3 tapes which I like to use for incremental back-ups because the new
 tape streamer can also handle DDS3 tapes. I will then ear mark the DDS4
 tapes for full back-ups. Is that possible and how can that be
 accomplished?

Hi.

Create two different amanda.conf and then you have two groups of tapes 
labelled for the different sets.

But please read:

http://www.amanda.org/docs/topten.html#id2519312

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


#amanda freenode irc channel

2005-02-08 Thread Gavin Henry
Hi all,

Who hangs aroung here, and what are your nicks?

I'm G2

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




FAQ access on www.amanda.org not working

2005-02-06 Thread Gavin Henry
Dear all,

Could someone check the login process on the FOM at the main site. I have
signed up twice now to make some changes, but I haven´t ever received a
e-mail.

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: Getting Amanda to production

2005-02-04 Thread Gavin Henry
On Friday 04 Feb 2005 19:43, you wrote:
 hello,

 I have a few question in mind so I'll be able to better configure it.
 1) So far I tested Amanda and backed up data on a hard drive and am quit
 happy with the results. Recently we got a new tape drive and I need to
 start backing up our data into taps. I am going to use the same Amanda
 server and clients. Should and if so how do I initialize Amanda so it won't
 care about previous backups? 

Just modify your disklist entries etc. If you don't care, Amanda won't care. 
As long as you use amlabel the new tapes.

 Additionally I'll probably have to do some 
 more testing in order to see how much time/bandwidth Amanda uses when it
 backup to our tape drive. But after doing those tests - can I delete those
 files from the tape?

Just over write them or remove them with amadmin


 2) I understand that Amanda has its algorithm that decides when do to a
 full backup, or an incremental one.
But I am a little confused with labeling tapes. (amlabel)
When I used the hard-disk I define each hard-drive 'partition' as 4GB
 and then amlabel each disk e.g.
#/usr/sbin/amlabel DailySet1 HISS01 slot 1
#/usr/sbin/amlabel DailySet1 HISS02 slot 2 ...
However, I have tapes that each can store 400 compress data, and we have
 to store about 30GB - am I domed to use each tape for one backup - or can I
 'partition' those tapes?

Yes, one tape for one backup and you can't partition the tapes, but one backup 
can be many clients.

   Do I have to put each tape in the tape drive and run amlabel?

Of course, how would Amanda know what tapes to use?


 3) We have a local and remote sites that we have to backup any thoughts,
 comments on what should I keep in mine before doing so. Additionally any
 recommendation for what to use to secure our data when backing up remotely?

I would use rsync to get the remote files if they are across the internet and 
then backup the machine they go to.

 I read that I can use TCP wrappers but how do I implement it with Amanda?

This is in the docs.


 4) Finally, we have one tape drive and about 20 servers that we need to
 backup from. Some of those servers run on Solaris, some on Windows. Can I
 back all servers on the same tape, or do I need to set separate tapes for
 Win machines?

All one tape, just get teh right clients installed.



 Many thanks,
 gil

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: Running multiple instances of amanda

2005-02-02 Thread Gavin Henry

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

 morimoto:/usr/local/src/amanda-2.4.4p4/sbin# ./amrecover -C Progeny01
AMRECOVER Version 2.4.4p4. Contacting server on morimoto.progeny.com ...
220 morimoto AMANDA index server (2.4.2p2) ready.
 500 Access not allowed: [access as backup not allowed from
 [EMAIL PROTECTED] amandahostsauth failed


See the FAQs Top Ten:

http://www.amanda.org/docs/topten.html#id2518896

Particularly:

.amandahosts

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: Trouble with amrestore

2005-02-02 Thread Gavin Henry
quote who=Steve H
 Hi Everyone.
I am having some touble doing a restore from a client.  I backed up
 /root on a remote debian box as a test, and it was a success.  When I
 login to the remote debian box, and try to do a amrecover, the client
 says:

 AMRECOVER Version 2.4.3. Contacting server on client
 ...
 amrecover: cannot connect to client: Connection
 refused

See the FAQs Top Ten:

http://www.amanda.org/docs/topten.html#id2518896

Particularly:

.amandahosts


 What I am confused about, is the client thinking itself is the server.
 Where is this changed, and how should I have configured the client
 correctly in the first place?


No, the client is trying to connect to the backup server.

Again, see above.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: webmin

2005-02-01 Thread Gavin Henry
On Tuesday 01 Feb 2005 21:44, Jason Davis wrote:
 On Tue, 2005-02-01 at 14:37, Nina Pham wrote:
  can amanda be configured using webmin?

 its called google , give it a try.

 Also , I was hoping you could help me..
 have you ever used Foo to do bar or possibly X to do y?


Yes, a simple search on google would reveal:

http://webmin-amanda.sourceforge.net/


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: DLT 8000 and tape type.

2005-01-20 Thread Gavin Henry
quote who=Neil Marjoram
 I have just completed a tapetype on my Storedge L9 with DLT 8000 again,
 and I'm a little confused.

 The DLT 8000 drive can take 80GB compressed, the results return 40GB.
 Amstatus shows that the amount of data stored on each tape is always
 less than 40G, the latest output from the status is :
  tape 1:  66  27906885k  25125884k ( 68.13%) AG3600
  tape 2:   1   9085868k   9327611k ( 22.18%) AG3602
  tape 3:   0 0k 0k (  0.00%) AG3598

 My question is two part,

Hi Neil,

First things first, we really need to see the dumptype definitions you are
using.


 a. how do I get amanda to backup 80GB to the
 DLT,

This is done two ways, having compression enabled in your dumptype
definition or having hardware compression enabled on your actual drive,
with compressin then being disabled in your dumptype definition.

 and secondly why is it that the second tape in a three part backup
 never holds as much data as the first tape?

Because that will probably be your incremental backup goes.

 The backup shown above is
 still running and currently saving to tape 3. Or am I barking up
 completly the wrong tree?

 define tapetype DLT-L9 {
 comment DLT 8000 - Storedge L9
 length 4 mbytes
 filemark 22 kbytes
 speed 1770 kbytes

 I am using the chg-zd-mtx script to handle the autoloader, Fedora Core 2
 as my OS and Amanda version 2.4.4p2-3.

 Many thanks,

 Neil.


Thanks,

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


LTO 3 Devices

2005-01-19 Thread Gavin Henry
Dear all,

Am I correct in thinking, that as long as I can get a amtapetype and use mtx 
tools, then a LTO 3 tape/tapedrive is compatible with Amanda?

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


pgpthDjjodCn7.pgp
Description: PGP signature


Re: LTO 3 Devices

2005-01-19 Thread Gavin Henry
On Wednesday 19 Jan 2005 14:41, you wrote:
 Gavin Henry wrote:
  Dear all,
 
  Am I correct in thinking, that as long as I can get a amtapetype and use
  mtx tools, then a LTO 3 tape/tapedrive is compatible with Amanda?

 yup.  At least, I don't see why not.

 But I can't speak from experience.  I wish I could however :-)

Fine, we have had a request for information about a single and autoloader:

http://www.certance.com/products/lto-ultrium/lto3/ (CLL6400 and CL800).

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Recommended autochangers

2005-01-17 Thread Gavin Henry
Dear all,

Is there am up to date FAQ for this, or could someone just kindly
recommended a brand/model?

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: amanda.8 manpage

2005-01-13 Thread Gavin Henry
quote who=Nicolas Ecarnot
 Could you tell me the % of files formated in xml ?
/quote

All of them.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: amanda.8 manpage

2005-01-13 Thread Gavin Henry
quote who=Nicolas Ecarnot
 Gavin Henry a écrit :
 quote who=Nicolas Ecarnot

Could you tell me the % of files formated in xml ?

 /quote

 All of them.


 So if the cml files contain up-to-date text, the work of translation can
 begin.
 Do I have to have a special access on a cvs server ?

 I'll translate into french.

Hi,

Use:

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda co xml-docs

and submit patches using:

diff -urN oldfilename newfilename

All files are in:

xml-docs/manpages and xml-docs/howto/

Thanks.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


http://www.amanda.org/cgi-bin/fom?

2005-01-08 Thread Gavin Henry
Faq-O-Matic link is broken on the front page ;-)

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: Amanda backups suddenly slowed down

2004-12-13 Thread Gavin Henry
Peter Johnston said:
 Hi

 I've been using amanda for some time now, generally with great success.
 However, a couple of weeks ago the backups started taking much, much
 longer
 to run.  To give you an idea, a typical run time was between 3 and 4
 hours.
 It's now taking anywhere between 15 and 25 hours!

 Obviously the question 'What happened two weeks ago that changed this?'
 appears.  I can't find an answer to that.  I added an extra machine to the
 backup set about then, but that machine seems to be backing up in a
 perfectly reasonable time as far as I can see.  The switches that all the
 machines involved are attached to are monitored by MRTG and it looks from
 the graphs that barely any bandwidth is being used - the amanda server is
 plugged into a gigabit switch and during the backup only about 1-6Mb are
 being used.

 The amanda server is running on Fedora Core 2, with clients on Solaris 7
 and
 8, AIX and RedHat Linux 6 (yes ancient I know!).  The server is generally
 updated using yum from Fedora's repository, so any update from there is
 probably applied.  I'm running amanda 2.4.4p4 on the server.

 If anyone can help me figure out what has gone wrong then that would be
 great!


Hi Peter,

Could you post your amcheck e-mails before and after 2 weeks ago and your
amreport e-mails for the same period, if possible?

Or even a amcheck -a AmandaConfName now?

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: Configuration Doubts

2004-12-10 Thread Gavin Henry
Fabricio Luiz Machado said:
 Hi,

  I´m doing some tests with a new strategy, but I´m a little confuse.

 STRATEGY:
 Sundays: full backup (level 0)
 Monday-Saturday: incremental backup

 AMANDA.CONF:
 dumpcycle 1 weeks
 runspercycle 7
 tapecycle 7 tapes
 labelstr ^TEST[0-9][0-9]*$

Hi,

This means that after 1 week there will be a full backup, Amanda will try
to spread these over the 7 days, depending on how many filesystems you are
backing up.

Please read:

http://www.amanda.org/docs/topten.html#id2550713

Therefore, if you really wish to have a level 0 backup on Sunday, you will
need another amanda.conf with:

dumpcycle 0

and create a crontab to run on Sundays.



  The problem is that after tape labeled TEST07, amanda expects
 TAPE01
  I want to get the tape writed on last sunday in month for a monthly
 backup and put it in a safe.

  How can modify amanda.conf to do that ?

 Thanks and sorry about my poor english.

 Fabricio.



 __
 Converse com seus amigos em tempo real com o Yahoo! Messenger
 http://br.download.yahoo.com/messenger/



-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/



Re: Configuration Doubts

2004-12-10 Thread Gavin Henry
Fabricio Luiz Machado said:
 Hi,

  I´m doing some tests with a new strategy, but I´m a little confuse.

 STRATEGY:
 Sundays: full backup (level 0)
 Monday-Saturday: incremental backup

 AMANDA.CONF:
 dumpcycle 1 weeks
 runspercycle 7
 tapecycle 7 tapes
 labelstr ^TEST[0-9][0-9]*$

Hi,

This means that after 1 week there will be a full backup, Amanda will try
to spread these over the 7 days, depending on how many filesystems you are
backing up.

Please read:

http://www.amanda.org/docs/topten.html#id2550713

Therefore, if you really wish to have a level 0 backup on Sunday, you will
need another amanda.conf with:

dumpcycle 0

and create a crontab to run on Sundays.



  The problem is that after tape labeled TEST07, amanda expects
 TAPE01
  I want to get the tape writed on last sunday in month for a monthly
 backup and put it in a safe.

  How can modify amanda.conf to do that ?

 Thanks and sorry about my poor english.

 Fabricio.



 __
 Converse com seus amigos em tempo real com o Yahoo! Messenger
 http://br.download.yahoo.com/messenger/



Upgrading via source from 2.4.4p3 to 2.4.4p4.

2004-12-03 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

Just wondering if upgrading is just a simple case of compiling the new
sources with the same configure options, which should just replace the
existing binaries?

Any other preparation needed?

Thanks.

- --
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/






-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBryCieWseh9tzvqgRAvpRAJ9flk5KN1sYQEGrUSz9qZdnjpPCswCfQ3Qt
YgHr55d54jmrobliEhk5/lg=
=+nuJ
-END PGP SIGNATURE-




Re: Upgrading via source from 2.4.4p3 to 2.4.4p4.

2004-12-03 Thread Gavin Henry
Martin Hepworth said:
 Gavin

 that's what I do - anothe reason to document the configure options :-)

I did ;-)

 --
 Martin Hepworth
 Snr Systems Administrator
 Solid State Logic
 Tel: +44 (0)1865 842300


 Gavin Henry wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all,

 Just wondering if upgrading is just a simple case of compiling the new
 sources with the same configure options, which should just replace the
 existing binaries?

 Any other preparation needed?

 Thanks.

 - --
 Kind Regards,

 Gavin Henry.
 Managing Director.

 T +44 (0) 1467 624141
 M +44 (0) 7930 323266
 F +44 (0) 1224 742001
 E [EMAIL PROTECTED]

 Open Source. Open Solutions(tm).

 http://www.suretecsystems.com/






 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (GNU/Linux)

 iD8DBQFBryCieWseh9tzvqgRAvpRAJ9flk5KN1sYQEGrUSz9qZdnjpPCswCfQ3Qt
 YgHr55d54jmrobliEhk5/lg=
 =+nuJ
 -END PGP SIGNATURE-



 **

 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager.

 This footnote confirms that this email message has been swept
 for the presence of computer viruses and is believed to be clean.

 **





Re: Upgrading via source from 2.4.4p3 to 2.4.4p4.

2004-12-03 Thread Gavin Henry
Paul Bijnens said:
 Gavin Henry wrote:

 Just wondering if upgrading is just a simple case of compiling the new
 sources with the same configure options, which should just replace the
 existing binaries?

 That's what I did.

 To be honest, I do it a little bit different, but in this case,
 the effect is the same.

 I compile with :
 ./configure \
  --prefix=/pkgs/amanda-2.4.4p4 \
  --localstatedir=/var/opt/amanda \
  --with-configdir=/var/opt/amanda/etc \
   --with-user=... etc etc

 This builds a program tree in a decidated directory, different
 for each version, and the config and state files in a more stable
 directory.

 Then I use graft to place symlinks in /usr/local (a perl script,
 see http://www.gormand.com.au/peters/tools/graft/graft.html, but site
 was down just this minute):

  graft -d amanda-2.4.4p3   # remove old links
  graft -i amanda-2.4.4p4   # install new links

 Now /usr/local/sbin/amadmin points to /pkgs/amanda-2.4.4p4/sbin/amadmin
 and so for all files in the tree /pkgs/amanda-2.4.4p4.
 My path still remains manageable, and contains /usr/local/bin etc,
 but not /pkgs/amanda*.  The production version has the links
 in /usr/local; the old or experimental versions keep their own
 separate tree in /pkgs/amanda-VERSION.

 Instead of replacing the existing binaries this replaces the links
 to the binaries.  The additional advantage is that, if the new version
 has LESS files, none of the obsolete files stay lingering around.

 The advantage is that I can install and test a new version, without
 disrupting the old version (the config and state files are the same;
 only if the config requires incompatible settings, I need to be a
 little more careful).

 Should the new version suddenly show some problems, I can revert to
 the old version in a few seconds.  I can even execute old or new
 versions by giving the full path /pkgs/amanda-2.4.4p1/sbin/amadmin
 if needed.  After a few months, I can uninstall the old version
 by simply doing a rm -rf /pkgs/amanda-2.4.4p3.


Nice.

I'll check out that perl script.


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: Upgrading via source from 2.4.4p3 to 2.4.4p4.

2004-12-03 Thread Gavin Henry
Paul Bijnens said:
 Gavin Henry wrote:

 Just wondering if upgrading is just a simple case of compiling the new
 sources with the same configure options, which should just replace the
 existing binaries?

 That's what I did.

 To be honest, I do it a little bit different, but in this case,
 the effect is the same.

 I compile with :
 ./configure \
  --prefix=/pkgs/amanda-2.4.4p4 \
  --localstatedir=/var/opt/amanda \
  --with-configdir=/var/opt/amanda/etc \
   --with-user=... etc etc

 This builds a program tree in a decidated directory, different
 for each version, and the config and state files in a more stable
 directory.

 Then I use graft to place symlinks in /usr/local (a perl script,
 see http://www.gormand.com.au/peters/tools/graft/graft.html, but site
 was down just this minute):

  graft -d amanda-2.4.4p3   # remove old links
  graft -i amanda-2.4.4p4   # install new links

 Now /usr/local/sbin/amadmin points to /pkgs/amanda-2.4.4p4/sbin/amadmin
 and so for all files in the tree /pkgs/amanda-2.4.4p4.
 My path still remains manageable, and contains /usr/local/bin etc,
 but not /pkgs/amanda*.  The production version has the links
 in /usr/local; the old or experimental versions keep their own
 separate tree in /pkgs/amanda-VERSION.

 Instead of replacing the existing binaries this replaces the links
 to the binaries.  The additional advantage is that, if the new version
 has LESS files, none of the obsolete files stay lingering around.

 The advantage is that I can install and test a new version, without
 disrupting the old version (the config and state files are the same;
 only if the config requires incompatible settings, I need to be a
 little more careful).

 Should the new version suddenly show some problems, I can revert to
 the old version in a few seconds.  I can even execute old or new
 versions by giving the full path /pkgs/amanda-2.4.4p1/sbin/amadmin
 if needed.  After a few months, I can uninstall the old version
 by simply doing a rm -rf /pkgs/amanda-2.4.4p3.


Nice.

I'll check out that perl script.


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Best way to bring in new tapes and when to do it?

2004-11-19 Thread Gavin Henry
Hi all,

Is the best way to bring in new tapes to label them with the same labels
using amlabel -f Config-name?

When should I replace brand new DSS-4 tapes that are used once a night
every day?

I also have a cleaning tape.

P.S. My personal backups, not a client ;-)

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: Best way to bring in new tapes and when to do it?

2004-11-19 Thread Gavin Henry
Joshua Baker-LePain said:
 On Fri, 19 Nov 2004 at 10:43am, Gavin Henry wrote

 Is the best way to bring in new tapes to label them with the same labels
 using amlabel -f Config-name?

 Actually I think the thing to do is to
 'amadmin $CONFIG no-reuse $TAPELABEL' the tapes you want to retire, and
 then amlabel the new tapes with new labels.  That way the backups on the
 retired tapes will still be known to amanda for recovery, if need be.

Yeah sure, then I can carry on the numbering etc. Thanks,


 --
 Joshua Baker-LePain
 Department of Biomedical Engineering
 Duke University




Re: backup run stalled- how to restart?

2004-11-19 Thread Gavin Henry
Eric Sproul said:
 Hi all,
 This morning by backup run was interrupted by severe network problems
 with a core router.  I had done about 80-85 partitions out of 165 total,
 and after the problems cleared, I had one stalled partition (client
 dumper died) but I got about 10-15 more done.  Now it appears that
 everyone else is waiting for dumping but no others have started.

 Is there a way to kickstart the rest of the waiting dumpers?  I have not
 done anything yet.

 An amadmin summary reports 165 total partitions, 99 done, 1 dumping
 (but it's actually stalled), and 65 waiting to dump.


I don't think so. I think you will have to kill it and then run amcleanup:

http://www.amanda.org/docs/manpages/amcleanup.8.html

I may be wrong.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: backup run stalled- how to restart?

2004-11-19 Thread Gavin Henry
Eric Sproul said:
 On Fri, 2004-11-19 at 10:10, Gavin Henry wrote:
 Eric Sproul said:
  Is there a way to kickstart the rest of the waiting dumpers?  I have
 not
  done anything yet.
 
  An amadmin summary reports 165 total partitions, 99 done, 1 dumping
  (but it's actually stalled), and 65 waiting to dump.
 

 I don't think so. I think you will have to kill it and then run
 amcleanup:

 http://www.amanda.org/docs/manpages/amcleanup.8.html

 I may be wrong.

 I figured that, but as it turns out, the dumps seemed to have picked up
 again on their own.  I'm not sure what the delay was all about but I'm
 not going to question it.  :)

Good job you were wise and left it a while :-)

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


Re: backup run stalled- how to restart?

2004-11-19 Thread Gavin Henry
Alexander Jolk said:
 Eric Sproul wrote:
 the dumps seemed to have picked up
 again on their own.

 Data timeout from the hung machine, which aborted the dumper and freed
 it up for other tasks?  dtimeout is half an hour at my place...

Of course. Eric, if this happens again, experiment with this value.


 Alex

 --
 Alexander Jolk / BUF Compagnie
 tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29




[OT] cron.d entries for Amanda

2004-11-16 Thread Gavin Henry
Dear guys,

THis simple error is doing my head in, so I'm going to ask and risk
looking like a fool, but anyway...

We normally install our Amanda crons in /etc/cron.d/suretec on client
servers (we are using amanda and custom scripts to backup
http://www.eems.co.uk - a very high profile 2 x SUSE Ent 8 servers).

I keep getting e-mails from crond with errors, e.g.


/bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7 -exec
rm{}\;:
No such file or directory

AND

/bin/sh: line 1: /opt/suretec/sbin/amcheck -m learnit-dbserv-db-warm: No
such file
or directory


My cron.d entries look like:

0 3 * * 1-5 amanda /opt/suretec/sbin/amcheck -m blah.blah


I'm pretty so amcheck is in her path and anyway, I have defined the
absolute path, also cron.d entries can take arguments.


What stupid typo have I made.

P.S I know this makes me look quite unprofessional, but I'm sure we've
all hit some kind of stupid brick wall. Can't see for looking, as the
saying goes here in Scotland.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/




Re: [OT] cron.d entries for Amanda

2004-11-16 Thread Gavin Henry
Stefan G. Weichinger said:
 Hi, Gavin,

 on Dienstag, 16. November 2004 at 13:13 you wrote to amanda-users:

 GH I keep getting e-mails from crond with errors, e.g.


 GH /bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7
 -exec
 GH rm{}\;:
 GH No such file or directory

 GH AND

 GH /bin/sh: line 1: /opt/suretec/sbin/amcheck -m learnit-dbserv-db-warm:
 No
 GH such file
 GH or directory

 Look for the EOL. Maybe you have a DOS-type file. This has bitten me a
 few times already.

 Just a quick guess

Will do. Back on site tonight.


 --
 best regards,
 Stefan

 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]








Re: [OT] cron.d entries for Amanda

2004-11-16 Thread Gavin Henry
Dave Ewart said:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Tuesday, 16.11.2004 at 12:13 +, Gavin Henry wrote:

 Dear guys,

 THis simple error is doing my head in, so I'm going to ask and risk
 looking like a fool, but anyway...

 We normally install our Amanda crons in /etc/cron.d/suretec on client
 servers (we are using amanda and custom scripts to backup
 http://www.eems.co.uk - a very high profile 2 x SUSE Ent 8 servers).

 I keep getting e-mails from crond with errors, e.g.


 /bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7
 -exec
 rm{}\;:
 No such file or directory

 AND

 /bin/sh: line 1: /opt/suretec/sbin/amcheck -m learnit-dbserv-db-warm: No
 such file
 or directory


 My cron.d entries look like:

 0 3 * * 1-5 amanda /opt/suretec/sbin/amcheck -m blah.blah


 I'm pretty so amcheck is in her path and anyway, I have defined the
 absolute path, also cron.d entries can take arguments.


 What stupid typo have I made.

 P.S I know this makes me look quite unprofessional, but I'm sure we've
 all hit some kind of stupid brick wall. Can't see for looking, as the
 saying goes here in Scotland.

 Do you actually have 'find' where you say it is?  (/usr/bin/find)

I'm sure I checked that. Back on site tonight, so will check again.

Gavin.



 Dave.
 - --
 Dave Ewart
 [EMAIL PROTECTED]
 Computing Manager, Epidemiology Unit, Oxford
 Cancer Research UK
 PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)

 iD8DBQFBmfOwbpQs/WlN43ARArLHAJ0YeVw0iT2IZ/l5MbmMn8IHwcG/UwCgkA++
 13NEeJ9B/hWE4NPPZ0KiMQ0=
 =uRnG
 -END PGP SIGNATURE-




Re: [OT] cron.d entries for Amanda

2004-11-16 Thread Gavin Henry
Alexey I. Froloff said:
 * Gavin Henry ghenry@ [041116 15:35]:
 /bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7
 -exec
 rm{}\;:
 No such file or directory

 Er... I'm not sure this will ever work.  find() accepts one real
 (not shell pattrn) argument for PATH.  Furthermore, you may want
 to use something like this:

 find /u01/app/oracle/archdest2 -mindepth 2 -mtime +7 -delete

 mindepth is needed when you really want to search subdirecrories
 inside /u01/app/oracle/archdest2 only.

OK, I will check this out, thanks.


 /bin/sh: line 1: /opt/suretec/sbin/amcheck -m learnit-dbserv-db-warm: No
 such file
 or directory

 This error message is very similar to prevoius.  Are you sure
 you're not quoted this line in crontab?

I think I might have tried  marks, I don't think they are needed though.


 --
 Regards, Alexey I. Froloff
 AIF5-RIPN, AIF5-RIPE
 ---
   Inform-Mobil, Ltd. System Administrator
http://www.inform-mobil.ru/
 Tel: +7(095)504-4709, Fax: +7(095)513-1006




Re: [OT] cron.d entries for Amanda

2004-11-16 Thread Gavin Henry
Paul Bijnens said:
 Gavin Henry wrote:

 /bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7
 -exec
 rm{}\;:
 No such file or directory

 This seems like there are quotes around the whole command, or something
 with a similar effect.  Maybe $IFS got screwed up when cron runs?
 (run a little shell script which prints out the cron environment).
 Verify you do have spaces 0x20 and not no-breakspace 0xA0 instead.

Good point.


 Also there should be spaces around the braces:  ... rm {} \;, but that
 should give the above error.

OK.



 P.S I know this makes me look quite unprofessional, but I'm sure we've
 all hit some kind of stupid brick wall. Can't see for looking, as the
 saying goes here in Scotland.


 Yes, had it way too often :-)

 As workaround, you can create little shell scripts that are invoked by
 the cron, and don't need spaces.

That was my next move.



 --
 Paul Bijnens, XplanationTel  +32 16 397.511
 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
 http://www.xplanation.com/  email:  [EMAIL PROTECTED]
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
 * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
 * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
 * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
 * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
 ***






[FIXED] Re: [OT] cron.d entries for Amanda [FIXED]

2004-11-16 Thread Gavin Henry
Dear all,

You won't believe why I wasn't getting any e-mails, even though the crons
were working!!!

I had the -m option for amcheck to e-mail, but because everything was OK,
I wasn't getting any mails.

Changed to -a so everything gets sent regardless, so that way the client
gets feedback everyday.

How annoying simple


 Also there should be spaces around the braces:  ... rm {} \;, but that
 should give the above error.

This fixed it, cheers.


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/



Re: Skip two tapes

2004-11-15 Thread Gavin Henry

Nicolas Ecarnot said:
 Alexander Jolk a écrit :

 Nicolas Ecarnot wrote:

For some reason, I have to skip two tapes : the last backup was made on
tape05 and the next one has to be made on tape08


 Tell amanda exactly that:
  amadmin config no-reuse tape06 tape07
 And when someday you want to use them again, just `reuse' them.

 Alex

 I tried that, but when I run
 amcheck tape
 with the tape08 loaded, Amanda tells me that it can't use this tape as
 there already are datas on it (can't overwrite blahblah, expecting new
 tape)

Sorry, come into to the thread a bit late. Can you paste your tapelist
file and let us see what is marked reuse etc.?


 So ?

 --
 Nicolas Ecarnot





Re: Skip two tapes

2004-11-15 Thread Gavin Henry
Nicolas Ecarnot said:
 Gavin Henry a écrit :

 Sorry, come into to the thread a bit late. Can you paste your tapelist
 file and let us see what is marked reuse etc.?

 [EMAIL PROTECTED] $ cat tapelist
 20041001 system001 reuse
 20040924 system000 reuse
 20040917 system009 reuse
 20040910 system008 reuse
 20040903 system007 reuse
 20040827 system006 reuse
 20040820 system005 reuse
 20040813 system004 no-reuse
 20040806 system003 no-reuse
 20040730 system002 no-reuse
 [EMAIL PROTECTED] $


Well, according to this they are in the right order and used every 7 days.

Mine is:

20041115 DailySet110 reuse
20041114 DailySet109 reuse
20041113 DailySet107 reuse
20041112 DailySet108 reuse
2004 DailySet106 reuse
20041110 DailySet105 reuse
20041109 DailySet104 reuse
20041108 DailySet103 reuse
20041107 DailySet102 reuse
20041106 DailySet101 reuse
20041104 DailySet112 reuse
20041103 DailySet111 reuse

And you can see that mine jumps from 106 to 108 and then back again. THIs
is because of the order of the tapes when I put them in for the first set
of backups.

What tape did you say amcheck was asking for again?


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/


RE: multi-boot systems

2004-11-15 Thread Gavin Henry
If you give them all a different ips, then write a perl/python etc. script that 
pings the machines before amcheck kicks in and then the script can delete or 
insert a # as appropriate in the disklist:

Or maybe not ;-)


-Original Message-
From:   [EMAIL PROTECTED] on behalf of Jon LaBadie
Sent:   Mon 11/15/2004 2:59 PM
To: Jon LaBadie
Cc: 
Subject:multi-boot systems
I've not even tried to address this situation.
So right now I'm just asking if others have
come up with ways of handling it.

I have two systems that multi-boot, i.e. let
me pick which OS to boot into.  For example,
my laptop has W2K, Solaris 9, and Fedora.
And 'lucifer', my newest one is a try anything
platform, and currently has 5 different OS's.

Currently, I select one OS from each multi-boot
computer and do enter that into the disklist.
But only if that is the one booted does it
succeed.

I guess I could enter all the possibilities
and let things fail or succeed as they might.
But any other brainstorming ideas?

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




__
This email and any files transmitted with it are  confidential and intended 
solely for the use of the individual or entity to whom it is addressed. If you 
have received this email in error please delete it immediately and notify the 
sender. Please also note that in accordance with Invsat's Information 
Technology policy, emails sent or received may be monitored.
__winmail.dat

Incremental dump using gnutar as program in DLE

2004-11-07 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Quickie,

What does ths mean again from amreport:

appserv  /opt/suretec lev 0 FAILED [can't switch to incremental dump]


- --
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjirIeWseh9tzvqgRAormAJkBRgyht/XBfbMhs3D6dbo6mZHkKACfcv2c
URzWfEZnlc4dzltXEkJebgM=
=e5C6
-END PGP SIGNATURE-



Incremental dump using gnutar as program in DLE

2004-11-07 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Quickie,

What does ths mean again from amreport:

appserv  /opt/suretec lev 0 FAILED [can't switch to incremental dump]


- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjfYPeWseh9tzvqgRAuTQAJ0cxsh5IBa3+ALdTG1drmXghJJzUACeMzcD
G/A9X8jzZyYMAcVjJIIA/GU=
=Z+2f
-END PGP SIGNATURE-



Re: Incremental dump using gnutar as program in DLE

2004-11-07 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 Nov 2004 14:13, you wrote:
 You do backup to Holding disk, but lev 0 will do only to tape.

Say again?


 Gavin Henry wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Quickie,
 
 What does ths mean again from amreport:
 
 appserv/opt/suretec lev 0 FAILED [can't switch to incremental dump]

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjmfPeWseh9tzvqgRAuWyAJ9pCYBbpjvNiELjj3qZNYQGwVKzwACeOO2l
L3/Kztx35rgHZdEY0o+cSeI=
=5Euf
-END PGP SIGNATURE-



Re: Incremental dump using gnutar as program in DLE

2004-11-07 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 Nov 2004 15:46, Jon LaBadie wrote:
 On Sun, Nov 07, 2004 at 10:16:47AM +, Gavin Henry wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Quickie,
 
  What does ths mean again from amreport:
 
  appserv    /opt/suretec lev 0 FAILED [can't switch to incremental dump]

 Why level 0 failed I have no idea.

 can't switch to incremental probably means you do not
 have a level 0 yet for that DLE and amanda must do
 a level 0 before any incremental is valid
 (it is incremental from a numerically lower level dump)

Yeah, got it.

Thanks Jon.

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjmfyeWseh9tzvqgRAud0AJ90y5LS/0nmCYuXQcZgnt3hgR6gLgCgmJ9n
EWxBM1iLtE/+yay0gUJTIQ8=
=oiaU
-END PGP SIGNATURE-



Re: Incremental dump using gnutar as program in DLE

2004-11-07 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 Nov 2004 18:30, you wrote:
 Leonid Shulov wrote:
  You do backup to Holding disk, but lev 0 will do only to tape.

 Unless you set the reserve parameter to something lower then
 then default of 100% (reserved for incrementals in degraded mode
 on holdingdisk).

I will check out the man page about the reserve parameter,

thanks.

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjnbbeWseh9tzvqgRAsC1AKCqxZtkEJW5QR1Ab2BFIETH7de0pQCfWC4H
gufIVM/EIqOViwkVcscZJqs=
=aE/D
-END PGP SIGNATURE-



Re: Incremental dump using gnutar as program in DLE

2004-11-07 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 Nov 2004 18:37, Gene Heskett wrote:
 On Sunday 07 November 2004 09:13, Leonid Shulov wrote:
 You do backup to Holding disk, but lev 0 will do only to tape.

 Leonid;

 That depends on the 'reserve' statement in the holding disk defined in
 amanda.conf, here I have it set to reserved -500M meaning it can
 use up to the last 500 megs even for level 0's.  since I have about
 20GB to spare on that partition, and my vtapes are about 6.8GB, its
 not a problem here, ever.  Gavin may not have that statement
 uncommented or configured correctly for his situation.

I will check it out, as I think I have not noticed it before.

 Gavin Henry wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Quickie,
 
 What does ths mean again from amreport:
 
 appserv/opt/suretec lev 0 FAILED [can't switch to incremental
  dump]

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjncWeWseh9tzvqgRAvlpAKCSXk6X4yW21vfXsFLPceQ4ohN3wACfZpHM
Zl5t4iXV+CkwOJfuQ/0cQbU=
=wobT
-END PGP SIGNATURE-



Re: Incremental dump using gnutar as program in DLE

2004-11-07 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 Nov 2004 18:33, Gene Heskett wrote:
 On Sunday 07 November 2004 09:01, Gavin Henry wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Quickie,
 
 What does ths mean again from amreport:
 
 appserv    /opt/suretec lev 0 FAILED [can't switch to incremental
  dump]

 Probably, but we're guessing here, it means that the dump is too big,
 but since there has never been a level 0 (full) dump done it cannot
 switch to an incremental since there is not a baseline date to
 compare it to on a since date comparison.

Got ya.


 - --
 Kind Regards,
 
 Gavin Henry.
 Managing Director.
 
 T +44 (0) 1467 624141
 M +44 (0) 7930 323266
 F +44 (0) 1224 742001
 E [EMAIL PROTECTED]
 
 Open Source. Open Solutions(tm).
 
 http://www.suretecsystems.com/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)
 
 iD8DBQFBjirIeWseh9tzvqgRAormAJkBRgyht/XBfbMhs3D6dbo6mZHkKACfcv2c
 URzWfEZnlc4dzltXEkJebgM=
 =e5C6
 -END PGP SIGNATURE-

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjncqeWseh9tzvqgRAhYUAJ97qZ5e7tHXdAgTFjrvlHFKNHvCuwCfVK1N
poSYcCQyc8htwyigsUZrRmA=
=cZad
-END PGP SIGNATURE-



Re: amcheck not saying expecting tapeno. or a new tape

2004-11-06 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 06 Nov 2004 17:35, Jon LaBadie wrote:
 On Sat, Nov 06, 2004 at 05:14:57AM +, Gavin Henry wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
   I suspect you have only done one backup, thus only previously used one
   tape.
  
   You think there is an order to the tapes, 2 follows 1 etc.  Amanda
   could care less what new tape it writes to next.  If you put in tape3
   next, amanda's order will have 3 following 1 in the future.  If you
   labelstr allows it (tape.*) amanda will happily use tape-gavin next and
   tape-henry after that.
  
   There seems to be no problem (from what I see anyway).
 
  Only one backup has been done, but why would amadmin config tape give me
  the right next tape, but the e-mail/amcheck doesn't?

 The snarky answer is that they use different logic.

OK.


 Hmm, now the question becomes how and why they use different logic.
 I do not recall your saying what tape amadmin config says is due.
 I'm guessing it says tape2 and again, if I recall correctly,
 amcheck says new tape.

Yes, that's right.


 I'll first challenge your determination that amadmin is right.
 You have not used the number of tapes in your tapecycle yet.

Agreed.

 So the correct answer, whether you like it or not, is a new tape
 labelled, but unused previously.  So, amcheck saying new tape
 is correct, because you have not yet written to your entire
 tape cycle.  It will expect, and use, a new tape with any label
 in the drive the next time an amdump is run.  

As long as it matches the labelstr.

 If you had tape2 
 in the drive, it would have reported it was a appropriate tape.

Yes.

 amadmin, without looking at the source, appears to be looking
 at the tapelist file and not checking whether a new tape is
 required.  

Yes, OK.

 Thus it is just saying this is the next tape listed 
 in the tapelist file.  But it is incorrect because you could
 stick in tape 12 at this time and amcheck and amdump would be
 happy.  

Because it matches labelstr, but should they mind? If you number them. But 
saying that, does the regex require a number in it? If so, it should ask for 
the next tape in that number sequence.

 After the tapes have been used, and their order set, 
 then amcheck and amdump will be more particular about which
 tape is valid.

Ok. I will explain this to the client, but I still don't understand this as 
different server installs report what tape is next with amcheck after running 
one backup, but this one does not.

What about a backup not to tape, i.e in the holding disk? I think i did backup 
one was done like this. Whould this effect amcheck?

 I think the real question is whether it is worth the effort to
 get amadmin to do the have tapecycle number of tapes been used
 check rather than just report the next tape in the tapelist.

Yes.

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjTe8eWseh9tzvqgRAo3bAJ44bNaeuQ9M1dMNQFYAbcwYiSkyvQCfSO6f
AJpsjxNasN4UA4C30mWH98Q=
=Xaat
-END PGP SIGNATURE-



Re: amcheck not saying expecting tapeno. or a new tape

2004-11-06 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 06 Nov 2004 22:26, Jon LaBadie wrote:
 On Sat, Nov 06, 2004 at 08:44:39PM +, Gavin Henry wrote:
  On Saturday 06 Nov 2004 17:35, Jon LaBadie wrote:
   So the correct answer, whether you like it or not, is a new tape
   labelled, but unused previously.  So, amcheck saying new tape
   is correct, because you have not yet written to your entire
   tape cycle.  It will expect, and use, a new tape with any label
   in the drive the next time an amdump is run.
 
  As long as it matches the labelstr.

 I looked over my answer and thought ... should I add that.
 But you are correct.

Thanks.


   If you had tape2
   in the drive, it would have reported it was a appropriate tape.
 
  Yes.

 And I probably should have said I think it would say a new tape was
 needed, and that tape2 was ok.  But I wasn't certain, so I did not..

OK.

   Thus it is just saying this is the next tape listed
   in the tapelist file.  But it is incorrect because you could
   stick in tape 12 at this time and amcheck and amdump would be
   happy.
 
  Because it matches labelstr, but should they mind? If you number them.
  But saying that, does the regex require a number in it? If so, it should
  ask for the next tape in that number sequence.

 No, nothing about the labeling has any concept of sequence with the
 exception of the date ordering of usage of tapes in the tapelist.

Ah, date order.


 With a suitable labelstr you could leave off the word tape and
 name them 1, 2, ... 13 or with other suitable labelstr you could
 use one, two, ... thirteen, or presidents names or your children
 or famous ducks like Huey, Dewey, and Louis.


Yes, I could even change the regex to anything I want.

  Ok. I will explain this to the client, but I still don't understand this
  as different server installs report what tape is next with amcheck after
  running one backup, but this one does not.

 I don't recall this coming up before so I don't have an answer.

Fair enough.


  What about a backup not to tape, i.e in the holding disk? I think i did
  backup one was done like this. Whould this effect amcheck?

 Not certain what you are asking here.

Well, the server that amcheck reports what tape is next, with a fresh compile, 
just like the one in question, had it's first and only backup ran with no 
tape in the drive, only saved in the holding disk. This is what I meant.

So, would this have updated the date use date, even though tape1 wasn't used, 
amcheck still asks for tape2.

Gavin.


- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjVLzeWseh9tzvqgRAtMcAJ469kYo747fQVNX/f6DTk0tC3FNJQCdHyJk
Zi8TV+t0MDoB8rJMXcN5zcE=
=4VZy
-END PGP SIGNATURE-



amcheck not saying expecting tapeno. or a new tape

2004-11-05 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear all,

After compiling by hand and patching amcheck.c to include our signature, all 
tests ran fine, backup work to tape etc, but a strange problem with amcheck:

quote
Appserv Tape Server Host Check
- -
Holding disk /var/cache/amanda: 7515340 KB disk space available, that's plenty
ERROR: /dev/nst0: rewinding tape: No medium found
   (expecting a new tape)
NOTE: skipping tape-writable test
NOTE: info 
dir /opt/suretec/var/amanda/learnit-appserv-cfg/curinfo/appserv/_opt_suretec: 
does not exist
NOTE: index 
dir /opt/suretec/var/amanda/learnit-appserv-cfg/index/appserv/_opt_suretec: 
does not exist
Server check took 30.105 seconds

Appserv Backup Client Hosts Check
- -
Client check: 1 host checked in 0.019 seconds, 0 problems found


- -
Backup solution by Suretec Systems Ltd.


For support, please email [EMAIL PROTECTED]

Open Source. Open Solutions.
http://www.suretecsystems.com
/quote

- --

You can see that a new DLE was added, hence the curinfo and index. There was 
no tape in the drive, but it should off asked for tape2, as I dumped a backup 
to tape 1. 

If I run amadmin config tape, it gives the right tape, which is also indicate 
in tapelist, tapelist.yesterday etc.

Could I have messed something up in amcheck.c ???

Patch:

- --- pristine/amanda-2.4.4p3/server-src/reporter.c Wed Nov 26 16:10:23 2003
+++ amanda-2.4.4p3/server-src/reporter.c Sun Oct  3 01:47:16 2004
@@ -606,9 +606,11 @@
  fprintf(mailf,\n\014\nDUMP SUMMARY:\n);
  output_summary();
 }
- -fprintf(mailf,\n(brought to you by Amanda version %s)\n,
- - version());
- -
+fprintf(mailf,\n--\n,
+   Brought to you by Suretec Systems Ltd.\n\n,
+ For support issues, please visit:\n,
+ http://support.suretecsystems.com\n\n;,
+ Open Source. Open Solutions.\n);
 if (postscript) {
  do_postscript_output();
 }
- --- pristine/amanda-2.4.4p3/server-src/amcheck.c Tue Mar 16 19:03:39 2004
+++ amanda-2.4.4p3/server-src/amcheck.c Sun Oct  3 01:46:58 2004
@@ -345,8 +345,12 @@
 }
 
 version_string = vstralloc(\n,
- -  (brought to you by Amanda , version(), )\n,
- -  NULL);
+ --\n,
+ Brought to you by Suretec Systems Ltd.\n\n,
+  For support issues, please visit:\n,
+http://support.suretecsystems.com\n\n;,
+Open Source. Open Solutions.\n,
+NULL);
 for(l = 0, n = strlen(version_string); l  n; l += s) {
  if((s = write(mainfd, version_string + l, n - l))  0) {
  error(write main file: %s, strerror(errno));


- --

I can still see expecting in amcheck.c

Just had a thought. Maybe tapelist is owned by root, and amcheck can't read 
it?

Thanks.

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBi90heWseh9tzvqgRAlCzAJ9IldFYjKWfQVRhYyL157qiITkxaQCglwFT
6Jvjo2yv0R50yKD0G8mf9Mg=
=Aics
-END PGP SIGNATURE-



Re: amcheck not saying expecting tapeno. or a new tape

2004-11-05 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 05 Nov 2004 20:24, Jon LaBadie wrote:
 It is really best to post to only ONE of the -users or -hackers
 lists.  Decide if it is about the code of amanda, then submit
 to -hackers.  For the overwhelming majority of posts, they
 concern usage of amanda and should go to -users.

OK, sorry, sorry. I am bad.


 On Fri, Nov 05, 2004 at 08:05:48PM +, Gavin Henry wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Dear all,
 
  After compiling by hand and patching amcheck.c to include our signature,
  all tests ran fine, backup work to tape etc, but a strange problem with
  amcheck:
 
  quote
  Appserv Tape Server Host Check
  - -
  Holding disk /var/cache/amanda: 7515340 KB disk space available, that's
  plenty ERROR: /dev/nst0: rewinding tape: No medium found
         (expecting a new tape)

 ...

  You can see that a new DLE was added, hence the curinfo and index. There
  was no tape in the drive, but it should off asked for tape2, as I dumped
  a backup to tape 1.
 
  If I run amadmin config tape, it gives the right tape, which is also
  indicate in tapelist, tapelist.yesterday etc.

 I suspect you have only done one backup, thus only previously used one
 tape.

Is this because it's not been overwritten before?

 You think there is an order to the tapes, 2 follows 1 etc.  Amanda could
 care less what new tape it writes to next.  If you put in tape3 next,
 amanda's order will have 3 following 1 in the future.  If you labelstr
 allows it (tape.*) amanda will happily use tape-gavin next and tape-henry
 after that.

 There seems to be no problem (from what I see anyway).

  Could I have messed something up in amcheck.c ???

 That is a separate question with an unknown answer.
 But it is any mess-up is probably unrelated to this situation.

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBi+1GeWseh9tzvqgRAuCQAJ92SPDjqIy3G1qhPU8LERPpLJ/0qwCeOBoW
xTZKEux4q5FJ7YTiqoPxKAQ=
=Osat
-END PGP SIGNATURE-



Re: amcheck not saying expecting tapeno. or a new tape

2004-11-05 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 05 Nov 2004 20:42, you wrote:
 Would people please stop cross-posting between -users and -hackers.
 If your message is about using amanda, send it to -users.  If it's
 about the source, send it to -hackers.

Again, sorry. I thought it was relevant to both.


 Don't mean to single out Gavin here.  This has happened several times
 recently, each then multiplied by all the followups.

Yeah, it is hard to follow.


 Thank you.

 -Mitch

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBi+11eWseh9tzvqgRArbeAJ4xhZQ0InDi0hJ/IArAMYhjxw0G5wCeOBsP
v8ADLRScIe86U4+r49kLDyQ=
=xkQh
-END PGP SIGNATURE-



Moving disklist to an OpenLDAP lookup?

2004-11-05 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

Just a thought,

Would there be any benefit of implementing host lookups etc via LDAP for 
enteprise class backups?

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBi+4GeWseh9tzvqgRAq9fAJoCN5HSnG5DoFJL5a3woxciVoq9lACfYsT/
WZNEChXpHH7qwEm15ShG/So=
=xnPN
-END PGP SIGNATURE-



Re: amcheck not saying expecting tapeno. or a new tape

2004-11-05 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 You think there is an order to the tapes, 2 follows 1 etc.  Amanda could
 care less what new tape it writes to next.  If you put in tape3 next,
 amanda's order will have 3 following 1 in the future.  If you labelstr
 allows it (tape.*) amanda will happily use tape-gavin next and tape-henry
 after that.

 There seems to be no problem (from what I see anyway).


I agree after re-reading above. It orders the tapes according to what order 
you put them in the first place, as long as they either match the regex 
labelstr or are blank.

Cheers.

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBi/emeWseh9tzvqgRAiPuAKCSQEWtWteCU6c4X8/a3a9wstDMWACfTtx7
rO8lvf35mvg0WQHE8t3WE9M=
=qWGw
-END PGP SIGNATURE-



Re: amcheck not saying expecting tapeno. or a new tape

2004-11-05 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 I suspect you have only done one backup, thus only previously used one
 tape.

 You think there is an order to the tapes, 2 follows 1 etc.  Amanda could
 care less what new tape it writes to next.  If you put in tape3 next,
 amanda's order will have 3 following 1 in the future.  If you labelstr
 allows it (tape.*) amanda will happily use tape-gavin next and tape-henry
 after that.

 There seems to be no problem (from what I see anyway).


Only one backup has been done, but why would amadmin config tape give me the 
right next tape, but the e-mail/amcheck doesn't?

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBjF3SeWseh9tzvqgRAsH2AKCFdmdZ/eI229aAlbjwGnEi0eMtXgCfWKKs
c/rPzt1Mzzi5rg1X+hgId4c=
=+3eE
-END PGP SIGNATURE-



RE: Question about backing up (multiple tapes per session on one device)

2004-11-04 Thread Gavin Henry
Hi,

Call amcheck with -m to mail the outputs from the checks.

man amcheck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of James Marcinek
Sent: 04 November 2004 00:19
To: [EMAIL PROTECTED]
Subject: Question about backing up (multiple tapes per session on one
device)


On to the next hurdle hopefully one of the last.

I have one tape device. I will be working with multiple systems so I know that
some backups will require multiple tapes. Since the backups will be eventually
done on cron, how does one know that a tape change is needed? Will amanda send
out an email or something. I'm planning on using amcheck to make sure the
correct tape is in prior to kicking the backup off... I just couldn't find
anything on this matter.

Thanks everyone,

James


__
This email and any files transmitted with it are  confidential and intended solely for 
the use of the individual or entity to whom it is addressed. If you have received this 
email in error please delete it immediately and notify the sender. Please also note 
that in accordance with Invsat's Information Technology policy, emails sent or 
received may be monitored.
__



Re: Difference between amcheck and amdump(planner)

2004-11-01 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 01 Nov 2004 20:43, you wrote:
 Hi all,

 I am trying to figure out why amcheck returns OK every time for a
 specific client but the actual dump fails in the planner stage:
 planner: [Request to client FQDN timed out.]

Hi Per,

Lifted from:

http://www.amanda.org/docs/manpages/amanda.8.html

ctimeout int
Default: 30 seconds. Maximum amount of time that amcheck will wait for 
each client host.

dtimeout int
Default: 1800 seconds. Amount of idle time per disk on a given client that 
a dumper running from within amdump will wait before it fails with a data 
timeout error.

etimeout int
Default: 300 seconds. Amount of time per disk on a given client that the 
planner step of amdump will wait to get the dump size estimates. For 
instance, with the default of 300 seconds and four disks on client A, planner 
will wait up to 20 minutes for that machine. A negative value will be 
interpreted as a total amount of time to wait per client instead of per 
disk.

I know these won't have changed, but what are yours?


 This started when the client was upgraded from FreeBSD 4.10 to 5.3RC1,
 but strangest of all is that SOME dumps work and I cannot for my life
 undertand why. No changes where made to the amanda server or general
 configuration.

 Is there a way I could simulate an actual dump instead of using amcheck?

Yes, define a dumptype, also on the abive link.

define dumptype testing {
comment Test backup, no compression, do indexing, no recording
normal
index no
record no
}

Then change in your disklist to something like:

suretec /var testing


 There are no traces on the client in /tmp from the actual run but the
 amcheck logs are all OK.
 The sysctl net.inet.udp.maxdgram=63535 parameter is set.

 Suggestions?

Above :-)

 Per olof

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions. (tm)

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBhqSYeWseh9tzvqgRAo+pAJ0XMT+5jzJcOLaTfuvJsPOK8f3H4ACfSWwJ
WSCfEUd4+7PQdd6FQaDGQY8=
=A850
-END PGP SIGNATURE-



Re: Fedora upgrade Amanda slowed

2004-10-30 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 This appears to have been the problem. The 3c59x driver in FC1 on my
 Dell was the problem. The solution was odd. I found it in a bug
 report. The ethernet connection was working, but had a ton of
 collisions and receive errors. Following the suggestion in the bug
 report, I turned kudzu off and reboot the machine. No collisions, and
 no errors. Backup times are back to where they were. Thank you for your
 suggestion.

Great, you're back up. 

 Thanks Jonathan Swaby

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

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions. (tm)

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBhFjbeWseh9tzvqgRAne0AJwJsFSV1+wSEz4lJCHGhOf1ZqLrFQCdHOZA
ekgRk/FXTauj/EVbnsm31DA=
=7hoH
-END PGP SIGNATURE-



Re: Fedora upgrade Amanda slowed

2004-10-29 Thread Gavin Henry
Jonathan Swaby said:
 I recently upgraded a RH9 box to Fedora Core1. The upgrade went fine,
 but my Amanda backups have slowed down a great deal. I am using this
 machine to backup a Win2k server, a Win2k3 server, and a couple of
 Linux boxes. The backups for the Linux boxes are running at the same
 pace as always, but my win boxes are extremely slow. My Win2k box was
 taking an hour and it now take 3.5 hours. My Win2k3 box was taking 16
 minutes and now takes 1.25 hours. Several of the packages Amanda uses
 were upgraded in the process. I am, however, still using Amanda 2.4.4.

 gtar 1.13.25
 gzip 1.3.3
 smbclient 3.0.7-2.FC1

 Before the upgrade, I had
 gtar 1.13.25-11
 gzip 1.3.3-9
 smbclient 3.0.5

 I have not yet tried down grading to smbclient 3.0.5. This might fix
 the problem.

 I have googled for possible answers, but I have found nothing. Has
 anyone else experienced this? Does anyone have any ideas on how to
 solve the problem?

Hi, I'm http://FedoraNEWS.ORG/ghenry, so I like to think I know a bit
about Fedora :-)

IIRC, from RH9 to FC1 the file protocol changed from smbfs to cifs, and
all sorts of problems started to happen with samba.

I would upgrade to FC2 if at all possible.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/



Re: (was: Re: newb: getting started) : AMANDA-docs

2004-10-14 Thread Gavin Henry
No probs. Have you seen the app called tidy? That can convert html into
relatively formatted DocbookXML.

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

Stefan G. Weichinger said:
 Hi, Gavin,

 on Mittwoch, 13. Oktober 2004 at 12:28 you wrote to amanda-users:

 GH Again, if you need any help with the xml stuff, feel free to hand some
 over :-)

 Thanks a lot, unfortunately this chapter is still in html.

 As you may have already noticed, the rest of the docs is already
 available in the AMANDA-CVS. Check out the current xml-docs-tree :

 cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda co xml-docs

 There have been some updates through the last week ...

 --
 best regards,
 Stefan

 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]








RE: newb: getting started

2004-10-13 Thread Gavin Henry
Again, if you need any help with the xml stuff, feel free to hand some over :-)


-Original Message-
From:   [EMAIL PROTECTED] on behalf of Stefan G. Weichinger
Sent:   Wed 10/13/2004 12:40 AM
To: [EMAIL PROTECTED]
Cc: 
Subject:Re: newb: getting started
Hi, Frank,

on Mittwoch, 13. Oktober 2004 at 01:20 you wrote to amanda-users:

FS The best place to start is the chapter on Amanda from W.Curtis Preston's
FS book 'UNIX Backup  Recovery'.  You can read that chapter online, the
FS link is on the amanda.org home page.  In my opinion the book is also
FS worth buying and reading in its entirety.

You are right.

Let me add that this chapter will soon be added to the official
AMANDA-docs (as soon as I find the time to convert, edit and update it
...)

FS Two things you really don't want to do (or at least ask before trying):
FS   Label your tapes with a day of the week, month, or similar.
FS   Use 'localhost' as a hostname to back up.

Thank you ;-)

To Erik:

maybe have a look at
http://www.amanda.org/docs/AMANDA-docs.html

(http://www.amanda.org/docs/topten.html ??)

I will commit more formatted files soon.

-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:[EMAIL PROTECTED]








__
This email and any files transmitted with it are  confidential and intended solely for 
the use of the individual or entity to whom it is addressed. If you have received this 
email in error please delete it immediately and notify the sender. Please also note 
that in accordance with Invsat's Information Technology policy, emails sent or 
received may be monitored.
__winmail.dat

Re: amanda mini-howto

2004-09-23 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leandro said:
 i´m newbie in amanda.
 i compile ok in solaris 7.

 Can anybody tell me if there is a mini-howto or newbie-friendly-pdf about
 usage of amanda ?

I did one for my column on Fedoranews.org

http://fedoranews.org/ghenry/amanda

HTH.


 Thanks.
 Leandro.
 Argentina.


- --
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions.

http://www.suretecsystems.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBUs/zeWseh9tzvqgRAiKoAKCAwnuiGdMwfxKahI3q9EB4x9r35gCgkqSG
wwk42wsI/tD5gBBXur4PnlI=
=BT1E
-END PGP SIGNATURE-


Re: AMANDA-docs ::: Updated version online

2004-09-03 Thread Gavin Henry
Stefan G. Weichinger said:

 Hello, amanda-users,

 I just put up a current version of my AMANDA-docs-branch.

 The pdf-version now prints fine here, please report any problems to me
 (off-list).

 http://www.oops.co.at/AMANDA-docs/index.html.

Should we incorporate the man pages in the main xml file, that way we can
generate one big pdf?


 --
 best regards,
 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]






RE: Anyone please reply! System Disk recovery - UNKNOWN file. amrecover: Cant read file header

2004-08-24 Thread Gavin Henry



Try 
amrestore on the actual tape to check the actual tape.

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On 
  Behalf Of Ranveer AttaliaSent: 24 August 2004 
  14:02To: [EMAIL PROTECTED]Subject: Anyone please 
  reply! System Disk recovery - UNKNOWN file. amrecover: Cant read file 
  headerImportance: High
  Hi 
  
  I am trying to 
  test restore before I run a system disk recover from amanda server to my 
  client machine. 
  The 
  restorefile is any onefrom /opt onto the client telhp6 onto a 
  /scratch/restored directory but its giving me file header 
  errors...
  I cannot 
  understand why though because it looks as if it backed up fine and its 
  displaying the tape labels with no problem on the amanda 
  server:
  Please can someone 
  help 
  
  Thanks 
  
  
  - Ranveer 
  
  
  $ amtape Weekly 
  showamtape: scanning all 7 slots in tape-changer rack:slot 1: date 
  20040822 label Fri3.1slot 2: date 20040820 label Fri3.2amtape: could 
  not load slot source: Element Address 8 is Empty$ 
  
  $ amadmin Weekly find telhp6 /optWarning: no 
  log files found for tape Fri4.1 written 2004-04-23Warning: no log files 
  found for tape Mar0.1 written 2004-03-28Warning: no log files found for 
  tape Weekly5 written 2004-02-28Warning: no log files found for tape 
  Weekly4 written 2004-02-14Warning: no log files found for tape Weekly3 
  written 2004-02-07Warning: no log files found for tape Weekly2 written 
  2004-01-30Warning: no log files found for tape Weekly1 written 
  2004-01-23Scanning /amanda...Scanning /amanda1...
  
  date 
  host disk lv tape or file file status2004-06-07 telhp6 
  /opt 0 Peg0.1 1 
  OK2004-06-25 telhp6 /opt 0 
  Jun0.1 145 OK2004-07-23 telhp6 
  /opt 0 Fri4.2 136 
  OK2004-08-03 telhp6 /opt 0 
  Jul0.2 3 
  OK2004-08-06 telhp6 /opt 0 
  Fri1.2 4 
  OK2004-08-13 telhp6 /opt 0 
  Fri2.2 6 
  OK2004-08-20 telhp6 /opt 0 
  Fri3.2 4 
  OK
  
  amrecover add amanda.tarAdded 
  /amanda.taramrecover extract
  
  Extracting files using tape drive /dev/rmt/1ubn 
  on host tsssun1.The following tapes are needed: Fri3.1
  
  Restoring files into directory 
  /scratch/restoredContinue [?/Y/n]? Y
  
  Extracting files using tape drive /dev/rmt/1ubn 
  on host tsssun1.Load tape Fri3.1 nowContinue [?/Y/n/s/t]? YEOF, 
  check amidxtaped.timestamp.debug file on tsssun1.amrecover: short 
  block 0 bytesUNKNOWN fileamrecover: Can't read file 
  headerextract_list - child returned non-zero status: 1Continue 
  [?/Y/n/r]? Yamrecover 
  
  
  and it doesnt 
  actually extract 
  anything.Tertio 
  Telecoms (www.telco-tertio.com)Head Office: One Angel Square Torrens 
  Street London EC1V 1PLTel: +44 (0)20 7843 4000 - Fax: +44 (0)20 7843 
  4001Bath Office: Riverside Buildings 108 Walcot Street Bath BA1 
  5BGTel: +44 (0)1225 478000 - Fax: +44 (0)1225 478001 Munich 
  Office: Freisinger Strasse 10, 85737 Ismaning/Munich, Germany,Tel: +49 
  (0)89 665506 41 - Fax: +49 (0)89 665506 99Any views expressed in this 
  message are those of the individual sender,except where the sender 
  specifically states them to be the views of Tertio Ltd.This email has 
  been scanned by the MessageLabs Email Security 
  System.


RE: Disklist file

2004-08-23 Thread Gavin Henry
Two amanda configs needed and two cronjobs?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kaushal Shriyan
Sent: 23 August 2004 05:40
To: [EMAIL PROTECTED]
Subject: Disklist file


Hi !

 i have two sets of client
 one who owns laptop and others who own desktop
 now i wanted to take backup of Laptop
 at 13:00 hrs and desktop at 21:00 hrs
 is there any way out to have seperate disklist file
 i mean one for laptop and other for desktop


-- 
Regards,

Kaushal Shriyan

Technical Engineer
Red Hat India Pvt. Ltd.
Tel  : +91-22-22881326/27
Fax  : +91-22-22881318
Cell : +91-9820367783





Re: Amanda on SUSE Enterprise 8

2004-08-16 Thread Gavin Henry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 16 Aug 2004 17:01, you wrote:
 Folks,

   Is there an RPM build for SUSE Enterprise 8 ?

We compile from source. Very easy and more control.


 Bill Morris

 Bill Morris ([EMAIL PROTECTED])
 Network  Client Services
 North Carolina State University
 Operations and Systems Analyst
 Campus Box 7231
 14 Peele Hall
 10 Watauga Club Dr.
 Raleigh, NC 27695-7231

- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions.

http://www.suretecsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBIPwaeWseh9tzvqgRAmw5AJwLbcV5gQJnIx52ewa3b+9SMlqsjACcCRdt
/lAyVKU0tc9+Zy47FkEEC/I=
=Uk/3
-END PGP SIGNATURE-



RE: A few thoughts on different configurations - Help required.

2004-08-12 Thread Gavin Henry
Title: RE: A few thoughts on different configurations - Help required.






This is exactly what we are doing. rman, a perl script and a few othe script things. Would you be interested in our scripts for 10g app and db servers?

By the way, it's Gavin from Suretec here, this company is my day job until we go full time first quarter next year.


-Original Message-
From: [EMAIL PROTECTED] on behalf of John Bossert
Sent: Thu 8/12/2004 6:38 PM
To: [EMAIL PROTECTED]
Cc:
Subject: Re: A few thoughts on different configurations - Help required.
I'm successfully using Amanda in conjunction with Oracle 9i. Here's a
brief description - if there's interest I can publish more details.

First, I'm using Amanda to backup all disk objects. In an Oracle
context, this includes controlfiles, datafiles and (we're running in
ARCHIVELOG mode) archived redo logs. Amanda also picks up the
appropriate init.ora and spfiles. This is done with a single
configuration (DailySet1) - dumpcycle=2 weeks, runspercycle=10
(weekdays only), tapecycle=25 that picks up all relevant Oracle
disks/partitions. (I also do a weekly full backup of everything, using
a separate WeeklySet1 config, as a component of offsite disaster-recovery.

I've written a simple script that uses Oracle's RMAN utility to perform
nightly full Oracle backups (we're using Standard Edition, else I'd
perform nightly incremental backups - only available with Enterprise
Edition.) This script is configured such that all backups and archived
redo logfiles are backed up by Amanda before being purged by RMAN. So,
in the event of the need to do a Point-in-Time recovery, I can (with a
little bit of effort) restore any particular redo logfile.

I do have a slight bit of exposure - even though my Oracle disks are
mirrored, I could lose archived redo logfiles (in the potentially 23:59
hours:minutes) before Amanda writes them to tape. I really should copy
(ship) them to a second machine until Amanda has safely backed them up
(and the backup verified.) My plan (as of yet unfunded) is to employ
this second machine as a backup/standby database server.

-john

Gavin Henry wrote:
 Hi all,

 We are currently setting up 2 amanda backup servers which require 3 different
 configs on each server.

 I think these are possible, but I would like the list to clarify them:

 Server 1:

 Config 1 - Ad-hoc backup which would be called by hand maybe once a month or
 longer and needs to be a full backup with one tape that gets overwritten each
 time. I was thinking:

 dumpcycle 1 day
 runspercycle 1 day
 tapecycle 1 tape

 Config 2 - Same as above, but different partitions etc. These two will
 probably be combined into the same amanda config. These are both for by
 hand full cold backups of oracle databases etc.

 Config 3 - Weekly backup. Every 5 days there is a full backup, with possibly
 only one tape that gets overwritten each time. I would prefer to do a 1 month
 dump cycle with 4 - 6 tapes (ie one a week)being used for a full weekly
 backup (it will be full, as the partitions will have completely changed over
 the week).


 Server 2:

 Config 1  2 - Same as Config 1  2 of Server 1.

 Config 3 - A full daily backup with however many tapes we decide for tape
 history.

 With both server's, oracle backups are being done, the 3 configs being
 different parts of the oracle install. The backup folders will change each
 day, so even if we use incremental backups etc. (letting amanda handle it
 all) they will be like a full backup due to the complete change of files.


 Does any of this make sense?

 Thanks,

 Gavin.


--
John BOSSERT
Affidian Corporation
[EMAIL PROTECTED]

La thiorie, c'est quand on sait tout et que rien ne fonctionne.
La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
Ici, nous avons riuni thiorie et pratique : Rien ne fonctionne... et
personne ne sait pourquoi!
[Einstein]








  1   2   >