writing backup script
i am working on some source code and i want to have backups of my source directory each time i shutdown linux machine. But i want that backups stored in incremental manner? ex. On Day 1 if i shutdown machine 3 times the backup files should be created as mybackup1.tar.gz mybackup2.tar.gz mybackup3.tar.gz.
On day 2 it proceeds as mybackup4.tar.gz....
how can i write this script?
|