Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.02 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.02 KB

MEGA backup


This package is wrapper of mega.py that uploads your data to your Mega account.


Installation


Install the dependencies from requirements.txt:

pip install -r requirements.txt

note. for better user experience use the virtual enviroments.


Add configuration file


Create CONF file with correct paths (according to the example):

{
    "documents": "/path/to/documents",
    "projects": "/path/to/projects",
    "nvim": "/path/to/.config/nvim"
}

Name this file like my_backup.json and place him into the folder mega_backup/data.


Usage


You can use a little help:

$ python mega_backup/cli.py -h
usage: cli.py [-h] [-add_conf 'config_file'] ...

Backup your data (after creating config file) to the Mega account (with your account email address):

python mega_backup/cli.py --backup "your_email"

Add single backup path to your config file:

python mega.py --add_path "~/.nvim"