Results 1 to 10 of 10

Thread: Amanda deleting index files

  1. #1
    Join Date
    Nov 2008
    Location
    Brazil
    Posts
    11

    Default Amanda deleting index files

    Guys,

    I've configured a backup set with the dumpcycle of 5 weeks but the Amanda is deleting index files older than 4 days. Is this a expected behavior?
    I'm trying to restore the backups using amandarecover.
    My system is a Debian GNU/Linux 4.0 running Amanda 3.3.0

    Thanks'

  2. #2
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    amanda remove index only when the backup is not longer available.

    Are you sure your backup are still available?

    Run 'amadmin CONF find' to list all available backup.

  3. #3
    Join Date
    Nov 2008
    Location
    Brazil
    Posts
    11

    Default

    Hi,

    The 'amadmin CONF find' returned that only the last five backup are available.

    For all the other tapes the command returned the following
    Warning: no log files found for tape TapeName-XXX written YYYY-MM-DD HH:MM:SS

    I checked my log dir and I think that the files are been cleanup weekly. If the log file is deleted the amdump will delete the index file too?

    Thanks'

  4. #4
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    The log files are important.
    Without them, amanda don't know the backup exists, so it remove the index files.
    Amrecover and amfetchdump will not be able to retore them
    You can still use amrestore or mt/dd to restore them.

  5. #5
    Join Date
    Nov 2008
    Location
    Brazil
    Posts
    11

    Default

    Thank you,

    I checked and something is moving my logs to a subdirectory called oldlog.

    Regards

  6. #6
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    amanda move them to 'oldlog' when it think they are no longer needed.

    If you move them one directory up, do 'amadmin CONF find' list the dmup on those tapes?

  7. #7
    Join Date
    Nov 2008
    Location
    Brazil
    Posts
    11

    Default

    When i move them one directory up they show on 'amadmin CONF find'.

    My problem is that amananda is moving the log files to oldlog subdir every monday. Once it is done I lost my index files and if I want to recover an old file a can't do that with am recover. Is there a way to set amanda to not do that? My dump cycle is set to 35 days and I would like to be able to go back ate leas 30 days on my backups.

  8. #8
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    What are you running on Monday?

  9. #9
    Join Date
    Nov 2008
    Location
    Brazil
    Posts
    11

    Default

    Martineau,

    I do not think that I understood your question, but I will try to answer anyway.

    I do not run anything special on Monday. I have a backup set called Arquivos_Diario that has the following configurations:

    dumpcycle 7 weeks
    runspercycle 25
    tapecycle 30 tapes

    What I intend with this setup is running the backup set every week day (labor days -- mon to fri) and have a retention period of at least 30 days. In other words, if I start to run the backup set on july 1 I hope that at july 28 if I want to restore a file from the july 1 I can. At my case, as I told You earlier, AMANDA is moving the backup logs to oldlogs folder. I thought that it was occurring every Monday but today that occurred again.

    I just realized something that could be the reason. On these backup server there are three different backup sets Amanda_Diario, as I told before, DB_Diariol, and Prosoft_Diario. On the configuration files I have setup the same logdir for the there backup sets. I think that when one backup set thinks that is time to move the log files to the oldlog dir it moves the log files of all backup sets too. I have just change the setups for different log dir for each backup set and I will see if the problema stops.

    Thanks'

  10. #10
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    It's the problem. do not set the same logdir.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •