This is a basic script that can be set to run automatically every day, every week or every hour if you like and backup key files and directories.

Applicable to Centos Versions:

  • Centos 5.x


Explanation of requirements.

  1. Root or sudo with the appropriate privileges.

Doing the Work

Basic description of what will be done and what is expected.

  1. Explanation and download link for the script:
  2. Automating the script to run once daily:
  3. Running the script:


How to test

Explanation troubleshooting basics and expectations.

  1. Make sure you’ve properly chmoded the script:

Common problems and fixes

Describe common problems here, include links to known common problems if on another site

More Information

Any additional information or notes.


We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #centos on

Added Reading

Last Modified: 3 Feb, 2012 at 00:48:18