Re: changing number of index records
I just meant I run a cron job daily to collect one days' worth of the debug files into a dated directory and remove any dated directory older than 30 days. That is not a builtin amanda facility. Something similar 'might' be doing nasty things to your index files. Are they the most recent? Yes. Do they change daily? Yes. I do have a cron job that occasionally clears /tmp but much more infrequent than every three days. However, this machine does other housekeeping activities so it may be that I configured another script or program to clear out things. I'll keep an eye on that from now, it seems that this is the most likely reason. /per olof
Re: changing number of index records
On Thu, Aug 21, 2003 at 08:43:59PM +0200, Per olof Ljungmark wrote: > Jon LaBadie wrote: > >On Thu, Aug 21, 2003 at 03:39:39PM +0200, Per olof Ljungmark wrote: > > > > I'm trying to understand your last paragraph, are the index files in > /usr/local/var/amanda/ dependant on /tmp/amanda? If that is the case > that is probably the reason. > I just meant I run a cron job daily to collect one days' worth of the debug files into a dated directory and remove any dated directory older than 30 days. That is not a builtin amanda facility. Something similar 'might' be doing nasty things to your index files. > > > >Are they the most recent? > >Do they change daily? > > What were the answers to these queries? -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: changing number of index records
Jon LaBadie wrote: On Thu, Aug 21, 2003 at 03:39:39PM +0200, Per olof Ljungmark wrote: Jon LaBadie wrote: On Thu, Aug 21, 2003 at 01:11:04PM +0200, Per olof Ljungmark wrote: How do I change the number of indexes kept, right now my dumpcycle is over a month but only have indexes from the last few days. I would rather keep all the indexes until the tape is overwritten. That is the way my index files are kept, retained until overwritten. Makes me wonder what parameter would change that? I have only three days of indexes in /usr/local/var/amanda/index! None I've ever heard of. Other than the obvious tapecycle/dumpcycle/runtapes settings. Are they the most recent? Do they change daily? What are the the timestamps on the directories containing the index files? The ls -ld and ls -ldc timestamps should show when changes were made to the directory contents (files added or removed). Are these different than the times of your dumps? I'd be looking at some outside factor as well as some amanda facility. Like maybe a crontab entry that is getting rid of the index files older than 'xxx'. I do something like that to maintain the /tmp/amanda debug directory differently than amanda wants to maintain it. Well, I've got: dumpcycle 4 weeks runspercycle 20 tapecycle 23 tapes The timestamps appears to be in sync with backups. I'm trying to understand your last paragraph, are the index files in /usr/local/var/amanda/ dependant on /tmp/amanda? If that is the case that is probably the reason. Can one set the age of the /tmp/amanda entries as well? Thanks again!
Re: changing number of index records
Jon LaBadie wrote: On Thu, Aug 21, 2003 at 01:11:04PM +0200, Per olof Ljungmark wrote: How do I change the number of indexes kept, right now my dumpcycle is over a month but only have indexes from the last few days. I would rather keep all the indexes until the tape is overwritten. That is the way my index files are kept, retained until overwritten. Makes me wonder what parameter would change that? I have only three days of indexes in /usr/local/var/amanda/index! Or is it the size of the database that controls it? Anybody that could enlighten me out there? Thanks,
Re: changing number of index records
On Thu, Aug 21, 2003 at 01:11:04PM +0200, Per olof Ljungmark wrote: > How do I change the number of indexes kept, right now my dumpcycle is > over a month but only have indexes from the last few days. > > I would rather keep all the indexes until the tape is overwritten. That is the way my index files are kept, retained until overwritten. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
changing number of index records
How do I change the number of indexes kept, right now my dumpcycle is over a month but only have indexes from the last few days. I would rather keep all the indexes until the tape is overwritten. Or am I missing something? Thanks, Per olof