You may be interested in having a look at LBackup <http://www.lbackup.org>, an open source (released under the GNU GPL) backup system.
Essentially, LBackup is a wrapper for rsync. If you are working on your own script. Feel free to look at how LBackup works (primely written in bash at present) and use the features, ideas or even code snippets within your project in order to make your project even better than LBackup. All the best with your project. Looking forward to seeing what you come up with. -------------------------------------------------------------------- This email is protected by LBackup, an open source backup solution http://www.lbackup.org -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html