Skip to content

About

My own backup script wrapped around the cloud drive https://mega.nz

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

87 Commits

Folders and files

Repository files navigation

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"

About

My own backup script wrapped around the cloud drive https://mega.nz

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages