Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 857 Bytes

backing-up-a-non-laravel-application.md

File metadata and controls

12 lines (8 loc) · 857 Bytes
title weight
Backing up a non-laravel application
2

This package is tailor-made for use inside Laravel applications. But with a little bit of good will you can use it to backup non-Laravel applications as well.

To do so install Laravel on the same server where your non-Laravel application runs. In the Laravel app you'll have to install this package using the installation instructions. In the app/config/backup.phpconfiguration file specify the paths of the non-laravel application you wish to backup in the backup.source.files.include key.

Do not forget to configure the database as well. In app/config/databases.php put the credentials of the database used by the non-Laravel application.

When running php artisan backup:run on the command line, the application will be backed up.