Help With Incremental Backup
Hello,
Need a little help with a .bash file script. Current script below works fine when initiated and creates the backup files of site and database. Where I need help, is that each time I initiate a backup, I would like to have each saving incremented by date and time. This way if I have to go back to a specific time it is available.
Thanks JR
#!/bin/bash
tar -cvjf backup/site.tar.bz2 /home/virtual/site.com/var/www/html/ > /dev/null 2>&1
mysqldump -u site -ppass site > backup/site.sql
|