backup_date=»$(date +%d.%m.%Y)»
backup_filename=»$(date +%d.%m.%Y)_backup_filename»
cd /patch/to/dir/
tar -czvf — —exclude=www/photo —exclude=www/uploads —exclude=’*.zip’ —exclude=’*.jpg’ ./www/ | split -b 1999m — ./$backup_filename.tar.gz
backup_date=»$(date +%d.%m.%Y)»
backup_filename=»$(date +%d.%m.%Y)_backup_filename»
cd /patch/to/dir/
tar -czvf — —exclude=www/photo —exclude=www/uploads —exclude=’*.zip’ —exclude=’*.jpg’ ./www/ | split -b 1999m — ./$backup_filename.tar.gz