Skip to main content

a command line utility to perform workspace backup

Project description

Introduction

The intention of this project is that setting up workspaces is a difficult task when someone has to change / format present system. Running all the commands again, cloning all the projects again, backing up your documents it is a nightmare.

This is a simple application for easy backup and restoration of project workspaces. There is not much you can do with the app right now but yet it is powerful enough to achieve some of the most trivial actions. The structure of a sample workspace I prefer can be found in the structure directory. The current cloud where the backup goes is AWS. Hope to see collaborators to add more sources - Gdrive, Azure etc.

Setup and Installation

  • Clone the repository
  • Install packages from requirements.txt

You are good to go.

Configuration

A template configuration is available in config_template.json. You need to configure the repository urls that you want to keep a track of. The project is configured to have any folder-names for eg. ml-apps, web-apps etc. Since each of these kinds of application can be subdivided under client and internal. Again all of this is still configurable.

Once your configuration file is created you have to keep it under the folder - configs You can keep a backup of these config files and reuse it when you want to restore this to a different system.

Environment Variables

The application expects only 3 environment variables.

  • BUCKET_NAME
  • AWS_KEY
  • AWS_SECRET

Usage

  • Entrypoint of the project is run.py
  • The application provides 3 options:
    • setup: downloads a specific project details as specified in the config file
    • sync: creates a backup of data as specified in the config file
    • add: creates a copy of the project by name as specified in config in the target_path again as specified in the config
  • Running a command is easy python run.py <argument> <argument-value>

Contribution

This is a personal open project and still might need a lot of work to solve all the cases. The current project serves my purpose. Feel free to raise PRs and add more features as per your choice.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wbck-1.0.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wbck-1.0.2-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file wbck-1.0.2.tar.gz.

File metadata

  • Download URL: wbck-1.0.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for wbck-1.0.2.tar.gz
Algorithm Hash digest
SHA256 592a195f1bde2e65021996253314cccd813bcc378026ad2c345efeafc92e86cf
MD5 feaf9a958e6945bc192d9b3369489409
BLAKE2b-256 1e569029faed4a8e2881afe5aa9db88e5597540411d96c19c7df16715562eb47

See more details on using hashes here.

File details

Details for the file wbck-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: wbck-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for wbck-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 83b2e15751c6507c7f3046ff52114d4679dcc755ec301bf8e7384cda9230a738
MD5 b77bc1a2c594a90094c04a0131eeff38
BLAKE2b-256 6ab42ca5077538a1fc4c97a2712109f057b6e2fe9cf49c6dcd31fe5f54632973

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page