Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Backing up your Laravel app

Backing up your Laravel app


Freek Van der Herten

January 30, 2016

More Decks by Freek Van der Herten

Other Decks in Programming


  1. None
  2. Backing up your Laravel App

  3. About me Freek Van der Herten Partner & developer at

    Spatie @freekmurze https://murze.be
  4. About Spatie SINCE 2003 Websites, applications en webshops TEAM 4

    developers, 1 manager 
 SPECIALIZATION Laravel development
  5. Small sites Shared hosting Backups by hosting provider Did not

    do anything regarding backups ourselves Hosting & backups Up until a few year ago
  6. Bigger applications Easy server management through resources like serversforhackers.com, Forge

    Digital Ocean DO Backup service Hosting & backups How we are currently doing it
  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
  8. Do not but your eggs in one basket BackupPC Bacula

    https://ottomatik.io/ Solutions
  9. Open source software Spatie creates a lot of it ±

    60 packages on Packagist ± 200 000 downloads https://spatie.be/opensource https://github.com/spatie
  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
  11. Demo

  12. Easy installation Can backup to multiple filesystems Free! Benefits

  13. Drawbacks Will not run if your application is completely broken

    No notifications if a backup is successful or fails No restore options
  14. Questions?

  15. Thank you! https://speakerdeck.com/freekmurze/backing-up-your-laravel-app https://murze.be https://spatie.be