Tag: backup

Shell Script for Backing Up All Ownership and Permissions

Purpose There will come a day where someone will accidentally run an chmod or chown on / or some other directory and change all ownership and/or permissions on all files under that directory. Having this script run periodically will save you ass. Notes The script already excludes the basic filesystems you wouldn’t want to scan…


Tarsnap Backup Shell Script

This is a Tarsnap backup script that allows the user to fill in all include, exclude and backup options and the script will generate and run the tarsnap command. The script also generates a backup log which will be emailed to the specified recipients. Requirements Tarsnap account For email to function some type of MTA…


Install Tarsnap on RHEL/CentOS 6/7

Before following this tutorial make sure you have signed up for your Tarsnap account. Setup Tarsnap GPG Verification Step 1: Create your GPG configuration files by running gpg.

Output should resemble

At the point press Ctrl+C to exit. Step 2: Create directory /opt/build and change to that directory.

Step 3: Download…