Monday, April 8, 2013

Simple Backup Shell Script

Dears,

 I would like to share with you simple shell script that allows you to backup your files and tar.gz them.


#!/bin/bash

BACKUP_DIR=/home/oracle/file
tar -cvzf backup.tar.gz $BACKUP_DIR


No comments:

Post a Comment