![]() |
Backup strategy
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/bashWhat 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 |
append
i would suggest appending something to each backup and cycle through every month or something.
for example, rsync -e ssh -alpogtvz /home/christophe/Documents 111.111.00.00:/home/christophe/Backup-Laptop-root.`date`/ > /home/christophe/Administration/Backups/protokoll-laptop-root |
Quote:
There's nothing wrong with syncing a server with a mirror. It's just a good idea to include an archive backup, in case the problem on the server gets replicated to your mirror before its caught. So in your script that runs rsync, include something like this: Code:
setDate=$(date +"%m%d%Y-%k%M%S") |
| All times are GMT -5. The time now is 12:34 PM. |