#!/bin/bashcd /backuppath/NOW=$(date +”%m-%d-%Y”)tar -cjf backupsite_$NOW.bz2 /pathtoscriptfoldertar -cjf backupcms_$NOW.bz2 /opt/www/cmstar -cjf mysqlbackup_$NOW.bz2 /opt/lib/mysql
No comments:
Post a Comment