Skip to content

KevinOnFrontEnd/lto-tape-howto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

LTO Tape

This repository contains information that i found useful while setting up and creating LTO tapes.

Table of Contents

  1. Linux

    1. Writing Tapes
    2. Writing Encrypted Tapes
    3. Reading Tapes
    4. Reading Encrypted Tapes
    5. Wiping Tapes
    6. Troubleshooting
    7. Backup Shell Script
  2. Windows

    1. Troubleshooting

tar czvf /dev/st0 /home/database

  • c creates new tar archive.
  • z compresses archive
  • v verbose mode.
  • /dev/st0 is the tape device
  • /home/database is the directory that is being backed up to tape.

sudo tar cvf - Directory/ | gpg --symmetric --cipher-algo AES256 | sudo dd of=/dev/st0 bs=64k status=progress

See files that are stored on the tape.

tar tvf /dev/st0

Restoring to a directory.

tar tvf /dev/st0 -C /PATH/TO/RESTORE/BACKUP

See file files are stored on the tape.

sudo dd if=/dev/st0 bs=64k | gpg --decrypt | tar xvf -

mt -f /dev/st0 erase

dmesg | grep st

lspci

Iperius

xTalk Management Console