≡ Menu

Linux Shell Script To Backup To Tape Drive

{ 8 comments… add one }
  • Antti M. January 14, 2011, 8:33 pm

    You should not use gzip in backups single bit error and the entire stream is losts. Bzip2 is different and using pbzip2 -1 -c you can get quite speedy.

  • regan February 8, 2010, 2:35 am

    btw, is this also applicable to solaris 10?thanks

  • regan February 8, 2010, 2:33 am

    hi how can i view the logs using your script here? thanks

  • tdmurthy January 6, 2010, 3:16 pm

    How to take incremental & differential backup in linux with crontab?

  • chika.tambun December 12, 2009, 8:14 pm

    how to backup automatically after the file created 6 month ago, without crontab?!

  • Ghyoom.com November 17, 2009, 3:25 am

    Nice, Thank You

  • mathguy September 18, 2009, 6:38 am

    What is the easiest possible solution to transfer 1TB of audio content from one datacenter to the other. The date cant be transferred physically, It can only be transferred through connection.

    • somed000d November 3, 2009, 12:12 pm

      You probably have this done by now, but…
      It depends on the platform that you are on. But if you don’t have a physical way to transfer the data then I hope you have a fat backbone.

      I find that the easiest way is to use either scp, or rsync on any Linux or Unix OS. Both of these the SSH protocol to encrypt the data as it’s being transferred. I prefer rsync over scp just because it’s made for syncing up directories and the like, while scp is more like FTP, but through SSH.

      Here’s how I would normally run rsync to sync two directories and make them exactly the same:

      rsync -rlt –progress –update –delete /path/to/local/directory/ user@host:/path/to/remote/directory/ (the trailing slashes do make a difference).

      Anyway, that’s just an opinion from a nobody.

Security: Are you a robot or human?

Leave a Comment