Skip to content
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 everything #12

Open
sjelfull opened this issue Apr 18, 2017 · 2 comments
Open

Backup everything #12

sjelfull opened this issue Apr 18, 2017 · 2 comments

Comments

@sjelfull
Copy link
Contributor

You probably want to backup database, assets and files at the same time, so probably make sense to have a script that runs all of them, and optionally sync them to S3 at the same time?

That means you don't have to keep 4 cron jobs for every site.

@khalwat
Copy link
Contributor

khalwat commented May 12, 2017

Yeah, I left them as separate scripts to allow for flexibility, but you're right that in general, you will most often want to "backup all the things"

@terryupton
Copy link

@sjelfull I created a separate script called sync that contains these lines:

#!/bin/bash
bash pull_assets.sh
bash pull_db.sh

You can obviously add more commands if you want to backup/run other things.
But then I just cd into scripts and run bash sync and then it runs these together which is effectively running a single backup script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants