bkp.sh
#!/bin/bash
DOW=$(date +"%A")
tar -cvzf /backup/$DOW/filename.tgz -X files.lst /www/htdocs
files.lst
/www/audio
/www/video
bkp.sh
#!/bin/bash
DOW=$(date +"%A")
tar -cvzf /backup/$DOW/filename.tgz -X files.lst /www/htdocs
files.lst
/www/audio
/www/video