Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hardware/backup2mega

Backup, secure and send your system files to the cloud using Megatools and GnuPG
https://github.com/hardware/backup2mega

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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
```