Skip to content

A simple Linux shell script that automates file backups, compresses them into .tar.gz archives, organizes them by date, and logs each backup action. Ideal for learning Linux scripting, cron jobs, and basic DevOps practices.

Notifications You must be signed in to change notification settings

s10djan/automated-backup-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—‚οΈ Automated Backup Project

This is a simple but powerful Linux shell script designed to automate file and directory backups. It's perfect for learning Linux scripting, cron jobs, and basic DevOps practices like logging and archiving.


πŸ“Œ Features

  • Automatically compresses target folders into .tar.gz archives
  • Organizes backups by date and time
  • Stores backups in a separate backups/ directory
  • Logs each backup action with timestamps
  • Prevents duplicate backups by using unique filenames
  • Easy to schedule with cron

πŸ› οΈ Tech Stack

  • Bash (Linux Shell)
  • Cron (for scheduling)
  • Git & GitHub (for version control)

πŸš€ How to Use

  1. Clone the repo:
git clone git@github.com:s10djan/automated-backup-project.git
cd automated-backup-project
0 2 * * * /bin/bash /home/kfdjan30/automated-backup-project/backup.sh >> /home/kfdjan30/automated-backup-project/backup.log 2>&1
# New Edit to README.md

About

A simple Linux shell script that automates file backups, compresses them into .tar.gz archives, organizes them by date, and logs each backup action. Ideal for learning Linux scripting, cron jobs, and basic DevOps practices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages