0

I am going to make a backupscript in Laravel 5.2 for an existing website. The url is going to be for example www.domain.com/makebackup/ (unique) and activate by a crontask.

How can i integrate this? I hope aomeone can give me advise!

3
  • You can use a package such as spatie/laravel-backup Commented Jul 19, 2016 at 8:58
  • @piscator i already have a backup script in Laravel, but i want to integrate this into an existing websapplication with a index.php, how can i do that? Commented Jul 19, 2016 at 9:23
  • Is an entire web application framework like Laravel not a bit overkill for a small task like this? Commented Jul 19, 2016 at 10:03

1 Answer 1

1

If you don't use any framework for the first project, you can make a separate dir inside and put laravel app in it. If you are using a framework, do the same, but use an .htaccess rewrite for the backup url.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.