Skip to content

Simple Bash script for incremental tar backup automation

License

Notifications You must be signed in to change notification settings

ivarout/tar_backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

tar_backup

A simple Bash script for incremental tar backup automation on Linux.

Usage

./tar_backup.sh [-r] [-f <incremental backup file>] <target directory>

Create an (incremental) backup of the specified directory using:

./tar_backup.sh <target directory>

The created backup files are stored in the current directory under the name <target directory>.<yy_mm_dd_H_M_S>.tar.gz

Recover data from created backup using:

./tar_backup.sh -r <target directory>

Or only recover up to a specified incremental backup using:

./tar_backup.sh -r -f <incremental backup>.tar.gz <target directory>

About

Simple Bash script for incremental tar backup automation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages