Comments (11)
Hello! No that's on the TODO. :)
All of the user data is in /home/user-data, so backing up just those files is sufficient. Though the system services (dovecot, postfix, etc.) should be stopped first to prevent getting things in the middle of an inconsistent state.
Happy to accept a pull request.
from mailinabox.
Thinking out loud. Would it make sense to include a weekly AWS glacier
image of the user-data folder as an option?
On Mar 18, 2014 9:03 AM, "Joshua Tauberer" [email protected] wrote:
Hello! No that's on the TODO. :)
All of the user data is in /home/user-data, so backing up just those files
is sufficient. Though the system services (dovecot, postfix, etc.) should
be stopped first to prevent getting things in the middle of an inconsistent
state.Happy to accept a pull request.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-37929539
.
from mailinabox.
Absolutely.
from mailinabox.
I might be able to hack that out as a pull request.
On Mar 18, 2014 9:07 AM, "Joshua Tauberer" [email protected] wrote:
Absolutely.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-37929950
.
from mailinabox.
Tarsnap would be cool as backup-service.
[1] https://www.tarsnap.com/
[2] http://www.bishnet.net/tim/tarsnap/run.sh
from mailinabox.
Fyi, the problem I'm trying to solve right now is how to make backups that are incremental & encrypted....
from mailinabox.
Update: A backup script is now running daily and is generating encrypted, incremental backup files. Now we just need to get the files copied to a backup location.
from mailinabox.
@JoshData Any update on this? I would love to have a backup solution that works out of the box.
Do you have anything that your looking forward to use? e.g. Tarsnap, S3, etc?
from mailinabox.
Then farthest I got was having a script get executed after the backup is done making files:
https://github.com/mail-in-a-box/mailinabox/blob/master/management/backup.py#L200
In /home/user-data/backup/after-backup
I have:
#!/bin/bash
rsync -e "sshpass -p my_password ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" -avz $STORAGE_ROOT/backup/encrypted/ my_usernam@my_backup_host:
from mailinabox.
Closing in favor of #262.
from mailinabox.
I know you've closed this in favor of #262 but I thought I'd add a comment with what I tried to sync the encrypted backups with S3 using the AWS CLI tools (see: http://aws.amazon.com/cli/)
First I installed PIP:
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
Then install the AWS tools:
pip install awscli
Now we can test by doing either aws help
or aws configure
When doing aws configure I found it worked better to leave the default region and output format prompts to none.
Now I can just do:
aws s3 sync /home/user-data/backup/encrypted s3://my-mail-backup-bucket/nightly
Hope that helps someone.
from mailinabox.
Related Issues (20)
- Feature Request: Add GUI for Duplicity WebDAV Backend HOT 1
- Custom DKIM selector HOT 7
- SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) + SCRAM-SHA3-512(-PLUS) supports HOT 4
- Mailinabox discourse is down? HOT 1
- Weird output (from Roundcube?) during install HOT 2
- Update to SpamAssassin 4 HOT 2
- hostname example.host.tld does not resolve to address xxx.xxx.xxx.xxx HOT 4
- Fail2ban - miab-munin.conf filter not cathing HTTP/2.0
- Add an edit button on DNS entries
- LetsEncrypt certificate renewal fails
- Systemd service not working
- how make a file copy of incoming email?
- Backup Error happening with mailinabox command I think HOT 1
- Break System Status Checks up into smaller checks HOT 2
- Root Domain configs in nginx
- owncloud-unlockadmin.sh has incorrect path for mail.py HOT 4
- Backup: File size can't be validated, because of missing capabilities of the backend HOT 4
- freebsd support HOT 2
- active-sync is with imap, or with mapi
- Multiple Domain why change NS ?? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailinabox.