Tuesday, February 10, 2009

Backup scripts for linux

backup scripts for linux
 

Backup.sh

#!/bin/bash

rsync -rv /var/www/html /mnt/jupiterbackup/www   > backup.log

rsync -rv /var/lib/mysql /mnt/jupiterbackup/sql   > backup.log

 

0 comments:

Post a Comment