Git Product home page Git Product logo

backup-manager's Introduction

Backup-Manager

Build Status

Backup-Manager is a free open source script to sync a folder with Google Drive. It works by searching all non uploaded files and subfolders of a folder and uploading it to the cloud.

Features

  • Compression [OK]
  • Upload [OK]
  • Download [Future]

Installation

Step 1: Install Dependencies

Run this command:

$ pip install -r requirements.txt

Step 2: Enable Google Drive API

enable

Warning: This filename must be 'credentials_drive.json' not 'credentials.json' (as default)

Step 3: Login to your Google Drive Account:

Run this command:

$ python src/login.py

Step 4: Copy all files in /src to a definitive folder:

That's the folder we'll call when executing the program. For example: C:\Program Files\Backup Manager

Step 5: Generate a Batch File:

Run this command (for Windows):

$ python build_batch.py -windows
Save the generated 'check.bat' file for later.

First Run

Step 1: Copy the 'check.bat' file to the folder you wanna sync:

Run1

Step 2: Get the ID of your Google Drive Folder:

Run2

Step 3: Run 'check.bat' the insert your ID from Step 2:

Run3

If you have non uploaded files, you'll see this:

miss

And you can upload missing itens by choosing between the options:

upload

If all the files are uploaded, you'll see this message:

ok

backup-manager's People

Contributors

erickoliveirat avatar

Watchers

may be smart avatar

backup-manager's Issues

To do

  • Script to build the 'cloud_info.json' file
  • Zip a folder
  • Send a zip file to Google Drive
  • Check if files were uploaded
  • Ask upload of not found files
  • Download files from Google Drive
  • Update json file with added folders
  • Write readme
  • Make it run globally

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.