Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hardware/backup2mega
- Owner: hardware
- License: mit
- Created: 2014-05-15T17:53:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-15T18:53:48.000Z (over 10 years ago)
- Last Synced: 2024-10-29T07:23:36.564Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 141 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```