Hi!
I decided a few days ago to make regular Backups from my server. I wrote a small script that uses rsync and through crontab I make an incremental Backup every 10 minutes.
My script looks like this:
Code:
#!/bin/bash
# no --delete-after
rsync -e ssh -alpogtvz /home/christophe/Documents 111.111.00.00:/home/christophe/Backup-Laptop-root/ > /home/christophe/Administration/Backups/protokoll-laptop-root
Every thing works just fine. But I realized that in case my computer gets some virus that destroys or changes some files then my backup will save the corrupted files!
What is a good Backup-Strategy? The server is 180 GB big and I wanted to make regular backups and also have a second server as miror server. But how can I have regular Backups and at the same time avoiding to have my backups corrupted through some corrupted files?
Can any administrator tell me what is his/her Backup-strategy?
Thanks.
XpucTo