Results 1 to 7 of 7

Thread: Tape duplication (one tape drive)

  1. #1
    Join Date
    Feb 2015
    Posts
    3

    Default Tape duplication (one tape drive)

    Hi,

    I have an AMANDA setup (3.3.1, Debian 7) running in holding disk-to-tape-changer style and need to duplicate already flushed tapes.
    The tapes shall be used for disaster recovery so they should behave as the original tape.

    Is there a mechanism inside AMANDA for this or do I have to read the complete tape via dd to disk and use amlabel to force
    the same label as the original tape to the copy?

    Thanks in advance for an answer.

    Kind regards,
    Martin

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

    Default

    man amvault

  3. #3
    Join Date
    Feb 2015
    Posts
    3

    Default

    I'm sorry, I don't have a second changer. I have one changer that is holding my source tape and I have an adequate amount of disk space.

    My question is about how to read the tape, dump it to disk, and dump the files to the tape again. An ideal case would be if there were no configuration changes necessary (it's not running at home...).

    Or will the result with a dd-loop be so broken that I have to define a virtual changer for an useable copy (amvault calls for this)?

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

    Default

    - create a vtape
    - vault to the vtape
    - vault the vtape to a new tape
    - amrmtape the vtape

    The problem with using dd is that amanda will not know about that copy and will not be able to restore from it, it will require manual recovery.

  5. #5
    Join Date
    Feb 2015
    Posts
    3

    Default

    OK, thank you. Please don't misunderstand, I'm sure you know your system better as me.

    But what I don't understand where the difference from the AMANDA perspective is when the new tape

    - has the same size (=tape length)
    - contains the same files
    - received the same label by amlabel -f

    How is AMANDA able to know that it's not the same tape?

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

    Default

    It don't know, and amanda can recover from both tapes as long as you keep both tapes.

    The problem is when you reuse (or amrmtape) the first tape, amanda will remove it from its database.

  7. #7
    Join Date
    Mar 2015
    Posts
    1

    Default

    My question is about how to read the tape, dump it to disk, and dump the files to the tape again. An ideal case would be if there were no configuration changes necessary (it's not running at home...).

    __________________________________________________ _________________________________________________
    asad

Posting Permissions

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