Your content management system (CMS), and more importantly it's associated database tables, are subject to damage and attack. While most hosting providers provide daily backups, there are other tasks that necessitate tasks similar to backing up a CMS site.
The following set of scripts were adapted from scripts generated by Bristolguy on Drupal.org. Feel free to use or modify the following as required. They are released under the GNU-GPL Ver. 3, following the original license.
Throughout these pages we will refer to a folder called testing.server. That is a folder in the document root of the testing server which is empty, is read only, and is created for just the purpose of flagging the server as being the testing server.