Skip to content

Automated backup script using Python. Compresses folders into timestamped ZIPs.

Notifications You must be signed in to change notification settings

Gilbertsanchz/Python-backup-script-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—‚๏ธ Python Backup Automation Script

This lab demonstrates how to create a Python script that automates the backup of files or directories. It compresses selected folders into a .zip archive and stores it in a designated backup directory.


โœ… What This Lab Covers

  • File/directory selection
  • Creating time-stamped backup files
  • Zipping files using shutil and os
  • Logging basic backup activity

๐Ÿš€ How to Run

  1. Place the folders/files you want to back up inside the to_backup/ folder
  2. Run the script:
python3 scripts/backup_script.py

## ๐Ÿ“ธ Screenshots

### 1๏ธโƒฃ Backup Console Output  
Shows successful backup message from script.

![Backup Console Output](screenshots/01_backup_console_output.png)

---

### 2๏ธโƒฃ Backup Folder Created  
Displays the ZIP file in the backups folder.

![Backup Folder Created](screenshots/02_backup_folder_created.png)

About

Automated backup script using Python. Compresses folders into timestamped ZIPs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages