Back up scripts

Hi Everyone,

I would like to write a Back-up script for huge files and 3 day old file. I think i need to use Tar command for it. But I am not sure how this can be done. Can someone please assist me on this.

tar is a good start... but you should have a look at the "find" command which will help you to find the files you want to backup. also a zip or bzip might be usefull to reduce your filesystem usage...

Hi Duke,

Thanks for your quick response. I will try it.

Cheers,
gehlnar

if you started with your script and you have problems, just drop a note and we might be able to help you...

good luck,
DN2

samples:
find /somedir -name "*.xtn" | xargs tar cvf archive.tar
or
find /somedir -size +200000 | xargs tar cvf archive.tar