-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup/Restore commands #145
Comments
Just discovered bsync, witch may be a nice and easy solution... |
Dropbox would be nice. |
Will there be some form of GUI or plugin for this on the server or will it all be command line driven? Love the idea of integrating crashplan. What about one-click restore? I know, I'm asking a lot. :-) |
@Transforme crashplan has its own UI. For duplicity based options, we will provide some abstract commands for now. |
What a coincidence - Amazon S3 reduced backup prices today - http://aws.typepad.com/aws/2014/03/aws-price-reduction-42-ec2-s3-rds-elasticache-and-elastic-mapreduce.html CrashPlan has downside of using Java and eating a lot of CPU. Duplicity + S3 is a very good combo but was costly affair because of S3 cost. |
+1 for duplicity with s3! we managed to get this working ourselves on a vps making use of duply. |
Has anyone explored the implications of using Git for backups rather than traditional file copying methods? Each site could have a bare repo adjacent to it which could have some basic hooks and scripts to control it. This would provide full transparency into changes between backups and allow for super-cool, easy, restoration. Not to mention it uses more Git... which is always a win :) |
Now I'm using duplicity to backing up my EE server and its a great tool. sudo apt-get install python-boto python-gobject-2 python-pycryptopp librsync-dev python-deb python-paramiko #Create back up profile #generate new gpg key pairs #Edit and configure conf file TARGET='s3://s3-ap-southeast-1.amazonaws.com/' base directory to backupSOURCE='/var/www/qrokes.com/htdocs/wp-content' sudo duply backup crontab -e #restore backups |
I used to backup the server with the headless dropbox linux client, but the web interface once you hit a large number of objects is useless. DB job: Webroot job: Live job: I would love to add another job, that would effectively capture all the server setup/configuration. I haven't started to write that bash script yet, but if there was a method to recreate the ee install on a new box in a disaster recovery setting, that would be awesome. I'd love to include all the ee, nginx, php, etc... .conf and configs in a manner which could be restored through ee to bring back the site/server. All that being said, the free copy.com account is 15gb and is enough for most smaller, less frequently updated needy clients to store a month of revision off site. My data intensive clients have the 1TB business account and it's bursting at the seams. We play with adjusting frequency for the full webroot when combined assets are over 5gb, and rely more on the rsync frequency to capture changes between those gaps. Also as a precaution, the local rsync'ed copy.com folder is setup to not delete files pulled from the webroot, as a just in case measure. I'd be super interested in hearing how others are accomplishing their disaster recovery tasks in an ee environment. |
@rahul286 Thanks, David |
+1 A function like ee site backup would be so awesome, simple and compatible with cronjobs :D |
Only simple if you've already defined your backup On Sunday, May 17, 2015, Dennis Bitsch notifications@github.com wrote:
|
@rahul286 Thanks, David |
@rahul286 Thanks, David |
You can buy a small vps for backup. I use Duplicity to backup everyday. |
ddelaey - on Amazon AWS it's called snapshot. There should be other free On Thursday, December 3, 2015, ddelaey notifications@github.com wrote:
|
In my opinion, a backup function would be great. |
The question becomes: "backup what and to where?" If it's a simple backup On Friday, December 4, 2015, Cristian O. Balan notifications@github.com
|
I think there needs to be some form of backup functionality integrated if EE is going to work in production environments. Not being able to backup the entire server somewhere is kind of scary. Most vps providers have some way of doing this. Digital Ocean offers weekly backups for a fee as an example but redundancies are important do some other method whether baked in or officially supported would make a lot of sense. I agree though that EE settings at a minimum would be very helpful. |
While they are at it, why not add a migrate function? Why not add support for Postgre? Why not add support for NodeJS? There has to be a point where all these new feature request goes beyond the scope of EE's intended purpose. |
@w33zy - my point exactly. A demarcation line has to be drawn with EE's On Saturday, December 5, 2015, w33zy notifications@github.com wrote:
|
@Swingline0 did you see this? https://github.com/bup/bup |
Moved to https://github.com/EasyEngine/easyengine/issues/1045
backup/restore commands (using duplicity)
Also.. crashplan (optional)
From @MiteshShah in issue #102
1. Backup
ee site backup
If backup path is not specified use default backup path
Backup Structure
/path/to/backup/location/sitename/YYYY-MM-DD-HH-MM-SS.tar.gz
Backup Includes
2. Restore
ee site restore
If no path is specified latest will be used.
Also ask if we should proceed with backup or without backup.
We will ask user to confirm if destination nginx-conf/webroot/database/logs-files already exist.
--force
- do not ask during restoreThe text was updated successfully, but these errors were encountered: