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_NAMEAWS_KEYAWS_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
nameas specified in config in thetarget_pathagain 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wbck-2.0.0.tar.gz.
File metadata
- Download URL: wbck-2.0.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1e4d22c41caea77bae6c2d98f8c11c3aeefbb13076178d7f48ab888ca8c4c55
|
|
| MD5 |
809ed8d684537825eaddf5c349cff06e
|
|
| BLAKE2b-256 |
9c96a2d19c3f525adaa8969ea787877e3e8cd37126fc14f513a7ce78f44d5046
|
File details
Details for the file wbck-2.0.0-py3-none-any.whl.
File metadata
- Download URL: wbck-2.0.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c5d53ebec33cff74d0ba44c0332d449cdaf1498c37f7fab50022f5630630af4
|
|
| MD5 |
fb4c0f13efbb918a5145f707e67d26f5
|
|
| BLAKE2b-256 |
83d87e20b47f38dafc88aa9508fab7b97f0c59b1099901e0745df493f20782a5
|