{"id":656,"date":"2018-09-26T00:06:27","date_gmt":"2018-09-25T21:06:27","guid":{"rendered":"https:\/\/hatifnatt.ru\/blog\/?p=656"},"modified":"2018-10-04T23:33:49","modified_gmt":"2018-10-04T20:33:49","slug":"zabbix-mysql-to-postgresql-migration","status":"publish","type":"post","link":"https:\/\/hatifnatt.ru\/blog\/2018\/09\/26\/zabbix-mysql-to-postgresql-migration\/","title":{"rendered":"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u044f Zabbix \u0438\u0437 MySQL \u0432 PostgreSQL"},"content":{"rendered":"<p>\u041e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u0435 <a class=\"urlextern\" title=\"http:\/\/vladimir-stupin.blogspot.com\/2015\/07\/zabbix-mysql-postgresql.html\" href=\"http:\/\/vladimir-stupin.blogspot.com\/2015\/07\/zabbix-mysql-postgresql.html\" rel=\"nofollow\">http:\/\/vladimir-stupin.blogspot.com\/2015\/07\/zabbix-mysql-postgresql.html<\/a> \u0430\u0432\u0442\u043e\u0440\u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u0435\u043b\u0435\u043d, \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u0438 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0445\u0443\u0436\u0435. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 Debian 9 Stretch. \u041f\u0440\u043e\u0447\u0438\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<ul>\n<li>zabbix-server&nbsp;&mdash; 3.4.10<\/li>\n<li>mariadb&nbsp;&mdash; 10.1.26<\/li>\n<li>\u043e\u0431\u044a\u0435\u043c \u0411\u0414 zabbix&nbsp;&mdash; 6GB<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 PostgreSQL \u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <a class=\"urlextern\" title=\"https:\/\/github.com\/dimitri\/pgloader\" href=\"https:\/\/github.com\/dimitri\/pgloader\" rel=\"nofollow\">pgloader<\/a>, \u0441\u0432\u0435\u0436\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 \u0442\u043e\u0433\u043e \u0438 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u043e\u0444\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 PostgreSQL, <a class=\"urlextern\" title=\"https:\/\/www.postgresql.org\/download\/linux\/debian\/\" href=\"https:\/\/www.postgresql.org\/download\/linux\/debian\/\" rel=\"nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/a>. \u0421\u0447\u0438\u0442\u0430\u0435\u043c \u0447\u0442\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d, \u0441\u0442\u0430\u0432\u0438\u043c PostgreSQL \u0438 <code>pgloader<\/code>. \u0412 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u0440\u043e\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043b \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e (2018.09.25), <code>pgloader<\/code> (\u0432\u0435\u0440\u0441\u0438\u0438 3.5.2) \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0441 PostgreSQL 10 \u0441\u043c. <a class=\"urlextern\" title=\"https:\/\/github.com\/dimitri\/pgloader\/issues\/810\" href=\"https:\/\/github.com\/dimitri\/pgloader\/issues\/810\" rel=\"nofollow\">issue #810<\/a> \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PG 9.6<br \/>\n<!--more--><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">apt-get install postgresql-9.6 pgloader<\/pre>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0432\u0441\u044e \u0440\u0430\u0431\u043e\u0442\u0443<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">mkdir ~\/zabbix-mysql2pgsql\ncd ~\/zabbix-mysql2pgsql<\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0444\u0430\u0439\u043b \u0441 SQL \u0441\u0445\u0435\u043c\u043e\u0439 Postgres \u0438\u0437 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 Zabbix. \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a: \u0441\u043a\u0430\u0447\u0430\u0442\u044c deb \u043f\u0430\u043a\u0435\u0442 \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">apt-get download zabbix-server-pgsql\ndpkg -x zabbix-server-pgsql_* .\/zabbix-server-pgsql<\/pre>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0441\u0436\u0430\u0442\u044b\u0439 sql \u0434\u0430\u043c\u043f \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c \u0435\u0433\u043e \u043d\u0430 2 \u0447\u0430\u0441\u0442\u0438, \u043e\u0434\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>CREATE<\/code> \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u0438 \u0432\u0442\u043e\u0440\u0430\u044f <code>ALTER<\/code> \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0432\u044f\u0437\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0447\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0438\u0436\u0435 (\u043a\u0440\u043e\u043c\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0438) \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u0438, \u0447\u0442\u043e \u0432\u0441\u0435 <code>CREATE<\/code> \u0438\u0434\u0443\u0442 \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 \u0444\u0430\u0439\u043b\u0430 \u0438 \u0434\u043e <code>INSERT INTO dbversion\u2026<\/code> \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432 \u0432\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u043d\u044b\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">gzip -dc .\/zabbix-server-pgsql\/usr\/share\/doc\/zabbix-server-pgsql\/create.sql.gz &gt; schema.sql\nsed -n '\/CREATE.*\/,\/INSERT.*$\/p' schema.sql | head -n-1 &gt; create.sql\ngrep ALTER schema.sql &gt; alter.sql<\/pre>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0411\u0414 \u0432 PostgreSQL, \u043f\u0430\u0440\u043e\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0448\u0430\u0433\u0435. \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f <a class=\"urlextern\" title=\"https:\/\/www.zabbix.com\/documentation\/3.4\/ru\/manual\/appendix\/install\/db_scripts\" href=\"https:\/\/www.zabbix.com\/documentation\/3.4\/ru\/manual\/appendix\/install\/db_scripts\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">su -u postgres createuser --pwprompt zabbix\nsu -u postgres createdb -O zabbix zabbix<\/pre>\n<p>\u0412\u0441\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <code>pgloader<\/code> \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 \u0444\u0430\u0439\u043b, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 <code>ALTER SCHEMA 'zabbix' RENAME TO 'public'<\/code> \u0437\u0434\u0435\u0441\u044c <code>zabbix<\/code> \u044d\u0442\u043e \u0438\u043c\u044f \u0432\u0430\u0448\u0435\u0439 \u0411\u0414 \u0432 MySQL \u0441\u043c. \u0437\u0434\u0435\u0441\u044c <a class=\"urlextern\" title=\"https:\/\/github.com\/dimitri\/pgloader\/commit\/49316043611519c33ca074ba83028e46cd1d6f30\" href=\"https:\/\/github.com\/dimitri\/pgloader\/commit\/49316043611519c33ca074ba83028e46cd1d6f30\" rel=\"nofollow\">4931604<\/a><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">cat &gt; zabbix.load &lt;&lt; EOF\nLOAD DATABASE\n  FROM mysql:\/\/zabbix:zabbix_password@localhost\/zabbix\n  INTO postgresql:\/\/zabbix:zabbix_password@localhost\/zabbix\nWITH include no drop,\n     truncate,\n     create no tables,\n     create no indexes,\n     no foreign keys,\n     reset sequences,\n     data only\nSET maintenance_work_mem TO '128MB', work_mem to '12MB'\nALTER SCHEMA 'zabbix' RENAME TO 'public'\nBEFORE LOAD EXECUTE createonly.sql\nAFTER LOAD EXECUTE alter.sql;\nEOF<\/pre>\n<p>\u041e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Zabbix \u0441\u0435\u0440\u0432\u0435\u0440, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c pgloader \u0438 \u0436\u0434\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430. \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f, \u044d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0442.\u043a. \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u0432 MySQL \u0438 PostgreSQL.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">systemctl stop zabbix-server\npgloader zabbix.load<\/pre>\n<p>\u0421\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u0432 PostgreSQL \u0431\u0430\u0437\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0430\u0441\u044c \u0432 \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u0445 6GB \u0432 MySQL \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b\u0438\u0441\u044c \u0432 7.2GB \u0432 PostgreSQL, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e, \u0440\u0430\u0432\u043d\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 120-130% \u043e\u0442 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u0430\u0448\u0430 \u0411\u0414 MySQL. \u0417\u0430\u0442\u043e avg iowait \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b\u0441\u044f&nbsp;&mdash; 5% \u0441 MySQL \u0438 1% \u0441 PostgreSQL.<\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435, \u0443\u0434\u0430\u043b\u0438\u0442\u044c Zabbix \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439, MySQL, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 PostgreSQL, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 PHP \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 Postgres, \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u0442\u0438\u043f \u0411\u0414 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 Zabbix Frontend. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c \u0447\u0442\u043e \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0439 \u0411\u0414 \u0431\u044b\u043b \u0437\u0430\u0434\u0430\u043d \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u043a\u0430\u043a \u0438 \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u043e\u0439 \u0438 \u0435\u0433\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e. \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u0440\u0443\u0433\u043e\u0439, \u043c\u0435\u043d\u044f\u0435\u043c \u0435\u0433\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445 Zabbix server \u0438 frontend.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">apt-get remove zabbix-server-mysql\napt-get install zabbix-server-pgsql php7.0-pgsql\nsed -i'' 's\/MYSQL\/POSTGRESQL\/g' \/etc\/zabbix\/web\/zabbix.conf.php\nsed -i'' 's\/DBSocket=.*\/\/g' \/etc\/zabbix\/zabbix_server.conf\nsystemctl stop mysql\nsystemctl restart php7.0-fpm\nsystemctl start zabbix-server<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u0435 http:\/\/vladimir-stupin.blogspot.com\/2015\/07\/zabbix-mysql-postgresql.html \u0430\u0432\u0442\u043e\u0440\u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u0435\u043b\u0435\u043d, \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u0438 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0445\u0443\u0436\u0435. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 Debian 9 Stretch. \u041f\u0440\u043e\u0447\u0438\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435: zabbix-server&nbsp;&mdash; 3.4.10 mariadb&nbsp;&mdash; 10.1.26 \u043e\u0431\u044a\u0435\u043c \u0411\u0414 zabbix&nbsp;&mdash; 6GB \u0414\u043b\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 PostgreSQL \u0438 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/hatifnatt.ru\/blog\/2018\/09\/26\/zabbix-mysql-to-postgresql-migration\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97],"tags":[138,132,93,137,135,136,134],"class_list":["post-656","post","type-post","status-publish","format-standard","hentry","category-howto","tag-debian","tag-howto","tag-linux","tag-mirgation","tag-mysql","tag-postgresql","tag-zabbix"],"_links":{"self":[{"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/posts\/656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/comments?post=656"}],"version-history":[{"count":11,"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/posts\/656\/revisions"}],"predecessor-version":[{"id":673,"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/posts\/656\/revisions\/673"}],"wp:attachment":[{"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/media?parent=656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/categories?post=656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hatifnatt.ru\/blog\/wp-json\/wp\/v2\/tags?post=656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}