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
Tweet

More Decks by Freek Van der Herten

Other Decks in Programming

Transcript

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

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

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

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

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

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

    60 packages on Packagist ± 200 000 downloads https://spatie.be/opensource https://github.com/spatie
  8. 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
  9. Drawbacks Will not run if your application is completely broken

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