Backing up your Laravel app

Backing up your Laravel app


Freek Van der Herten

January 30, 2016


  1. 1.
  2. 3.

    About me Freek Van der Herten Partner & developer at

    Spatie @freekmurze
  3. 4.

    About Spatie SINCE 2003 Websites, applications en webshops TEAM 4

    developers, 1 manager 
 SPECIALIZATION Laravel development
  4. 5.

    Small sites Shared hosting Backups by hosting provider Did not

    do anything regarding backups ourselves Hosting & backups Up until a few year ago
  5. 6.

    Bigger applications Easy server management through resources like, Forge

    Digital Ocean DO Backup service Hosting & backups How we are currently doing it
  6. 7.

    Relying on DO backups is not enough! Only weekly snapshots

    Potentially a lot of data could get lost All the backups in the same datacenter If Digital Ocean is down backups can’t be accessed
  7. 8.

    Do not but your eggs in one basket BackupPC Bacula Solutions
  8. 9.

    Open source software Spatie creates a lot of it ±

    60 packages on Packagist ± 200 000 downloads
  9. 10.

    Compatible with Laravel 5.x Easy installation Can backup files and

    databases Leverages Laravel’s Cloud Filesystem Can be integrated in your deployment workflow Laravel Backup package
  10. 11.
  11. 13.

    Drawbacks Will not run if your application is completely broken

    No notifications if a backup is successful or fails No restore options