Tape backup script (unix server)

They have: 21 posts

Joined: Sep 1999

Hi, I was just wondering if you could point me to some good tape backup scripts for a unix (linux) server? Thanks!

They have: 5,633 posts

Joined: Jan 1970

Is it your own machine or do you just want to backup your user-directory? In the last case, a simple two-line script like I use for TWF would do just fine:

mv backup1.tar.gz backup2.tar.gz
tar -czvf backup1.tar.gz /home/userdir

The first line is the most important, DO NEVER FORGET IT!!! Using it, you'll always have two backups and if you can't check the site for more than 24 hours, it will still keep the old backup. If you forget that line, you'll have a backup of the broken web-site...

cheers

They have: 21 posts

Joined: Sep 1999

Yes actually it is my own dedicated server (colocation). I am looking for a good script that can backup some selected (important) directories (/etc /var /usr /home ...). What is your suggestion for this server backup (not just a /home/person directory). Thanks.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.