12
14 Comments

Make Backup. Now.

Just a reminder to all of you and myself to create backups of everything.
During the weekend I've crashed my website during an update. Fatal error can't see website type of thing.
Fortunately I had a backup which I've uploaded on server.
In my case cost was few hours of downtime and few gray hairs. Make sure it won't be worse in your case.

Technical note: In my case updating wordpress plugins resulted in all this mess. Obviously it was a bit unexpected.

  1. 2

    Don't just make backups, test them, see if you know how to recover from backup.
    I've been using borg for that, great incremental tool.

  2. 1

    As well as backups it's useful to do occasional "firedrills".
    As in what steps you take to do a full recovery if such an event happens, so that you have planned and are prepared for such an event.
    Might require an extra server and costs....but potentially very worthwhile for the time when a shitstorm happens.

  3. 1

    Good advice Zdanovi

  4. 1

    I also make regular backups

  5. 4

    This comment was deleted a year ago.

    1. 2

      Datacenters catch fire (see: OVH in past ~month). You should have database backups regardless. Code you'll have locally and in GH, so you should be fine.

    2. 1

      Same here. And my locally working directories for my projects are in a combination of Google Drive + Dropbox, so even if my computer exploded + Github disappeared, they'd be backed up secondarily too.

    3. 1

      Cloud providers don't always give guarantees for data recovery. It's usually a shared responsibility (same for security & other things). Better safe than sorry.

      1. 2

        This comment was deleted a year ago.

    4. 1

      Makes sense to backup if you're storing the data yourself (db, files, other content) but code should be hosted in services like Github imo.

      Best setup is to dockerize your app so you can deploy anywhere/anytime.

    5. 0

      you can push a change that accidentally deletes stuff in your db, so you should have backups for sure even if aws itself won't lose your data doesn't mean that you don't mess up^^.

      1. 1

        If you’re using a production-tier database on Heroku you can roll back to any point in time. The more expensive the plan the longer you can roll back to. But this is a great safety net for the situation you mention and a huge reason why Heroku Postgres is my only database choice.

        1. 0

          yea it's pretty normal feature for a managed db, rds and digital ocean have it as well

        2. 1

          This comment was deleted a year ago.

Trending on Indie Hackers
How I grew a side project to 100k Unique Visitors in 7 days with 0 audience 49 comments Competing with Product Hunt: a month later 33 comments Why do you hate marketing? 28 comments My Top 20 Free Tools That I Use Everyday as an Indie Hacker 15 comments $15k revenues in <4 months as a solopreneur 14 comments Use Your Product 13 comments