Re: Define what holding disk to use?

2008-03-04 Thread Chris Hoogendyk



Jean-Louis Martineau wrote:

There is no option to do that.

Jean-Louis

Nicki Messerschmidt wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
is it possible to define (in a dumptype) what holding disk to use?

I have a server which backups itself and this server has two raid
arrays. I placed a holding disk on each of the arrays. Now amanda
shouldn't use the holding disk on array one while backuping this 
array...
Is there some configuration option I have missed? 


My own preference is to configure the system with separate drives for 
holding disk. There is no reason for them to be raid. With a separate 
spindle, they will be fast. If they are on a separate controller, even 
faster. I happen to have my tape drive, my holding disks, and my network 
all on separate controllers/buses, so there is virtually no contention. 
I get the maximum throughput on my tape and on my holding disks. All 
Ultra320 LVD SCSI on a Sun Enterprise server.


When amanda is not running I can use the holding disk space for other 
maintenance tasks, recoveries, etc.




---

Chris Hoogendyk

-
  O__   Systems Administrator
 c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~ - University of Massachusetts, Amherst 


<[EMAIL PROTECTED]>

--- 


Erdös 4




Re: Define what holding disk to use?

2008-03-04 Thread Jean-Louis Martineau

There is no option to do that.

Jean-Louis

Nicki Messerschmidt wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
is it possible to define (in a dumptype) what holding disk to use?

I have a server which backups itself and this server has two raid
arrays. I placed a holding disk on each of the arrays. Now amanda
shouldn't use the holding disk on array one while backuping this array...
Is there some configuration option I have missed?

  


Re: can amanda trigger a script?

2008-03-04 Thread zuki
Sorry if my explanation was not clear. The script is on client. What I 
want is whenever server start triggering amdump, it will "ask" client to 
run the script first. Client will do the export thing not server. Once 
finished, amdump will continue immediately. Can Amanda do that?



Heiko Schlittermann wrote:

fedora <[EMAIL PROTECTED]> (Di 04 Mär 2008 10:26:17 CET):
  

Hi Marc/all,

U have gave me this script to export database to other directory. 
http://marc-muehlfeld.de/scripts/mybackup.sh


If I use this script on cronjob to export databases, Amanda does not know
when will it finishes. Manual way, If let say this script finish exported
databases at 3am. Then I have to run "amdump DailySet1" (cronjob) at 3.30am
for instance. So, I always have to check and monitor when the script finish
export databases and the time depends on the size of databases. I have to
change time setting on cronjob as well. Can Amanda trigger that script so
that after exporting databases it will run "amdump DailySet1" automatically?



Just run the script in the same cron command:

0 3 * * * mybackup.sh; amdump DailySet1

or if the result of mybackup.sh is critical:

0 3 * * * mybackup.sh && amdump DailySet1

(Supposed that the script will not trigger some background jobs and exit
before they're finished.)


Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
  
begin:vcard
fn:Zuki
n:;Zuki
org:Abamon Technology Sdn. Bhd.
adr:No.9, Jln 16/11;;Unit 611, Block F, Phileo Damansara 1;Petaling Jaya;Selangor;46350;Malaysia
email;internet:[EMAIL PROTECTED]
title:System Support
tel;work:03-74931720
tel;fax:03-74931721
tel;cell:017-3282680
x-mozilla-html:TRUE
url:http://www.abamon.com
version:2.1
end:vcard



Re: can amanda trigger a script?

2008-03-04 Thread Heiko Schlittermann
fedora <[EMAIL PROTECTED]> (Di 04 Mär 2008 10:26:17 CET):
> 
> Hi Marc/all,
> 
> U have gave me this script to export database to other directory. 
> http://marc-muehlfeld.de/scripts/mybackup.sh
> 
> If I use this script on cronjob to export databases, Amanda does not know
> when will it finishes. Manual way, If let say this script finish exported
> databases at 3am. Then I have to run "amdump DailySet1" (cronjob) at 3.30am
> for instance. So, I always have to check and monitor when the script finish
> export databases and the time depends on the size of databases. I have to
> change time setting on cronjob as well. Can Amanda trigger that script so
> that after exporting databases it will run "amdump DailySet1" automatically?

Just run the script in the same cron command:

0 3 * * * mybackup.sh; amdump DailySet1

or if the result of mybackup.sh is critical:

0 3 * * * mybackup.sh && amdump DailySet1

(Supposed that the script will not trigger some background jobs and exit
before they're finished.)


Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
-- 
 SCHLITTERMANN.de  internet & unix support -
 Heiko Schlittermann HS12-RIPE -
 gnupg encrypted messages are welcome - key ID: 48D0359B ---
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -


signature.asc
Description: Digital signature


Re: can amanda trigger a script?

2008-03-04 Thread Dave Ewart
On Tuesday, 04.03.2008 at 01:26 -0800, fedora wrote:

> Hi Marc/all,
> 
> U have gave me this script to export database to other directory.
> http://marc-muehlfeld.de/scripts/mybackup.sh
> 
> If I use this script on cronjob to export databases, Amanda does not
> know when will it finishes. Manual way, If let say this script finish
> exported databases at 3am. Then I have to run "amdump DailySet1"
> (cronjob) at 3.30am for instance. So, I always have to check and
> monitor when the script finish export databases and the time depends
> on the size of databases. I have to change time setting on cronjob as
> well. Can Amanda trigger that script so that after exporting databases
> it will run "amdump DailySet1" automatically?

Well, presumably amdump is run from cron too?  Why not just do:

0 3 * * * backupdb.sh && amdump DailySet1

or something similar?

Dave.
-- 
Dave Ewart
[EMAIL PROTECTED]
Computing Manager, Cancer Epidemiology Unit
University of Oxford / Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370
Get key from http://www.ceu.ox.ac.uk/~davee/davee-ceu-ox-ac-uk.asc
N 51.7518, W 1.2016


signature.asc
Description: Digital signature


can amanda trigger a script?

2008-03-04 Thread fedora

Hi Marc/all,

U have gave me this script to export database to other directory. 
http://marc-muehlfeld.de/scripts/mybackup.sh

If I use this script on cronjob to export databases, Amanda does not know
when will it finishes. Manual way, If let say this script finish exported
databases at 3am. Then I have to run "amdump DailySet1" (cronjob) at 3.30am
for instance. So, I always have to check and monitor when the script finish
export databases and the time depends on the size of databases. I have to
change time setting on cronjob as well. Can Amanda trigger that script so
that after exporting databases it will run "amdump DailySet1" automatically?
-- 
View this message in context: 
http://www.nabble.com/can-amanda-trigger-a-script--tp15823348p15823348.html
Sent from the Amanda - Users mailing list archive at Nabble.com.



Define what holding disk to use?

2008-03-04 Thread Nicki Messerschmidt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
is it possible to define (in a dumptype) what holding disk to use?

I have a server which backups itself and this server has two raid
arrays. I placed a holding disk on each of the arrays. Now amanda
shouldn't use the holding disk on array one while backuping this array...
Is there some configuration option I have missed?


Cheers
Nicki

- --
Linksystem Muenchen GmbHWe make the Net work
Schloerstrasse 10   Tel. 089 / 890 518-0
80634 Muenchen  Fax 089 / 890 518-77
[EMAIL PROTECTED]  http://www.link-m.de
Handelsregister:Amtsgericht Muenchen, HRB 129182
Geschaeftsfuehrung:   Christine Wittig, Mathias Zunterer
PGP Keys: https://www.link-m.de/pgp/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHzP/V6zWc+bXuIEMRAvMhAJ4hSL1c0itC3PodE2mxKeYK35VSBACg9Rab
bBnS870Hb5eG+YfehsOencQ=
=VMLR
-END PGP SIGNATURE-