{"id":2512,"date":"2021-03-01T22:03:00","date_gmt":"2021-03-01T14:03:00","guid":{"rendered":"https:\/\/www.yumefx.com\/?p=2512"},"modified":"2021-03-01T15:26:18","modified_gmt":"2021-03-01T07:26:18","slug":"%e7%bd%91%e7%ab%99%e8%87%aa%e5%8a%a8%e5%a4%87%e4%bb%bd%e5%88%b0github","status":"publish","type":"post","link":"https:\/\/www.yumefx.com\/?p=2512","title":{"rendered":"\u7f51\u7ad9\u81ea\u52a8\u5907\u4efd\u5230github"},"content":{"rendered":"\n<p>\u4e4b\u524d\u770b\u5230\u8fd9\u7bc7<a href=\"https:\/\/moe.best\/gotagota\/backup-to-github.html\">\u5c06\u7f51\u7ad9\u81ea\u52a8\u5907\u4efd\u5230 Github<\/a>\u7684\u535a\u6587\uff0c\u624d\u5bdf\u89c9\u7528github\u5907\u4efd\u7f51\u7ad9\u65e2\u65b9\u4fbf\u5feb\u901f\uff0c\u8fd8\u53ef\u4ee5\u67e5\u770b\u6bcf\u6b21\u63d0\u4ea4\u7684\u4fee\u6539\u60c5\u51b5\u4ee5\u53ca\u4efb\u610f\u56de\u6863\uff0c\u4e8e\u662f\u6211\u4e5f\u53c2\u8003\u8fd9\u7bc7\u6587\u7ae0\u5b9e\u73b0\u4e86\u7f51\u7ad9\u7684\u81ea\u52a8\u5907\u4efd\uff0c\u8fd9\u91cc\u8bb0\u5f55\u4e00\u4e0b\u5177\u4f53\u64cd\u4f5c\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u914d\u7f6egithub<\/h1>\n<p>\u9996\u5148\uff0c\u5f53\u7136\u9700\u8981\u5148\u6ce8\u518c\u4e00\u4e2aGithub \u8d26\u6237\uff0c\u5176\u6b21\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5git\u3002<\/p>\n<p>git\u7684\u5b89\u88c5\u548c\u57fa\u7840\u4f7f\u7528\u53ef\u4ee5\u53c2\u8003\u4e4b\u524d\u5199\u8fc7\u7684<a href=\"https:\/\/www.yumefx.com\/?p=1425\">\u4f7f\u7528git\u7ba1\u7406github<\/a>\u4e00\u6587\u3002<\/p>\n<h3>\u00a0<\/h3>\n<h3>\u914d\u7f6eSSH\u767b\u5f55\u65b9\u5f0f<\/h3>\n<p>\u5b89\u88c5\u5b8cgit\u540e\uff0c\u5728\u670d\u52a1\u5668\u4e0a\u9009\u62e9\u4e00\u4e2a\u5b89\u5168\u597d\u8bb0\u7684\u76ee\u5f55\uff0c\u4f8b\u5982<code>\/root\/GithubKey<\/code><\/p>\n<p>\u6ce8\u610f\uff0c\u8fd9\u4e2a\u76ee\u5f55\u8981\u7528\u4e8e\u653e\u7f6e\u5bc6\u94a5\uff0c\u56e0\u6b64\u4e0d\u80fd\u653e\u5728\u7f51\u7ad9\u6e90\u7801\u6240\u5728\u76ee\u5f55\u6216\u8005\u5176\u4ed6\u516c\u6709\u76ee\u5f55\u4e2d\uff0c\u907f\u514d\u88ab\u522b\u4eba\u83b7\u53d6 \u3002<\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a RSA \u5bc6\u5319<\/p>\n\n\n\n<pre>\n<span>cd \/root\/GithubKey<\/span>\n<span>ssh-keygen -t rsa<\/span>\n<\/pre>\n\n\n\n<p>\u7136\u540e\u6839\u636e\u63d0\u793a\u8f93\u5165\u751f\u6210\u5bc6\u5319\u7684\u6587\u4ef6\u540d\uff0c\u6b64\u5904\u4e3e\u4f8b\u8f93\u5165<code>github<\/code>\uff0c\u9700\u8981\u8f93\u5165 passphrase \u7684\u65f6\u5019\u76f4\u63a5\u4e0d\u8f93\u5165\u56de\u8f66\u5373\u53ef\u3002<\/p>\n<p>\u5b8c\u6210\u540e\u4f1a\u6709\u7c7b\u4f3c\u8fd9\u6837\u7684\u663e\u793a\uff0c\u5e76\u4e14\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u751f\u6210<code>github<\/code>\u548c<code>github.pub<\/code>\u8fd9\u4e24\u4e2a\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2515 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_02.png\" alt=\"\" width=\"569\" height=\"342\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_02.png 569w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_02-300x180.png 300w\" sizes=\"(max-width: 569px) 100vw, 569px\" \/><\/p>\n<p>\u7136\u540e\u4f7f\u7528vi\u547d\u4ee4\u67e5\u770bgithub.pub\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u5e76\u590d\u5236\u4e0b\u6765\u3002<\/p>\n\n\n\n<pre>\n<span>vi github.pub<\/span>\n<\/pre>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5230\u767b\u5f55\u540e\u7684\u7684 Github \u9875\u9762\uff0c\u4f9d\u6b21\u70b9\u53f3\u4e0a\u89d2\u5934\u50cf-&#8220;Settings&#8221;-\u5de6\u8fb9&#8221;SSH and GPG keys&#8221;-\u53f3\u4e0a\u89d2&#8221;New SSH key&#8221;\u3002<\/p>\n<p>\u7136\u540e\u5c06\u521a\u624d\u590d\u5236\u7684\u5185\u5bb9\u7c98\u8d34\u5230&#8221;Key&#8221;\u8f93\u5165\u6846\u4e2d\uff0c\u4e0a\u65b9\u7684&#8221;Tittle&#8221;\u53ef\u968f\u610f\u8f93\u5165\uff0c\u7136\u540e\u70b9\u51fb&#8221;Add SSH key&#8221;\u6309\u94ae\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2516 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_03.png\" alt=\"\" width=\"1006\" height=\"369\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_03.png 1006w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_03-300x110.png 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_03-768x282.png 768w\" sizes=\"(max-width: 1006px) 100vw, 1006px\" \/><\/p>\n<p>\u8fd9\u6837\uff0cgithub\u7f51\u7ad9\u7684SSH\u767b\u5f55\u5c31\u914d\u7f6e\u5b8c\u4e86\uff0c\u5176\u5b9e\u5c31\u662f\u52a0\u4e00\u4e2a SSH \u5bc6\u5319\u5230 Github\uff0c\u8fd9\u6837\u540e\u7eed Github \u9879\u76ee\u7684\u540c\u6b65\u53ef\u4ee5\u4f7f\u7528SSH\u65b9\u5f0f\u65e0\u9700\u8f93\u5165github\u5e10\u53f7\u5bc6\u7801\u4e86\u3002<\/p>\n<h3>\u00a0<\/h3>\n<h3>\u521b\u5efa\u79c1\u6709Github\u9879\u76ee<\/h3>\n<p>\u70b9\u51fbgihub\u7f51\u9875\u53f3\u4e0a\u89d2\u7684+\u53f7\uff0c\u9009\u62e9&#8221;New repository&#8221;\u65b0\u5efa\u9879\u76ee\uff0c\u6ce8\u610f\u7c7b\u578b\u4e00\u5b9a\u8981\u9009\u62e9&#8221;Private&#8221;\uff0c\u5426\u5219\u5176\u4ed6\u4eba\u5c31\u53ef\u4ee5\u76f4\u63a5\u76d7\u8d70\u7f51\u7ad9\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-2517 aligncenter\" src=\"http:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_04.png\" alt=\"\" width=\"919\" height=\"790\" srcset=\"https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_04.png 919w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_04-300x258.png 300w, https:\/\/www.yumefx.com\/wp-content\/uploads\/2021\/02\/githubBake_04-768x660.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/p>\n<p>github\u8fd9\u8fb9\u5c31\u914d\u7f6e\u5b8c\u6210\u4e86\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u670d\u52a1\u5668\u914d\u7f6eGithub\u9879\u76ee<\/h1>\n<h3>\u521d\u59cb\u5316github\u9879\u76ee<\/h3>\n<p>\u8fdb\u5165\u670d\u52a1\u5668\u7684\u7f51\u7ad9\u6e90\u7801\u6240\u5728\u7684\u76ee\u5f55\uff0c\u4f8b\u5982<code>\/root\/www<\/code>\uff0c\u7136\u540e\u8fd0\u884c\u4e0b\u5217\u547d\u4ee4\u3002<\/p>\n\n\n\n<pre>\n<span>cd \/root\/www<\/span>\n<span>git init<\/span>\n<span>git remote add origin git@github.com:yumefx\/WordPressBake.git<\/span>\n<\/pre>\n\n\n\n<p>\u7b2c\u4e09\u884c\u4ee3\u7801\u7684\u76ee\u7684\u5c31\u662f\u8bbe\u5b9a\u5f53\u524d\u9879\u76ee\u7684\u540c\u6b65\u65b9\u5f0f\u4e3aSSH\uff0cgithub\u4ed3\u5e93\u5730\u5740\u4e3ayumefx\/WordPressBake\u3002<\/p>\n<h3>\u00a0<\/h3>\n<h3>\u6570\u636e\u5e93\u5907\u4efd<\/h3>\n<p>\u9664\u4e86\u7f51\u7ad9\u6e90\u7801\u5916\uff0c\u7f51\u7ad9\u6240\u4f7f\u7528\u7684\u6570\u636e\u5e93\u4e5f\u5e94\u8be5\u5907\u4efd\uff0c\u53ef\u4ee5\u5907\u4efd\u5230\u7f51\u7ad9\u6e90\u7801\u76ee\u5f55\u4e0b\uff0c\u65b9\u4fbf\u4e00\u8d77\u540c\u6b65\u5230github\u3002<\/p>\n<p>\u9996\u5148\u5728\u7f51\u7ad9\u6e90\u7801\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u3002<\/p>\n\n\n\n<pre>\n<span>cd \/root\/www<\/span>\n<span>mkdir DatabaseBake<\/span>\n<\/pre>\n\n\n\n<p>\u6211\u73b0\u5728\u5728\u7528\u7684\u6570\u636e\u5e93\u662fmariadb\uff0c\u5907\u4efd\u65b9\u5f0f\u4e0emysql\u76f8\u540c\uff0c\u4ee3\u7801\u5982\u4e0b\u3002<\/p>\n\n\n\n<pre>\n<span>mysqldump -u\u6570\u636e\u5e93\u7528\u6237 -p\u6570\u636e\u5e93\u5bc6\u7801 WordPressDB > \/root\/www\/DatabaseBake\/WordPressDB.sql<\/span>\n<\/pre>\n\n\n\n<p>\u4e0a\u9762\u4ee3\u7801\u4e2d\u7684WordPressDB\u4e3a\u6570\u636e\u5e93\u4e2d\u7684\u7f51\u7ad9\u6570\u636e\u5e93\u540d\uff0c\u5982\u679c\u5fd8\u8bb0\u4e86\u6570\u636e\u5e93\u540d\u79f0\u6216\u8005\u5bc6\u7801\uff0c\u4f7f\u7528WordPress\u5efa\u7ad9\u7684\u53ef\u4ee5\u5230\u7f51\u7ad9\u6e90\u7801\u6839\u76ee\u5f55\u4e0b\u7684wp-config.php\u4e2d\u67e5\u770b\u3002<\/p>\n<p>\u8fd0\u884c\u5b8c\u6210\u540e\uff0c\u5728DatabaseBake\u76ee\u5f55\u4e0b\u5c31\u4f1a\u751f\u6210WordPressDB.sql\u8fd9\u4e2a\u5907\u4efd\u6587\u4ef6\u3002<\/p>\n<p>\u8fd9\u91cc\u9700\u8981\u6ce8\u610f\u8fd9\u4e2a<strong>\u5907\u4efd\u6587\u4ef6\u7684\u5927\u5c0f<\/strong>\uff0cgithub\u9650\u5236\u5355\u4e2a\u6587\u4ef6\u4e0d\u80fd\u8d85\u8fc7<strong>50MB<\/strong>\uff0c\u56e0\u6b64\u5982\u679c\u6570\u636e\u5e93\u6587\u4ef6\u5982\u679c\u7279\u522b\u5927\u5c31\u4e0d\u80fd\u4f7f\u7528\u8fd9\u79cd\u65b9\u5f0f\u5907\u4efd\u3002<\/p>\n<p>\u4e0d\u8fc7\u6211\u7684\u6570\u636e\u5e93\u5907\u4efd\u6587\u4ef6\u76ee\u524d\u4e5f\u53ea\u67095MB+\uff0c\u6682\u65f6\u4e0d\u5fc5\u62c5\u5fc3\u8fd9\u4e2a\u3002<\/p>\n<h3>\u00a0<\/h3>\n<h3>\u5c1d\u8bd5\u8fdb\u884c\u9996\u6b21\u540c\u6b65<\/h3>\n<p>\u6309\u987a\u5e8f\u6267\u884c\u4ee5\u4e0b\u53c2\u8003\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre>\n<span>cd \/root\/www<\/span>\n<span>git add -A<\/span>\n<span>git commit -m \"first commit\"<\/span>\n<span>ssh-agent bash<\/span>\n<span>ssh-add \/root\/GithubKey\/github<\/span>\n<span>git push -u origin main<\/span>\n<\/pre>\n\n\n\n<p>\u547d\u4ee4\u89e3\u91ca\uff1a<\/p>\n<ol>\n<li>\u8fdb\u5165\u7f51\u7ad9\u76ee\u5f55<\/li>\n<li>\u628a\u76ee\u5f55\u4e0b\u6240\u6709\u6587\u4ef6\u53d8\u5316\uff08\u589e\u3001\u5220\u3001\u6539\uff09\u63d0\u4ea4\u5230\u6682\u5b58\u533a<br \/>\u5982\u679c\u4f60\u60f3\u53ea\u589e\u3001\u6539\u800c\u4e0d\u5220\uff0c\u90a3\u4e48\u53ef\u4ee5\u7528<code>git add .<\/code>\u547d\u4ee4\u4ee3\u66ff<\/li>\n<li>\u63d0\u4ea4\u6240\u6709\u66f4\u6539\uff0c\u8fd9\u4e2a<code>\"first\u00a0commit\"<\/code>\u53ef\u4ee5\u968f\u610f\u586b\u5199\uff0c\u8fd9\u662f\u63d0\u4ea4\u6539\u52a8\u7684\u65f6\u5019\u7684\u8bf4\u660e\uff0c\u53ef\u4ee5\u7b80\u7565\u5199\u4e00\u4e0b\u6bcf\u6b21\u7684\u66f4\u6539\uff0c\u65b9\u4fbf\u4ee5\u540e\u56de\u6eda\u3002<\/li>\n<li>\u542f\u52a8 SSH \u5bc6\u94a5\u7ba1\u7406\u5668<\/li>\n<li>\u5c06\u4e4b\u524d\u521b\u5efa\u7684<code>github<\/code>\u5bc6\u94a5\u6587\u4ef6\u6dfb\u52a0\u5230\u5bc6\u5319\u7ba1\u7406\u5668\u4e2d<\/li>\n<li>\u63a8\u9001\u6240\u6709\u66f4\u6539\u5230 Github \u9879\u76ee<\/li>\n<\/ol>\n<p>\u6267\u884c\u6700\u540e\u4e00\u6761\u540e\u5e94\u8be5\u80fd\u770b\u5230\u4e0a\u4f20\u7684\u8fdb\u5ea6\u663e\u793a\uff0c\u7b49\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u518d\u5230github\u7684\u9879\u76ee\u7f51\u9875\u4e0a\u5237\u65b0\u4e00\u4e0b\uff0c\u67e5\u770b\u4e0a\u4f20\u4e0a\u53bb\u7684\u6587\u4ef6\u662f\u5426\u6b63\u786e\u3002<\/p>\n<p>\u8fd9\u91cc\u540c\u6837\u9700\u8981\u6ce8\u610f\u6587\u4ef6\u768450MB\u5927\u5c0f\u9650\u5236\uff0c\u6709\u65f6\u5019\u53ef\u80fd\u4f1a\u5411\u7f51\u7ad9\u4e0a\u4f20\u4e00\u4e9b\u6587\u4ef6\u7ed9\u522b\u4eba\u63d0\u4f9b\u4e0b\u8f7d\uff0c\u5c3d\u91cf\u4e0d\u8981\u7528\u8fd9\u79cd\u65b9\u5f0f\u4e0a\u4f20\u592a\u5927\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u5982\u679c\u6709\u8fd9\u6837\u7684\u5927\u6587\u4ef6\u5bfc\u81f4\u4e0a\u4f20github\u5931\u8d25\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u65b0\u5efa.gitignore\u6587\u4ef6\uff0c\u91cc\u9762\u586b\u5199\u60f3\u8981\u88ab\u5ffd\u7565\u63d0\u4ea4\u4e0a\u4f20\u7684\u76ee\u5f55\u6216\u8005\u6587\u4ef6\u3002<\/p>\n\n\n\n<pre>\n<span>cd \/root\/www<\/span>\n<span>vi .gitignore<\/span>\n<\/pre>\n\n\n\n<p>.gitignore\u6587\u4ef6\u4e2d\u6bcf\u4e00\u884c\u4e3a\u4e00\u4e2a\u8def\u5f84\uff0c\u4f8b\u5982<code>\/root\/www\/wp-content\/uploads\/<\/code>\u610f\u601d\u4e3a\u5ffd\u7565uploads\u6587\u4ef6\u5939\u4e0b\u6240\u6709\u7684\u6587\u4ef6\uff0c<code>\/root\/www\/readme.html<\/code>\u610f\u601d\u4e3a\u5ffd\u7565readme.html\u8fd9\u4e2a\u6587\u4ef6\u3002<\/p>\n<h1>\u00a0<\/h1>\n<h1 style=\"text-align: center;\">\u8bbe\u5b9a\u6bcf\u5929\u81ea\u52a8\u540c\u6b65<\/h1>\n<p>\u5230\u4e0a\u9762\u4e3a\u6b62\uff0c\u53ea\u662f\u5b8c\u6210\u4e86\u521d\u6b21\u624b\u52a8\u5907\u4efd\uff0c\u901a\u8fc7crontab\u5b9a\u65f6\u4efb\u52a1\u53ef\u4ee5\u8ba9\u5907\u4efd\u4efb\u52a1\u6bcf\u5929\u81ea\u52a8\u6267\u884c\u4e00\u6b21\uff0c\u7701\u53bb\u4eba\u5de5\u64cd\u4f5c\u3002<\/p>\n<p>\u9996\u5148\u9700\u8981\u5b89\u88c5crontab\u3002<\/p>\n<p>\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u811a\u672c\uff0c\u5c06\u6bcf\u5929\u9700\u8981\u6267\u884c\u7684\u5907\u4efd\u547d\u4ee4\u5199\u5165\u3002<\/p>\n\n\n\n<pre>\n<span>cd \/root<\/span>\n<span>vi wordpress_autobakeup.sh<\/span>\n<span>#!\/bin\/bash<\/span>\n<span>cd \/root\/www<\/span>\n<span>mysqldump -u\u6570\u636e\u5e93\u7528\u6237 -p\u6570\u636e\u5e93\u5bc6\u7801 WordPressDB > DatabaseBake\/WordPressDB.sql<\/span>\n<span>git add -A<\/span>\n<span>git commit -m \"backup\"<\/span>\n<span>ssh-add \/root\/GithubKey<\/span>\n<span>git push -u origin main<\/span>\n<\/pre>\n\n\n\n<p>\u7136\u540e\u7f16\u8f91crontab\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4e00\u822c\u662f\/var\/spool\/cron\/crontabs\/root,\u5728\u6700\u4e0b\u9762\u52a0\u5165\u4e0b\u9762\u8fd9\u884c\uff0c\u7136\u540e\u4fdd\u5b58\u9000\u51fa\u3002<\/p>\n\n\n\n<pre>\n<span>30 3 * * * ssh-agent bash \/root\/wordpress_autobakeup.sh<\/span>\n<\/pre>\n\n\n\n<p>\u8fd9\u6761 crontab \u547d\u4ee4\u4ee3\u8868\u6bcf\u5929\u51cc\u66683:30\u5206\u6267\u884c<code>ssh-agent bash \/root\/wordpress_autobakeup.sh<\/code>\u547d\u4ee4\u3002<\/p>\n<p>\u63a5\u7740\u91cd\u542f\u4e00\u4e0b crontab \u4f7f\u65b0\u914d\u7f6e\u6587\u4ef6\u751f\u6548\u3002<\/p>\n\n\n\n<pre>\n<span>systemctl restart crond.service<\/span>\n<\/pre>\n\n\n\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u8fd9\u6837\u6bcf\u5929\u51cc\u66683:30\u7684\u65f6\u5019\u5c31\u4f1a\u81ea\u52a8\u5907\u4efd\u7f51\u7ad9\u5230 Github \u4e86\u3002<\/p>\n<p>\u00a0<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u8fd9\u4e9b\u5e74\u4ec0\u4e48\u90fd\u6ca1\u53d8\uff0c<\/p>\n<p>\u5c31\u5e74\u9f84\u53d8\u4e86\u3002<\/p>\n<p style=\"text-align: right;\">\u2014\u2014\u300a\u534a\u5c71\u6587\u96c6\u300b<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e4b\u524d\u770b\u5230\u8fd9\u7bc7\u5c06\u7f51\u7ad9\u81ea\u52a8\u5907\u4efd\u5230 Github\u7684\u535a\u6587\uff0c\u624d\u5bdf\u89c9\u7528github\u5907\u4efd\u7f51\u7ad9\u65e2\u65b9\u4fbf\u5feb\u901f\uff0c\u8fd8\u53ef\u4ee5\u67e5\u770b\u6bcf\u6b21\u63d0\u4ea4\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2519,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,4],"tags":[52,48,49,15],"_links":{"self":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/posts\/2512"}],"collection":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2512"}],"version-history":[{"count":0,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/posts\/2512\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=\/wp\/v2\/media\/2519"}],"wp:attachment":[{"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yumefx.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}