Backup Service to Google Drive☁️🔒

Overview

Creating a Backup service that periodically backup the contents of a folder to Google Drive using Docker and Kubernets. The service ensures that the files are securely backed up and managed without redundancy.

Features

  • 📦 Backup Service: Automates the backup of files and folders to Google Drive.
  • 🔄 Periodic Backups: Utilizes Kubernetes CronJobs to schedule regular backups.
  • 🗃️ Redundancy Elimination: Maintains a single copy of each file in Google Drive to avoid redundancy.
  • ✅ User Notifications: Provides appropriate messages if a file or folder already exists in Google Drive.

Tech Stack

Docker Kubernetes Google Drive API Python

  • Docker: For containerizing the backup application.
  • Kubernetes: For orchestrating and managing the backup service.
  • Google Drive API: For interacting with Google Drive.
  • Python Libraries: For scripting and API interactions.

Implementation

Week-1: Contains Dockerfile & backup script that performs google-drive-authentication and fetches top-10 most recently used files from Google Drive.

Week-2: Implemented Backup service using Kubernets Cronjob and PVC. A file/folder can be uploaded to drive, maintaining its single copy in drive, thus,eliminating redundancy. Appropriate message shown to user if file/folder aldready exists in drive.