$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>backup - Is it possible to separate databases in WordPress site - one for orders and the other for all non-orders related|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

backup - Is it possible to separate databases in WordPress site - one for orders and the other for all non-orders related

matteradmin8PV0评论

I am new to WP but already encountered a rogue plugin which completely messed parts of my database ( it was a media library folders management plugin). I would happily restore the site back to before the plugin was installed but that course would also loose any Woocommerce orders I got accumulated during that day. So I am looking for a way to have my orders stored somewhere which is safe and the rest is in another database which I can easily restore from a backup (and thus loose no orders). I realise that orders are just posts and are related to other posts (like images) and their IDs, which still will reside in the "non-safe" database. But since I think such a scheme would reduce the risk and lower the impact tremendously upon a restore from backup event on the non-safe database - I am looking for such a configuration. Is it possible to do in WordPress ?

Post a comment

comment list (0)

  1. No comments so far