For work this tools, you need configured megatools
pip install BackupMega
or for install in user environment pip install --user BackupMega
After configured megatool, can use:
Before start backup you need create file backup-mega.txt in user foled (/home/$USER) and transfer absolute path foleds\files for backup across Enter
/home/user/documents
/home/user/.bash_aliases
And run command in terminal: backup