Re: How could amflush NOT flush ? :o)

2003-07-23 Thread Gene Heskett
On Wednesday 23 July 2003 11:03, Kurt Yoder wrote: >Nicolas Ecarnot said: >> Hi, >> >> My Amanda setup keeps improving tests after tests and I still have >> so many questions. >> Today is : How could I do to make automatic flushes (autoflush) >> but without deleting the holding disk directories ? >

Re: How could amflush NOT flush ? :o)

2003-07-23 Thread Jon LaBadie
On Wed, Jul 23, 2003 at 05:34:59PM +0200, Nicolas Ecarnot wrote: > On Wed, Jul 23, 2003 à 10:36:42AM -0400, Jon LaBadie wrote: > [...] > > > # make LinkDir if needed > > [ -d ${LinkDir} ] || mkdir ${LinkDir} > > # should do error processing, but I'm lazy

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Jon LaBadie
On Wed, Jul 23, 2003 at 05:53:22PM +0200, Nicolas Ecarnot wrote: > I'm absolutely confuse to appear as asking too much, > but I sure would prefer not to touch my amanda configuration, > so the Kurt's solution seems nice (apart the ressources considerations). That may not be as bad as you imagine.

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Paul Bijnens
Nicolas Ecarnot wrote: But I really can't admit there is no way to tell to amflush not to remove the holding disk files ! Should I ask the dev mailing list if the patch exist ? No, there is no patch. (But I still think there is some way in the hard-link-files-method. The changes to the config are

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Nicolas Ecarnot
On Wed, Jul 23, 2003 à 03:54:40PM +0100, Niall O Broin wrote: > A little thinking here would help I sure need advices :o) >- in your script which runs amanda, all you > have to do is hardlink every file in the last holding directory to a > similarly named file in another directory and you're do

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Nicolas Ecarnot
On Wed, Jul 23, 2003 à 04:41:12PM +0200, Paul Bijnens wrote: > You have two configs; Config1 "reserve 100" and a bogus > "tapedev /no/such/tape" and holdingdisk set to > "/bigdisk/amandahold/Config1/". > The other, Config2, "tapedev /dev/nst0" (or whatever is the > real tapedev) and holdingdisk "/b

Re: How could amflush NOT flush ? :o)

2003-07-23 Thread Nicolas Ecarnot
On Wed, Jul 23, 2003 à 10:36:42AM -0400, Jon LaBadie wrote: [...] > # make LinkDir if needed > [ -d ${LinkDir} ] || mkdir ${LinkDir} > # should do error processing, but I'm lazy > > # link to dump file > ln ${Dfile} ${L

Re: How could amflush NOT flush ? :o)

2003-07-23 Thread Kurt Yoder
Nicolas Ecarnot said: > Hi, > > My Amanda setup keeps improving tests after tests and I still have > so many questions. > Today is : How could I do to make automatic flushes (autoflush) but > without deleting the holding disk directories ? > > What I'd like to have is this situation : > - cron lau

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Niall O Broin
On Wednesday 23 July 2003 15:36, Nicolas Ecarnot wrote: > The doc (under FreeBSD 5.1) also says that the hard links can't be used for > directories, but only for files. I tested it, and indeed, I'm stuck. > > A little search on google explained me that the filesystem limits that > because every fi

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Paul Bijnens
Paul Bijnens wrote: #!/bin/sh cd /bigdisk/amandahold/Config1 amdump Config1 cd /bigdisk/amandahold/Config1 find . | cpio -pl /bigdisk/amandahold/Config2 Better add a -d option to cpio like: ... cpio -pdl ... so that is does automatically create the directory named after the date.

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Paul Bijnens
Nicolas Ecarnot wrote: Selon Paul Bijnens <[EMAIL PROTECTED]>: Nicolas Ecarnot wrote: I first thought about a script that would launch amdump without the option autoflush, then copy the last created directory, then launch amflush. But that copy is way too large for my not-so-small 120Go holding

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Jon LaBadie
On Wed, Jul 23, 2003 at 04:36:31PM +0200, Nicolas Ecarnot wrote: > Selon Paul Bijnens <[EMAIL PROTECTED]>: > > > Nicolas Ecarnot wrote: > > > > > I first thought about a script that would launch amdump without the > > > option autoflush, then copy the last created directory, then launch > > > amf

Re: How could amflush NOT flush ? :o)

2003-07-23 Thread Jon LaBadie
On Wed, Jul 23, 2003 at 03:53:13PM +0200, Nicolas Ecarnot wrote: > Hi, > > My Amanda setup keeps improving tests after tests and I still have so many questions. > Today is : How could I do to make automatic flushes (autoflush) but without deleting > the holding disk directories ? > > What I'd li

Re: How could amflush NOT flush ? :o) [OFF TOPIC]

2003-07-23 Thread Nicolas Ecarnot
Selon Paul Bijnens <[EMAIL PROTECTED]>: > Nicolas Ecarnot wrote: > > > I first thought about a script that would launch amdump without the > > option autoflush, then copy the last created directory, then launch > > amflush. But that copy is way too large for my not-so-small 120Go > > holding disk

Re: How could amflush NOT flush ? :o)

2003-07-23 Thread Paul Bijnens
Nicolas Ecarnot wrote: I first thought about a script that would launch amdump without the option autoflush, then copy the last created directory, then launch amflush. But that copy is way too large for my not-so-small 120Go holding disk. Instead of a copy, make hard links to the original files.

How could amflush NOT flush ? :o)

2003-07-23 Thread Nicolas Ecarnot
Hi, My Amanda setup keeps improving tests after tests and I still have so many questions. Today is : How could I do to make automatic flushes (autoflush) but without deleting the holding disk directories ? What I'd like to have is this situation : - cron launches amdump - the autoflush option is