Dump contents of directory to samba share
Posted on 2004-11-24
I want to take the contents of various config (/etc) directories and regularly zip them up and copy to a remote samba location.
I'm looking for suggestions as to the most effective/efficient/eloquent script to acheive this.
It would also be neat if this script can issue an email alert to some remote address if there is any problem.
Assume that I am a ahell script novice but intermediate shell user.
Will award points to suggestions that help he write it myself, or double these points for writing it for me ;-)
Thanks in advance!