Results 1 to 6 of 6

Thread: Using old virtual tapes on new amanda configuration

Hybrid View

  1. #1
    Join Date
    Jan 2016
    Posts
    4

    Question Using old virtual tapes on new amanda configuration

    Hi everyone,

    We are using amanda backup community for some years but unfortunately we loose our amanda backup machine as well as some important information. So, I configured another virtual machine with amanda backup installed and I already mounted my old virtual tapes path via NFS. The problem is, how can I use my old tapes (to recover loss data) with my new configuration? If I understood, if I label them, this process will erase my tapes. So, how can I fill the tapelist file without loosing my old data?

    When I tried to run an amcheck to my new configuration I get the message
    slot 1: volume '*-VT1' is not in the tapelist
    slot 2: volume '*-VT2' is not in the tapelist
    slot 3: volume '*-VT3' is not in the tapelist
    slot 4: volume '*-VT4' is not in the tapelist

    All I want is to recover my old files (amandaconf included) :/

    Thanks in advance.

  2. #2
    Join Date
    Jan 2016
    Posts
    4

    Default

    No one?

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

    Default

    using a '*' in the label is strange!

    Just add the label in the tapelist file with a date of 0.

    0 *-VT1 reuse
    0 *-VT2 reuse
    0 *-VT3 reuse
    0 *-VT4 reuse

    It will not allow amanda to recover from theses vt, you must do it manually.
    Amanda will randomly reuse any of theses vt unless you tag them as no-reuse.

    BTW. You should backup the /etc/amanda directory, the log files and the index files. They should copied to another machine every day.

  4. #4
    Join Date
    Jan 2016
    Posts
    4

    Default

    Quote Originally Posted by martineau View Post
    using a '*' in the label is strange!

    Just add the label in the tapelist file with a date of 0.

    0 *-VT1 reuse
    0 *-VT2 reuse
    0 *-VT3 reuse
    0 *-VT4 reuse

    It will not allow amanda to recover from theses vt, you must do it manually.
    Amanda will randomly reuse any of theses vt unless you tag them as no-reuse.

    BTW. You should backup the /etc/amanda directory, the log files and the index files. They should copied to another machine every day.
    Hi martineau,

    The * was just a shortcut, I'm not using the * in my tape names.

    After manually add my tapes like this to tapelist files I will be able to do an amrecover of my files? Thank you for the info and yes I'll backup the amandaconf files to another machine as soon as I get this working again.

    Thanks again.

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

    Default

    Quote Originally Posted by naz View Post

    After manually add my tapes like this to tapelist files I will be able to do an amrecover of my files?
    NO.

    You need
    - the exact timestamp in the tapelist file
    - the log.<timestamp>.0 files
    - the index files

    You can't restore with amanda without theses files.

    You must use unix command t restore:
    cd/ls/dd/tar

  6. #6
    Join Date
    Jan 2016
    Posts
    4

    Default

    Quote Originally Posted by martineau View Post
    NO.

    You need
    - the exact timestamp in the tapelist file
    - the log.<timestamp>.0 files
    - the index files

    You can't restore with amanda without theses files.

    You must use unix command t restore:
    cd/ls/dd/tar
    Many Thanks martineau! You made my day! amanda configuration files restored

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
  •