Skip to content

How to restore from a backup #112

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

Closed
KHucks opened this issue Apr 12, 2016 · 3 comments
Closed

How to restore from a backup #112

KHucks opened this issue Apr 12, 2016 · 3 comments

Comments

@KHucks
Copy link

KHucks commented Apr 12, 2016

As I learned from #23 there is no artisan command to restore from a backup - ok I understand that.

But what is the way to actually do a restore from a backup? Making regular backups without a way to acutally use them in the emergency case seems a little 'interesting'.

What am I missing here? I could not find anything about it in the docs.

Fiddle around with it manually on something that is very likely the production environment?

Any hint is greatly appreciated as the package does make a very good impression!

@freekmurze
Copy link
Member

The package does not have restore capabilities because virtually everybody does it a little differently and there are a lot of different ways to restore things. It all depends on what type of project and what went wrong.

On my projects, mostly I'll do manual restores. If you want to automate restores, you should write your own scripts to do so.

@vesper8
Copy link

vesper8 commented Apr 27, 2016

I understand why you don't want to add a full restore functionality. However I think it would be useful if you added a few more artisan commands that would list the latest backups with their size and date. And would allow you to "pull" a backup back. I store my backups on S3 and if I wanted to do a restore I would do it fully from the server because pulling to my local machine and then uploading that's a nightmare because of file size and slow internet.

So right now I would of course write a script to pull the file manually via s3 or even do it on the command line somehow. But it would be useful if you at least provided that as part of your application. Just pulling it back and dump it in a folder, maybe even include extractions. And let us do the rest from there. Thoughts?

@freekmurze
Copy link
Member

I'd accept a PR that displays a list of the latest backups on a specific disk.

@freekmurze freekmurze mentioned this issue Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants