Skip to content

AmirIqbal1/backup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Backup Script

A simple Bash script to automate the backup of your important files and directories. The script compresses specified files into a timestamped archive and stores them in a designated backup directory.

Features

  • Automates backups of specified files or directories.
  • Creates compressed .tar.gz archives with timestamps.
  • Customizable source and destination directories.

Requirements

  • Bash (pre-installed on most Linux systems).
  • tar utility (pre-installed on most Linux systems).

Usage

  1. Clone this repository:
    git clone https://github.com/yourusername/backup-script.git
    cd backup-script
    

Edit the script to set your desired source and backup directories:

Destination for backups

BACKUP_DIR="$HOME/backups"

Directory to back up

SOURCE_DIR="$HOME/Documents"

About

A simple Bash script to automate the backup of your important files and directories.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages