exec command before backup ?

2002-06-10 Thread Fabien SEISEN
Hi, I would like to execute some commands on a amanda-client before a backup. Can amanda do this ? (i need to do a mysqldump and only backup the dump, not data in use) -- Fabien Seisen [EMAIL PROTECTED] dakol@opn GnuPG ID 1024D/112189D8

Re: exec command before backup ?

2002-06-10 Thread Ben Kochie
you could change the cron entry on the amanda server to remotely execute the mysqldumps with ssh. #!/bin/sh LIST_OF_HOSTS=foo bar baz for host in $LIST_OF_HOSTS; do ssh $host /usr/local/sbin/do-mysql-dump.sh done /usr/sbin/amdump DailySet1 -ben On Mon, 10 Jun 2002, Fabien SEISEN