Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Help With Incremental Backup


    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

    tar -cvjf backup/site.tar.bz2 /home/virtual/ > /dev/null 2>&1
    mysqldump -u site -ppass site > backup/site.sql

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    What are you using to do the backup - rsync? or something else?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts