Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backup2Mega

Backup, secure and send your system files using Megatools and GnuPG.

Requirements

  • Linux
  • Rsync
  • Megatools and a Mega account
  • GnuPG ( create your gpg keypair before )

Installation

Install megatools :

yaourt -S megatools

Configuration

Create a new configuration file (.megarc) with your Mega credentials :

[Login]
Username = ...
Password = ...

Create a ".gpg-passwd" file and put in your secret key passphrase :

echo "PASSPHRASE" > .gpg-passwd

And set permissions for both files :

chmod 600 .megarc .gpg-passwd

Add this two lines to your gpg configuration file (~/.gnupg/gpg.conf) :

default-key YOUR_GPG_KEY_ID
default-recipient YOUR_GPG_KEY_EMAIL_ADDRESS

Instructions

Create a new scheduled task by adding a new entry to your crontab file ( crontab -e ) :

0 06 * * * /path/to/backup.sh

About

Backup, secure and send your system files to the cloud using Megatools and GnuPG

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages