Posted on 2006-11-21
I would like to create a very simple script to backup my websites!!
this is what I normally do each line by hand
tar czf domain1.tar.gz html
tar czf domain1_cgi-bin.tar.gz cgi-bin
tar czf domain2.tar.gz html
tar czf domain2_cgi-bin.tar.gz cgi-bin
tar czf domain3.tar.gz html
tar czf domain3_cgi-bin.tar.gz cgi-bin
is there a way to automate that process?
if so I want to run each line after the other,
not all at the same time, I want to keep the server load
very low so when the first backup finishes I want
to do domain2 and so on, when the process finishes
I would like to receive an email sent by sendmail!
can someone please help me?