4 ms·
I laughed at this "Think about what you did" - I've been a bad WordPress dev :( No mention of backups, but that can at least save you from some of the freak ou
by josefresco 11y ago
I laughed at this "Think about what you did" - I've been a bad WordPress dev :(
No mention of backups, but that can at least save you from some of the freak out - assuming your site isn't changing more frequently then your backup scheme.
Daily backups are nice, but the problem might not be detected immediately - so snapshots (week, month, 6 month) are advisable.
- mduo 11y agoI see backups more suitable for a slighlty different topic. Something like "how to take care of your website" where there would be db otpmization, recurring backups, daily & monthly snapshots, etc.
- josefresco 11y agoI'm not so sure. When shit goes wrong, backups are not directly part of "solving the problem" but they are a part of the process, an essential one that can mitigate losses and provide developers with a clear path forward. Good article though - and you're right backups probably deserve their own focused article.
- mduo 11y agothanks man!
- deckiedan 11y agoRe. Backups: check out rsync's "--link-dest" option. It's amazing. Alternatively, this is one thing that version control could help with. Set up a cron job to check for changes every day and commit if needed.
- agumonkey 11y agoI always wanted some tripwire feature on wordpress hosts. You'd see quite fast who managed to poke to your install.
- josefresco 11y agoThere are numerous logging plugins, and security plugins that can email you when anyone does anything on a WP site. However, it's usually not someone else who broke it, and normally is due to plugins/themes/core updates.
- agumonkey 11y agoI remember trying a few, but ... I don't know, I wanted to have an independent isolated component.
- josefresco 11y agoIt's a good point - a plugin that logs access won't work if you can't access the WP admin! If you move up outside of the WP environment you get into the hosting/server world and the solutions become vendor specific. I would imagine there is (or should be) a third-party backup and logging solution that keeps the data offsite but works host-independent.