Tag: backup

  • Ubuntu: How to add or append a file to an existing tape backup

    Ubuntu: How to add or append a file to an existing tape backup

      Sometimes you may with to add files to an existing backup; if you issue a command like:   tar -cvf /dev/st0 backupfiles   …and the tape is not already set to the end of the previous archive you will over-write any data from the position on the tape. Use the “eom” command to move…

  • Ubuntu: Using compression on your tape backups

    Ubuntu: Using compression on your tape backups

      If you have compressible data you may save space on you tapes by using compression; this comes at a cost of CPU cycles to do the compressing, which can often be a worthwhile tradeoff for a long-term backup. To do this is quite simple – add in the -z switch to your tar command.…

  • Ubuntu: How to write files to a tape

    Ubuntu: How to write files to a tape

      To put files onto a tape, run the following:   tar -cvf /dev/[path to tape] [file or directory] [file or directory] [file or directory]   An example would be:   tar -cvf /dev/st0 /home/bob   This will back up the user bob’s home directory to the tape, here located at /dev/st0 (a typical location…