{"id":4521,"date":"2026-06-14T19:31:10","date_gmt":"2026-06-14T19:31:10","guid":{"rendered":"https:\/\/cloudsave.app\/?p=4521"},"modified":"2026-06-15T14:18:22","modified_gmt":"2026-06-15T14:18:22","slug":"%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5","status":"publish","type":"post","link":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/","title":{"rendered":"\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c3\u03c4\u03b7\u03bd PostgreSQL: \u03a3\u03c5\u03bd\u03ae\u03b8\u03b5\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03b9 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd"},"content":{"rendered":"<p>\u0393\u03b9\u03b1 \u03c4\u03bf\u03c5\u03c2 \u0394\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03b9\u03c3\u03c4\u03ad\u03c2 \u0392\u03ac\u03c3\u03b5\u03c9\u03bd \u0394\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd (DBAs) \u03ba\u03b1\u03b9 \u03c4\u03bf\u03c5\u03c2 \u03bc\u03b7\u03c7\u03b1\u03bd\u03b9\u03ba\u03bf\u03cd\u03c2 DevOps \u03c0\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 PostgreSQL \u03c3\u03b5 \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2, \u03b7 \u03b5\u03c0\u03af\u03c4\u03b5\u03c5\u03be\u03b7 \u03b5\u03bd\u03cc\u03c2 \u03a3\u03c4\u03cc\u03c7\u03bf\u03c5 \u03a3\u03b7\u03bc\u03b5\u03af\u03bf\u03c5 \u0391\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7\u03c2 (RPO) \u03ba\u03bf\u03bd\u03c4\u03ac \u03c3\u03c4\u03bf \u03bc\u03b7\u03b4\u03ad\u03bd \u03b1\u03c0\u03bf\u03c4\u03b5\u03bb\u03b5\u03af \u03c0\u03c1\u03c9\u03c4\u03b1\u03c1\u03c7\u03b9\u03ba\u03ae \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae. \u03a3\u03c4\u03b7\u03bd \u03ba\u03b1\u03c1\u03b4\u03b9\u03ac \u03c4\u03c9\u03bd \u03b4\u03c5\u03bd\u03b1\u03c4\u03bf\u03c4\u03ae\u03c4\u03c9\u03bd \u03b1\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7\u03c2 \u03b1\u03c0\u03cc \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae \u03ba\u03b1\u03b9 \u0391\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7\u03c2 \u03c3\u03b5 \u03a7\u03c1\u03bf\u03bd\u03b9\u03ba\u03cc \u03a3\u03b7\u03bc\u03b5\u03af\u03bf (PITR) \u03c4\u03b7\u03c2 PostgreSQL \u03b2\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b1\u03b9 \u03c4\u03bf Write-Ahead Logging (WAL). \u0395\u03bd\u03ce \u03c4\u03bf WAL \u03b4\u03b9\u03b1\u03c3\u03c6\u03b1\u03bb\u03af\u03b6\u03b5\u03b9 \u03c4\u03b7 \u03c3\u03c5\u03bc\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 \u03bc\u03b5 \u03c4\u03bf ACID \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03ac\u03c6\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ad\u03c2 \u03c0\u03c1\u03b9\u03bd \u03b1\u03c5\u03c4\u03ad\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03bf\u03cd\u03bd \u03c3\u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd, \u03b7 <em>\u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7<\/em> (archiving) \u03c4\u03bf\u03c5 WAL \u03b5\u03af\u03bd\u03b1\u03b9 \u03bf \u03bc\u03b7\u03c7\u03b1\u03bd\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c0\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c4\u03b7\u03c1\u03b5\u03af \u03b1\u03c5\u03c4\u03ac \u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 \u03b3\u03b9\u03b1 \u03bc\u03b1\u03ba\u03c1\u03bf\u03c0\u03c1\u03cc\u03b8\u03b5\u03c3\u03bc\u03b1 \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03b1 \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b1\u03bd\u03b1\u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae.<\/p>\n<p>\u03a9\u03c3\u03c4\u03cc\u03c3\u03bf, \u03b7 \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 \u03c4\u03b7\u03c2 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 WAL \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03b1 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u00ab\u03c1\u03cd\u03b8\u03bc\u03b9\u03c3\u03b5 \u03ba\u03b1\u03b9 \u03be\u03ad\u03c7\u03b1\u03c3\u03b5\u00bb. \u039f\u03b9 \u03bb\u03b1\u03bd\u03b8\u03b1\u03c3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03c1\u03c5\u03b8\u03bc\u03af\u03c3\u03b5\u03b9\u03c2, \u03bf\u03b9 \u03c3\u03b9\u03c9\u03c0\u03b7\u03bb\u03ad\u03c2 \u03b1\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03bf\u03b9 \u03b1\u03c1\u03c7\u03b9\u03c4\u03b5\u03ba\u03c4\u03bf\u03bd\u03b9\u03ba\u03ad\u03c2 \u03c0\u03b1\u03c1\u03b5\u03be\u03b7\u03b3\u03ae\u03c3\u03b5\u03b9\u03c2 \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03bf\u03b4\u03b7\u03b3\u03ae\u03c3\u03bf\u03c5\u03bd \u03c3\u03b5 \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03bf\u03c6\u03b9\u03ba\u03ae \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd, \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1 split-brain \u03ae \u03c0\u03bb\u03ae\u03c1\u03b7 \u03b4\u03b9\u03b1\u03ba\u03bf\u03c0\u03ae \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1\u03c2 \u03c4\u03b7\u03c2 \u03b2\u03ac\u03c3\u03b7\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd.<\/p>\n<p>\u03a3\u03b5 \u03b1\u03c5\u03c4\u03cc\u03bd \u03c4\u03bf\u03bd \u03bf\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03bf \u03bf\u03b4\u03b7\u03b3\u03cc, \u03b8\u03b1 \u03b5\u03be\u03b5\u03c1\u03b5\u03c5\u03bd\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03b9\u03c4\u03b5\u03ba\u03c4\u03bf\u03bd\u03b9\u03ba\u03ae \u03c4\u03b7\u03c2 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 WAL \u03c4\u03b7\u03c2 PostgreSQL, \u03b8\u03b1 \u03b5\u03bd\u03c4\u03bf\u03c0\u03af\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c0\u03b9\u03bf \u03c3\u03c5\u03bd\u03b7\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03c0\u03bf\u03c5 \u03bf\u03b4\u03b7\u03b3\u03bf\u03cd\u03bd \u03c3\u03b5 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03c0\u03b5\u03c1\u03b9\u03b3\u03c1\u03ac\u03c8\u03bf\u03c5\u03bc\u03b5 \u03b2\u03ad\u03bb\u03c4\u03b9\u03c3\u03c4\u03b5\u03c2 \u03c0\u03c1\u03b1\u03ba\u03c4\u03b9\u03ba\u03ad\u03c2 \u03b5\u03c0\u03b9\u03c0\u03ad\u03b4\u03bf\u03c5 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03c3\u03c6\u03b1\u03bb\u03af\u03c3\u03bf\u03c5\u03bc\u03b5 \u03cc\u03c4\u03b9 \u03b7 \u03b2\u03ac\u03c3\u03b7 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03c3\u03b1\u03c2 \u03c0\u03b1\u03c1\u03b1\u03bc\u03ad\u03bd\u03b5\u03b9 \u03b1\u03bd\u03b8\u03b5\u03ba\u03c4\u03b9\u03ba\u03ae.<\/p>\n<h2>\u039a\u03b1\u03c4\u03b1\u03bd\u03cc\u03b7\u03c3\u03b7 \u03c4\u03b7\u03c2 \u0391\u03c1\u03c7\u03b9\u03c4\u03b5\u03ba\u03c4\u03bf\u03bd\u03b9\u03ba\u03ae\u03c2 WAL \u03c4\u03b7\u03c2 PostgreSQL<\/h2>\n<p>\u03a0\u03c1\u03b9\u03bd \u03b5\u03bc\u03b2\u03b1\u03b8\u03cd\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c3\u03c4\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2, \u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03c1\u03af\u03c3\u03b9\u03bc\u03bf \u03bd\u03b1 \u03ba\u03b1\u03c4\u03b1\u03bd\u03bf\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c0\u03ce\u03c2 \u03b7 PostgreSQL \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ce\u03bd.<\/p>\n<p>\u0397 PostgreSQL \u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03cc\u03bb\u03b5\u03c2 \u03c4\u03b9\u03c2 \u03c4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2 \u03c3\u03b5 \u03c4\u03bc\u03ae\u03bc\u03b1\u03c4\u03b1 WAL (\u03c0\u03c1\u03bf\u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 16MB) \u03c0\u03bf\u03c5 \u03b2\u03c1\u03af\u03c3\u03ba\u03bf\u03bd\u03c4\u03b1\u03b9 \u03c3\u03c4\u03bf\u03bd \u03ba\u03b1\u03c4\u03ac\u03bb\u03bf\u03b3\u03bf <code>pg_wal<\/code> (\u03c0\u03c1\u03ce\u03b7\u03bd <code>pg_xlog<\/code> \u03c3\u03b5 \u03b5\u03ba\u03b4\u03cc\u03c3\u03b5\u03b9\u03c2 \u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd 10). \u039a\u03ac\u03b8\u03b5 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03ac\u03c6\u03b5\u03c4\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b4\u03bf\u03c7\u03b9\u03ba\u03ac, \u03b5\u03c0\u03b9\u03c3\u03b7\u03bc\u03b1\u03c3\u03bc\u03ad\u03bd\u03b7 \u03bc\u03b5 \u03ad\u03bd\u03b1\u03bd \u0391\u03c1\u03b9\u03b8\u03bc\u03cc \u0391\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03af\u03b1\u03c2 \u039a\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 (LSN).<\/p>\n<p>\u038c\u03c4\u03b1\u03bd \u03ad\u03bd\u03b1 \u03c4\u03bc\u03ae\u03bc\u03b1 WAL \u03b3\u03b5\u03bc\u03af\u03b6\u03b5\u03b9, \u03b7 PostgreSQL \u03bc\u03b5\u03c4\u03b1\u03b2\u03b1\u03af\u03bd\u03b5\u03b9 \u03c3\u03b5 \u03ad\u03bd\u03b1 \u03bd\u03ad\u03bf. \u0393\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03c0\u03bf\u03c4\u03c1\u03b1\u03c0\u03b5\u03af \u03b7 \u03b1\u03c0\u03b5\u03c1\u03b9\u03cc\u03c1\u03b9\u03c3\u03c4\u03b7 \u03b1\u03cd\u03be\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03ba\u03b1\u03c4\u03b1\u03bb\u03cc\u03b3\u03bf\u03c5 <code>pg_wal<\/code>, \u03b7 PostgreSQL \u03b1\u03bd\u03b1\u03ba\u03c5\u03ba\u03bb\u03ce\u03bd\u03b5\u03b9 \u03ae \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03c0\u03b1\u03bb\u03b9\u03ac \u03c4\u03bc\u03ae\u03bc\u03b1\u03c4\u03b1 WAL \u03bc\u03cc\u03bb\u03b9\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03bb\u03ad\u03bf\u03bd \u03b1\u03c0\u03b1\u03c1\u03b1\u03af\u03c4\u03b7\u03c4\u03b1 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b1\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03ae \u03c4\u03b7\u03bd \u03b1\u03bd\u03b1\u03c0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae.<\/p>\n<p>\u0397 <strong>\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL<\/strong> \u03c0\u03b1\u03c1\u03b5\u03bc\u03b2\u03b1\u03af\u03bd\u03b5\u03b9 \u03c3\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03b1\u03bd\u03b1\u03ba\u03cd\u03ba\u03bb\u03c9\u03c3\u03b7\u03c2. \u038c\u03c4\u03b1\u03bd \u03c4\u03bf <code>archive_mode<\/code> \u03b5\u03af\u03bd\u03b1\u03b9 \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03b7\u03bc\u03ad\u03bd\u03bf, \u03b7 PostgreSQL \u03b5\u03ba\u03c4\u03b5\u03bb\u03b5\u03af \u03bc\u03b9\u03b1 \u03ba\u03b1\u03b8\u03bf\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03b7 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7 <code>archive_command<\/code> (\u03ae \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af \u03bc\u03b9\u03b1 <code>archive_library<\/code> \u03c3\u03c4\u03b7\u03bd PostgreSQL 15+) \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c8\u03b5\u03b9 \u03c4\u03bf \u03bf\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03bf \u03c4\u03bc\u03ae\u03bc\u03b1 WAL \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03b1\u03c3\u03c6\u03b1\u03bb\u03ae, \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03b5\u03cd\u03bf\u03c5\u03c3\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1 \u03c0\u03c1\u03b9\u03bd \u03b4\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03b5\u03af \u03ae \u03b1\u03bd\u03c4\u03b9\u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03b1\u03b8\u03b5\u03af.<\/p>\n<p>\u0393\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03ba\u03c4\u03b5\u03bb\u03ad\u03c3\u03b5\u03c4\u03b5 \u03bc\u03b9\u03b1 \u0391\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03a7\u03c1\u03bf\u03bd\u03b9\u03ba\u03cc \u03a3\u03b7\u03bc\u03b5\u03af\u03bf (PITR), \u03c7\u03c1\u03b5\u03b9\u03ac\u03b6\u03b5\u03c3\u03c4\u03b5 \u03b4\u03cd\u03bf \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1:<br \/>\n1. \u0388\u03bd\u03b1 \u03ad\u03b3\u03ba\u03c5\u03c1\u03bf \u03b2\u03b1\u03c3\u03b9\u03ba\u03cc \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 (base backup).<br \/>\n2. \u039c\u03b9\u03b1 \u03b1\u03b4\u03b9\u03ac\u03c3\u03c0\u03b1\u03c3\u03c4\u03b7 \u03b1\u03bb\u03c5\u03c3\u03af\u03b4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03b5\u03c4\u03b7\u03bc\u03ad\u03bd\u03c9\u03bd \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd WAL \u03b1\u03c0\u03cc \u03c4\u03b7 \u03c3\u03c4\u03b9\u03b3\u03bc\u03ae \u03c4\u03bf\u03c5 \u03b2\u03b1\u03c3\u03b9\u03ba\u03bf\u03cd \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5 \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03ad\u03c9\u03c2 \u03c4\u03bf\u03bd \u03c7\u03c1\u03cc\u03bd\u03bf \u03b1\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7\u03c2-\u03c3\u03c4\u03cc\u03c7\u03bf \u03c3\u03b1\u03c2.<\/p>\n<p>\u0395\u03ac\u03bd \u03b1\u03c5\u03c4\u03ae \u03b7 \u03b1\u03bb\u03c5\u03c3\u03af\u03b4\u03b1 WAL \u03c3\u03c0\u03ac\u03c3\u03b5\u03b9, \u03b7 PITR \u03b1\u03c0\u03bf\u03c4\u03c5\u03b3\u03c7\u03ac\u03bd\u03b5\u03b9.<\/p>\n<h2>\u0394\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 \u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 WAL \u03b3\u03b9\u03b1 \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae<\/h2>\n<p>\u0393\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL, \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf <code>postgresql.conf<\/code>. \u039c\u03b9\u03b1 \u03b2\u03b1\u03c3\u03b9\u03ba\u03ae \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 \u03b1\u03c0\u03b1\u03b9\u03c4\u03b5\u03af \u03c4\u03bf\u03bd \u03bf\u03c1\u03b9\u03c3\u03bc\u03cc \u03c4\u03bf\u03c5 <code>wal_level<\/code>, \u03c4\u03b7\u03bd \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 <code>archive_mode<\/code> \u03ba\u03b1\u03b9 \u03c4\u03bf\u03bd \u03ba\u03b1\u03b8\u03bf\u03c1\u03b9\u03c3\u03bc\u03cc \u03c4\u03b7\u03c2 <code>archive_command<\/code>.<\/p>\n<pre><code class=\"language-ini\"># postgresql.conf\nwal_level = replica             # \u03b1\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 'replica' \u03ae 'logical' \u03b3\u03b9\u03b1 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\narchive_mode = on               # \u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03b5\u03af \u03c4\u03b7 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2\narchive_command = 'test ! -f \/mnt\/nfs\/archive\/%f &amp;&amp; cp %p \/mnt\/nfs\/archive\/%f'\narchive_timeout = 600           # \u0395\u03c0\u03b9\u03b2\u03bf\u03bb\u03ae \u03b5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2 WAL \u03ba\u03ac\u03b8\u03b5 10 \u03bb\u03b5\u03c0\u03c4\u03ac\n<\/code><\/pre>\n<p>\u03a3\u03c4\u03b7\u03bd <code>archive_command<\/code>:<br \/>\n* \u03a4\u03bf <code>%p<\/code> \u03b1\u03bd\u03c4\u03b9\u03c0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b5\u03cd\u03b5\u03b9 \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03b4\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae \u03c0\u03c1\u03bf\u03c2 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf WAL \u03c0\u03c1\u03bf\u03c2 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7.<br \/>\n* \u03a4\u03bf <code>%f<\/code> \u03b1\u03bd\u03c4\u03b9\u03c0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b5\u03cd\u03b5\u03b9 \u03c4\u03bf \u03cc\u03bd\u03bf\u03bc\u03b1 \u03c4\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 WAL.<\/p>\n<p>\u0391\u03bd \u03ba\u03b1\u03b9 \u03b7 \u03c0\u03b1\u03c1\u03b1\u03c0\u03ac\u03bd\u03c9 \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 \u03c6\u03b1\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03bb\u03ae, \u03b7 \u03b5\u03be\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03b1\u03c0\u03cc \u03b1\u03c0\u03bb\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03ba\u03b5\u03bb\u03cd\u03c6\u03bf\u03c5\u03c2 (shell) \u03c3\u03b5 \u03b5\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03ac \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd\u03c4\u03b1 \u03b5\u03bd\u03ad\u03c7\u03b5\u03b9 \u03c3\u03b7\u03bc\u03b1\u03bd\u03c4\u03b9\u03ba\u03bf\u03cd\u03c2 \u03ba\u03b9\u03bd\u03b4\u03cd\u03bd\u03bf\u03c5\u03c2.<\/p>\n<h2>\u03a3\u03c5\u03bd\u03b7\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03a0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03c3\u03c4\u03b7\u03bd \u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL<\/h2>\n<h3>\u03a0\u03b1\u03b3\u03af\u03b4\u03b1 1: \u0397 \u00ab\u03a3\u03b9\u03c9\u03c0\u03b7\u03bb\u03ae \u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1\u00bb \u03c4\u03b7\u03c2 <code>archive_command<\/code><\/h3>\n<p>\u0397 PostgreSQL \u03b2\u03b1\u03c3\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b5\u03be \u03bf\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03bf\u03c5 \u03c3\u03c4\u03bf\u03bd \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03b5\u03be\u03cc\u03b4\u03bf\u03c5 \u03c4\u03b7\u03c2 <code>archive_command<\/code>. \u0395\u03ac\u03bd \u03b7 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c8\u03b5\u03b9 <code>0<\/code>, \u03b7 PostgreSQL \u03c5\u03c0\u03bf\u03b8\u03ad\u03c4\u03b5\u03b9 \u03cc\u03c4\u03b9 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf WAL \u03ad\u03c7\u03b5\u03b9 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03b5\u03c4\u03b7\u03b8\u03b5\u03af \u03bc\u03b5 \u03b1\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1 \u03ba\u03b1\u03b9 \u03c0\u03c1\u03bf\u03c7\u03c9\u03c1\u03ac \u03c3\u03c4\u03b7\u03bd \u03b1\u03bd\u03b1\u03ba\u03cd\u03ba\u03bb\u03c9\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b9\u03ba\u03bf\u03cd \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5.<\/p>\n<p>\u0388\u03bd\u03b1 \u03c3\u03c5\u03bd\u03b7\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf \u03bb\u03ac\u03b8\u03bf\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b7 \u03c7\u03c1\u03ae\u03c3\u03b7 \u03bc\u03b9\u03b1\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae\u03c2 \u03c0\u03bf\u03c5 \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c6\u03b5\u03b9 <code>0<\/code> \u03b1\u03ba\u03cc\u03bc\u03b7 \u03ba\u03b1\u03b9 \u03b1\u03bd \u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b4\u03b5\u03bd \u03ad\u03c7\u03bf\u03c5\u03bd \u03b3\u03c1\u03b1\u03c6\u03c4\u03b5\u03af \u03bc\u03b5 \u03b1\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1 \u03c3\u03b5 \u03bc\u03cc\u03bd\u03b9\u03bc\u03bf \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc \u03c7\u03ce\u03c1\u03bf. \u0393\u03b9\u03b1 \u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03b9\u03b3\u03bc\u03b1, \u03bc\u03b9\u03b1 \u03b1\u03c0\u03bb\u03ae \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae <code>cp<\/code> \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c8\u03b5\u03b9 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1 \u03bc\u03cc\u03bb\u03b9\u03c2 \u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03c6\u03c4\u03ac\u03c3\u03bf\u03c5\u03bd \u03c3\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03c3\u03c9\u03c1\u03b9\u03bd\u03ae \u03bc\u03bd\u03ae\u03bc\u03b7 (page cache) \u03c4\u03bf\u03c5 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03bf\u03cd \u03c3\u03c5\u03c3\u03c4\u03ae\u03bc\u03b1\u03c4\u03bf\u03c2 \u03c3\u03c4\u03bf\u03bd \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd. \u0395\u03ac\u03bd \u03bf \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae\u03c2 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c7\u03ac\u03c3\u03b5\u03b9 \u03c4\u03b7\u03bd \u03c4\u03c1\u03bf\u03c6\u03bf\u03b4\u03bf\u03c3\u03af\u03b1 \u03c4\u03bf\u03c5 \u03c0\u03c1\u03b9\u03bd \u03b7 \u03c0\u03c1\u03bf\u03c3\u03c9\u03c1\u03b9\u03bd\u03ae \u03bc\u03bd\u03ae\u03bc\u03b7 \u03b3\u03c1\u03b1\u03c6\u03c4\u03b5\u03af \u03c3\u03c4\u03bf\u03bd \u03b4\u03af\u03c3\u03ba\u03bf, \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf WAL \u03c7\u03ac\u03bd\u03b5\u03c4\u03b1\u03b9, \u03b1\u03bb\u03bb\u03ac \u03b7 PostgreSQL \u03ad\u03c7\u03b5\u03b9 \u03ae\u03b4\u03b7 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c8\u03b5\u03b9 \u03c4\u03bf \u03c4\u03bf\u03c0\u03b9\u03ba\u03cc \u03c4\u03b7\u03c2 \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf.<\/p>\n<p><strong>\u039f \u039a\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03c2:<\/strong> \u039c\u03b9\u03b1 \u03c3\u03c0\u03b1\u03c3\u03bc\u03ad\u03bd\u03b7 \u03b1\u03bb\u03c5\u03c3\u03af\u03b4\u03b1 WAL \u03ba\u03b1\u03b9 \u03b1\u03b4\u03c5\u03bd\u03b1\u03bc\u03af\u03b1 \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7\u03c2 PITR, \u03c0\u03bf\u03c5 \u03b1\u03bd\u03b1\u03ba\u03b1\u03bb\u03cd\u03c0\u03c4\u03b5\u03c4\u03b1\u03b9 \u03bc\u03cc\u03bd\u03bf \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7 \u03b4\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1 \u03b5\u03bd\u03cc\u03c2 \u03c3\u03b5\u03bd\u03b1\u03c1\u03af\u03bf\u03c5 \u03b1\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7\u03c2 \u03b1\u03c0\u03cc \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae.<\/p>\n<p><strong>\u0397 \u039c\u03b5\u03c4\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2:<\/strong> \u0392\u03b5\u03b2\u03b1\u03b9\u03c9\u03b8\u03b5\u03af\u03c4\u03b5 \u03cc\u03c4\u03b9 \u03c4\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2 \u03b5\u03c0\u03b9\u03b2\u03ac\u03bb\u03bb\u03b5\u03b9 \u03c3\u03cd\u03b3\u03c7\u03c1\u03bf\u03bd\u03b5\u03c2 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2. \u0395\u03ac\u03bd \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b5 \u03c4\u03c5\u03c0\u03b9\u03ba\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03ba\u03b5\u03bb\u03cd\u03c6\u03bf\u03c5\u03c2, \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03b1 \u03c0\u03bf\u03c5 \u03b5\u03b3\u03b3\u03c5\u03ce\u03bd\u03c4\u03b1\u03b9 \u03cc\u03c4\u03b9 \u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03ad\u03c7\u03bf\u03c5\u03bd \u03b3\u03c1\u03b1\u03c6\u03c4\u03b5\u03af, \u03ae \u03b3\u03c1\u03ac\u03c8\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf \u03c0\u03b5\u03c1\u03b9\u03c4\u03cd\u03bb\u03b9\u03be\u03b7\u03c2 (wrapper script) \u03c0\u03bf\u03c5 \u03b5\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03cd\u03b5\u03b9 \u03c4\u03bf \u03bc\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03c4\u03bf \u03ac\u03b8\u03c1\u03bf\u03b9\u03c3\u03bc\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 (checksum) \u03bc\u03b5\u03c4\u03ac \u03c4\u03b7 \u03bc\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac.<\/p>\n<h3>\u03a0\u03b1\u03b3\u03af\u03b4\u03b1 2: \u0395\u03be\u03ac\u03bd\u03c4\u03bb\u03b7\u03c3\u03b7 \u0394\u03b9\u03b1\u03bc\u03b5\u03c1\u03af\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2 <code>pg_wal<\/code> (WAL Bloat)<\/h3>\n<p>\u0395\u03ac\u03bd \u03b7 <code>archive_command<\/code> \u03b1\u03c0\u03bf\u03c4\u03cd\u03c7\u03b5\u03b9 (\u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c8\u03b5\u03b9 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03b5\u03be\u03cc\u03b4\u03bf\u03c5 \u03bc\u03b7 \u03bc\u03b7\u03b4\u03b5\u03bd\u03b9\u03ba\u03cc)\u2014\u03bb\u03cc\u03b3\u03c9 \u03b4\u03b9\u03b1\u03ba\u03bf\u03c0\u03ce\u03bd \u03b4\u03b9\u03ba\u03c4\u03cd\u03bf\u03c5, \u03bb\u03b1\u03bd\u03b8\u03b1\u03c3\u03bc\u03ad\u03bd\u03c9\u03bd \u03b4\u03b9\u03ba\u03b1\u03b9\u03c9\u03bc\u03ac\u03c4\u03c9\u03bd \u03ae \u03c0\u03bb\u03ae\u03c1\u03bf\u03c5\u03c2 \u03b4\u03af\u03c3\u03ba\u03bf\u03c5 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd\u2014\u03b7 PostgreSQL \u03b8\u03b1 \u03b4\u03b9\u03b1\u03c4\u03b7\u03c1\u03ae\u03c3\u03b5\u03b9 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf WAL \u03c3\u03c4\u03bf\u03bd \u03ba\u03b1\u03c4\u03ac\u03bb\u03bf\u03b3\u03bf <code>pg_wal<\/code> \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03b5\u03c0\u03b1\u03bd\u03b1\u03bb\u03b1\u03bc\u03b2\u03ac\u03bd\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae \u03b5\u03c0&#8217; \u03b1\u03cc\u03c1\u03b9\u03c3\u03c4\u03bf\u03bd.<\/p>\n<p>\u0391\u03bd \u03ba\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc \u03b1\u03c0\u03bf\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03bc\u03b7 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c6\u03bf\u03bd\u03c4\u03b1\u03c2 \u03bc\u03b7 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03b5\u03c4\u03b7\u03bc\u03ad\u03bd\u03b1 WAL, \u03b5\u03b9\u03c3\u03ac\u03b3\u03b5\u03b9 \u03ad\u03bd\u03b1\u03bd \u03c3\u03bf\u03b2\u03b1\u03c1\u03cc \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf \u03b4\u03b9\u03b1\u03b8\u03b5\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2. \u0395\u03ac\u03bd \u03bf \u03ba\u03b1\u03c4\u03ac\u03bb\u03bf\u03b3\u03bf\u03c2 <code>pg_wal<\/code> \u03b2\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b5 \u03ad\u03bd\u03b1 \u03b4\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1 \u03c0\u03bf\u03c5 \u03b3\u03b5\u03bc\u03af\u03b6\u03b5\u03b9 \u03c3\u03c4\u03bf 100%, \u03b7 PostgreSQL \u03b8\u03b1 \u03b5\u03ba\u03b4\u03ce\u03c3\u03b5\u03b9 \u03ad\u03bd\u03b1 <code>PANIC<\/code> \u03ba\u03b1\u03b9 \u03b8\u03b1 \u03ba\u03b1\u03c4\u03b1\u03c1\u03c1\u03b5\u03cd\u03c3\u03b5\u03b9. \u0397 \u03b2\u03ac\u03c3\u03b7 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03b4\u03b5\u03bd \u03b8\u03b1 \u03be\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03b5\u03b9 \u03be\u03b1\u03bd\u03ac \u03bc\u03ad\u03c7\u03c1\u03b9 \u03bd\u03b1 \u03b5\u03bb\u03b5\u03c5\u03b8\u03b5\u03c1\u03c9\u03b8\u03b5\u03af \u03c7\u03ce\u03c1\u03bf\u03c2.<\/p>\n<p><strong>\u039f \u039a\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03c2:<\/strong> \u03a0\u03bb\u03ae\u03c1\u03b7\u03c2 \u03b4\u03b9\u03b1\u03ba\u03bf\u03c0\u03ae \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1\u03c2 \u03c4\u03b7\u03c2 \u03b2\u03ac\u03c3\u03b7\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03bb\u03cc\u03b3\u03c9 \u03c0\u03bb\u03ae\u03c1\u03bf\u03c5\u03c2 \u03b4\u03b9\u03b1\u03bc\u03b5\u03c1\u03af\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2 <code>pg_wal<\/code>.<\/p>\n<p><strong>\u0397 \u039c\u03b5\u03c4\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2:<\/strong><br \/>\n1. \u03a4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03b5\u03af\u03c4\u03b5 \u03c0\u03ac\u03bd\u03c4\u03b1 \u03c4\u03bf <code>pg_wal<\/code> \u03c3\u03b5 \u03ad\u03bd\u03b1 \u03b1\u03c0\u03bf\u03ba\u03bb\u03b5\u03b9\u03c3\u03c4\u03b9\u03ba\u03cc \u03b4\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1 \u03b4\u03af\u03c3\u03ba\u03bf\u03c5.<br \/>\n2. \u0395\u03c6\u03b1\u03c1\u03bc\u03cc\u03c3\u03c4\u03b5 \u03b5\u03c0\u03b9\u03b8\u03b5\u03c4\u03b9\u03ba\u03ae \u03c0\u03b1\u03c1\u03b1\u03ba\u03bf\u03bb\u03bf\u03cd\u03b8\u03b7\u03c3\u03b7 \u03c3\u03c4\u03bf \u03bc\u03ad\u03b3\u03b5\u03b8\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03ba\u03b1\u03c4\u03b1\u03bb\u03cc\u03b3\u03bf\u03c5 <code>pg_wal<\/code>.<br \/>\n3. \u03a0\u03b1\u03c1\u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae <code>pg_stat_archiver<\/code> \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03bd\u03c4\u03bf\u03c0\u03af\u03b6\u03b5\u03c4\u03b5 \u03ac\u03bc\u03b5\u03c3\u03b1 \u03c4\u03b9\u03c2 \u03b1\u03c0\u03bf\u03c4\u03c5\u03c7\u03b7\u03bc\u03ad\u03bd\u03b5\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2.<\/p>\n<h3>\u03a0\u03b1\u03b3\u03af\u03b4\u03b1 3: \u0395\u03bb\u03bb\u03b9\u03c0\u03ae \u0392\u03b1\u03c3\u03b9\u03ba\u03ac \u0391\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03b1 \u0391\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2<\/h3>\n<p>\u0388\u03bd\u03b1 \u03b2\u03b1\u03c3\u03b9\u03ba\u03cc \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ac\u03c7\u03c1\u03b7\u03c3\u03c4\u03bf \u03c7\u03c9\u03c1\u03af\u03c2 \u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 WAL \u03c0\u03bf\u03c5 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd <em>\u03ba\u03b1\u03c4\u03ac \u03c4\u03b7 \u03b4\u03b9\u03ac\u03c1\u03ba\u03b5\u03b9\u03b1<\/em> \u03c4\u03b7\u03c2 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1\u03c2 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1\u03c2 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03c9\u03bd \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2. \u0395\u03ac\u03bd \u03c4\u03c1\u03b1\u03b2\u03ae\u03be\u03b5\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03c3\u03c4\u03b9\u03b3\u03bc\u03b9\u03cc\u03c4\u03c5\u03c0\u03bf (snapshot) \u03c3\u03b5 \u03b5\u03c0\u03af\u03c0\u03b5\u03b4\u03bf \u03c3\u03c5\u03c3\u03c4\u03ae\u03bc\u03b1\u03c4\u03bf\u03c2 \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd \u03ae \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf <code>pg_basebackup<\/code> \u03c7\u03c9\u03c1\u03af\u03c2 \u03c1\u03bf\u03ae (streaming) \u03c4\u03c9\u03bd WAL (<code>-X stream<\/code>), \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03c3\u03c6\u03b1\u03bb\u03af\u03c3\u03b5\u03c4\u03b5 \u03cc\u03c4\u03b9 \u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 WAL \u03c0\u03bf\u03c5 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd \u03bc\u03b5\u03c4\u03b1\u03be\u03cd \u03c4\u03b7\u03c2 \u03ad\u03bd\u03b1\u03c1\u03be\u03b7\u03c2 \u03ba\u03b1\u03b9 \u03c4\u03b7\u03c2 \u03bb\u03ae\u03be\u03b7\u03c2 \u03c4\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5 \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03ad\u03c7\u03bf\u03c5\u03bd \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03b5\u03c4\u03b7\u03b8\u03b5\u03af \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2.<\/p>\n<p>\u0395\u03ac\u03bd \u03bf \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c2 \u03c3\u03b1\u03c2 \u03ba\u03b1\u03b8\u03c5\u03c3\u03c4\u03b5\u03c1\u03b5\u03af \u03ae \u03b1\u03c0\u03bf\u03c4\u03c5\u03b3\u03c7\u03ac\u03bd\u03b5\u03b9, \u03ba\u03b1\u03b9 \u03b1\u03c5\u03c4\u03ac \u03c4\u03b1 \u03c3\u03c5\u03b3\u03ba\u03b5\u03ba\u03c1\u03b9\u03bc\u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 WAL \u03c7\u03b1\u03b8\u03bf\u03cd\u03bd, \u03c4\u03bf \u03b2\u03b1\u03c3\u03b9\u03ba\u03cc \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03b4\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c6\u03b5\u03c1\u03b8\u03b5\u03af \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c0\u03ae \u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7.<\/p>\n<p><strong>\u039f \u039a\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03c2:<\/strong> \u039a\u03b1\u03c4\u03b5\u03c3\u03c4\u03c1\u03b1\u03bc\u03bc\u03ad\u03bd\u03b1 \u03ae \u03bc\u03b7 \u03b1\u03bd\u03b1\u03ba\u03c4\u03ae\u03c3\u03b9\u03bc\u03b1 \u03b2\u03b1\u03c3\u03b9\u03ba\u03ac \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03b1 \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2.<\/p>\n<p><strong>\u0397 \u039c\u03b5\u03c4\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2:<\/strong> \u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf <code>pg_basebackup -X stream<\/code> \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bc\u03c0\u03b5\u03c1\u03b9\u03bb\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c4\u03b1 \u03b1\u03c0\u03b1\u03c1\u03b1\u03af\u03c4\u03b7\u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 WAL \u03bc\u03ad\u03c3\u03b1 \u03c3\u03c4\u03bf \u03af\u03b4\u03b9\u03bf \u03c4\u03bf \u03c6\u03bf\u03c1\u03c4\u03af\u03bf \u03c4\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5 \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2, \u03ae \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03b5\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03ad\u03c2 \u03bb\u03cd\u03c3\u03b5\u03b9\u03c2 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03c9\u03bd \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03c0\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 \u03c4\u03b7\u03bd \u03b5\u03be\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03bc\u03b5\u03c4\u03b1\u03be\u03cd \u03b2\u03b1\u03c3\u03b9\u03ba\u03ce\u03bd \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03c9\u03bd \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03c4\u03bc\u03b7\u03bc\u03ac\u03c4\u03c9\u03bd WAL.<\/p>\n<h3>\u03a0\u03b1\u03b3\u03af\u03b4\u03b1 4: \u03a3\u03cd\u03b3\u03c7\u03c5\u03c3\u03b7 \u03a7\u03c1\u03bf\u03bd\u03bf\u03bb\u03bf\u03b3\u03af\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1 Split-Brain<\/h3>\n<p>\u038c\u03c4\u03b1\u03bd \u03ad\u03bd\u03b1\u03c2 \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae\u03c2 \u03b1\u03bd\u03b1\u03bc\u03bf\u03bd\u03ae\u03c2 (standby) \u03c0\u03c1\u03bf\u03ac\u03b3\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b5 \u03ba\u03cd\u03c1\u03b9\u03bf (primary), \u03b7 PostgreSQL \u03b1\u03c5\u03be\u03ac\u03bd\u03b5\u03b9 \u03c4\u03bf \u00abTimeline ID\u00bb (\u03c4\u03bf \u03c0\u03c1\u03ce\u03c4\u03bf \u03bc\u03ad\u03c1\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03bf\u03bd\u03cc\u03bc\u03b1\u03c4\u03bf\u03c2 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 WAL, \u03c0.\u03c7. <code>0000000200000001000000A4<\/code>). \u0391\u03c5\u03c4\u03cc \u03b5\u03bc\u03c0\u03bf\u03b4\u03af\u03b6\u03b5\u03b9 \u03c4\u03bf\u03bd \u03bd\u03ad\u03bf \u03ba\u03cd\u03c1\u03b9\u03bf \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae \u03b1\u03c0\u03cc \u03c4\u03bf \u03bd\u03b1 \u03b1\u03bd\u03c4\u03b9\u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03ae\u03c3\u03b5\u03b9 \u03c4\u03bf \u03b9\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc WAL \u03c4\u03bf\u03c5 \u03c0\u03b1\u03bb\u03b9\u03bf\u03cd \u03ba\u03cd\u03c1\u03b9\u03bf\u03c5 \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae.<\/p>\n<p>\u03a9\u03c3\u03c4\u03cc\u03c3\u03bf, \u03b5\u03ac\u03bd \u03bf \u03c0\u03b1\u03bb\u03b9\u03cc\u03c2 \u03ba\u03cd\u03c1\u03b9\u03bf\u03c2 \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae\u03c2 \u03be\u03b5\u03ba\u03b9\u03bd\u03ae\u03c3\u03b5\u03b9 \u03ba\u03b1\u03c4\u03ac \u03bb\u03ac\u03b8\u03bf\u03c2 \u03c7\u03c9\u03c1\u03af\u03c2 \u03bd\u03b1 \u03ad\u03c7\u03b5\u03b9 \u03b1\u03c0\u03bf\u03bc\u03bf\u03bd\u03c9\u03b8\u03b5\u03af \u03c3\u03c9\u03c3\u03c4\u03ac (\u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf split-brain), \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03b5\u03c0\u03b9\u03c7\u03b5\u03b9\u03c1\u03ae\u03c3\u03b5\u03b9 \u03bd\u03b1 \u03c3\u03c4\u03b5\u03af\u03bb\u03b5\u03b9 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 WAL \u03c3\u03c4\u03b7\u03bd \u03af\u03b4\u03b9\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c3\u03af\u03b1 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ce\u03bd\u03c4\u03b1\u03c2 \u03c4\u03bf \u03c0\u03b1\u03bb\u03b9\u03cc \u03c7\u03c1\u03bf\u03bd\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf. \u0395\u03ac\u03bd \u03b7 <code>archive_command<\/code> \u03c3\u03b1\u03c2 \u03b1\u03bd\u03c4\u03b9\u03ba\u03b1\u03b8\u03b9\u03c3\u03c4\u03ac \u03c4\u03c5\u03c6\u03bb\u03ac \u03b1\u03c1\u03c7\u03b5\u03af\u03b1, \u03b8\u03b1 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03c3\u03b1\u03c4\u03b5 \u03bd\u03b1 \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03ad\u03c8\u03b5\u03c4\u03b5 \u03c4\u03bf \u03b1\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c1\u03b9\u03bf \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2.<\/p>\n<p><strong>\u039f \u039a\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03c2:<\/strong> \u0391\u03bd\u03c4\u03b9\u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03b7\u03bc\u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 WAL, \u03ba\u03b1\u03c4\u03b5\u03c3\u03c4\u03c1\u03b1\u03bc\u03bc\u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03b9 \u03bc\u03b7 \u03b1\u03bd\u03b1\u03ba\u03c4\u03ae\u03c3\u03b9\u03bc\u03b5\u03c2 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd.<\/p>\n<p><strong>\u0397 \u039c\u03b5\u03c4\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2:<\/strong> \u0397 <code>archive_command<\/code> \u03c3\u03b1\u03c2 \u03b4\u03b5\u03bd \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 <em>\u03c0\u03bf\u03c4\u03ad<\/em> \u03bd\u03b1 \u03b1\u03bd\u03c4\u03b9\u03ba\u03b1\u03b8\u03b9\u03c3\u03c4\u03ac \u03ad\u03bd\u03b1 \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03bd \u03b1\u03c1\u03c7\u03b5\u03af\u03bf. \u03a0\u03b1\u03c1\u03b1\u03c4\u03b7\u03c1\u03ae\u03c3\u03c4\u03b5 \u03c3\u03c4\u03b7 \u03b2\u03b1\u03c3\u03b9\u03ba\u03ae \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 \u03bd\u03c9\u03c1\u03af\u03c4\u03b5\u03c1\u03b1, \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b1\u03bc\u03b5 \u03c4\u03bf <code>test ! -f \/mnt\/nfs\/archive\/%f<\/code> \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03c0\u03bf\u03c4\u03cd\u03c7\u03bf\u03c5\u03bc\u03b5 \u03c1\u03b7\u03c4\u03ac \u03b5\u03ac\u03bd \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03ae\u03b4\u03b7.<\/p>\n<h2>\u039c\u03b5\u03c4\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u039a\u03b9\u03bd\u03b4\u03cd\u03bd\u03c9\u03bd \u0391\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u0394\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd: \u0392\u03ad\u03bb\u03c4\u03b9\u03c3\u03c4\u03b5\u03c2 \u03a0\u03c1\u03b1\u03ba\u03c4\u03b9\u03ba\u03ad\u03c2 \u03a0\u03b1\u03c1\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2<\/h2>\n<p>\u0393\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03bd\u03b9\u03c3\u03c7\u03cd\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7 \u03c3\u03c4\u03c1\u03b1\u03c4\u03b7\u03b3\u03b9\u03ba\u03ae \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 \u03c4\u03b7\u03c2 PostgreSQL, \u03b5\u03c6\u03b1\u03c1\u03bc\u03cc\u03c3\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03b1\u03ba\u03cc\u03bb\u03bf\u03c5\u03b8\u03b5\u03c2 \u03b2\u03ad\u03bb\u03c4\u03b9\u03c3\u03c4\u03b5\u03c2 \u03c0\u03c1\u03b1\u03ba\u03c4\u03b9\u03ba\u03ad\u03c2.<\/p>\n<h3>1. \u03a0\u03b1\u03c1\u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03ae\u03c3\u03c4\u03b5 \u03c4\u03b7 \u0394\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 \u0395\u03b3\u03b3\u03b5\u03bd\u03ce\u03c2<\/h3>\n<p>\u0397 PostgreSQL \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03b7 \u03c0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae, \u03c4\u03b7\u03bd <code>pg_stat_archiver<\/code>, \u03b7 \u03bf\u03c0\u03bf\u03af\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03b5\u03af \u03c4\u03b7\u03bd \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1 \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03c4\u03b7\u03c2 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1\u03c2 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2. \u0398\u03b1 \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03ce\u03c3\u03b5\u03c4\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae \u03c3\u03c4\u03b7 \u03c3\u03c4\u03bf\u03af\u03b2\u03b1 \u03c0\u03b1\u03c1\u03b1\u03c4\u03b7\u03c1\u03b7\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03ac\u03c2 \u03c3\u03b1\u03c2 (\u03c0.\u03c7. Prometheus, Datadog \u03ae Zabbix).<\/p>\n<pre><code class=\"language-sql\">SELECT \n    archived_count,\n    last_archived_wal,\n    last_archived_time,\n    failed_count,\n    last_failed_wal,\n    last_failed_time,\n    stats_reset\nFROM pg_stat_archiver;\n<\/code><\/pre>\n<p><strong>\u039a\u03b1\u03c4\u03ce\u03c6\u03bb\u03b9\u03b1 \u03b5\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c9\u03bd \u03c0\u03c1\u03bf\u03c2 \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7:<\/strong><br \/>\n* \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b5\u03ac\u03bd \u03b1\u03c5\u03be\u03b7\u03b8\u03b5\u03af \u03c4\u03bf <code>failed_count<\/code>.<br \/>\n* \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b5\u03ac\u03bd \u03b7 \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03ac \u03c7\u03c1\u03cc\u03bd\u03bf\u03c5 \u03bc\u03b5\u03c4\u03b1\u03be\u03cd <code>now()<\/code> \u03ba\u03b1\u03b9 <code>last_archived_time<\/code> \u03c5\u03c0\u03b5\u03c1\u03b2\u03b1\u03af\u03bd\u03b5\u03b9 \u03c4\u03bf \u03ba\u03b1\u03c4\u03ce\u03c6\u03bb\u03b9 RPO \u03c3\u03b1\u03c2 (\u03c0.\u03c7. 15 \u03bb\u03b5\u03c0\u03c4\u03ac), \u03ad\u03c7\u03bf\u03bd\u03c4\u03b1\u03c2 \u03ba\u03b1\u03c4\u03ac \u03bd\u03bf\u03c5 \u03cc\u03c4\u03b9 \u03bf\u03b9 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03bc\u03b5 \u03c7\u03b1\u03bc\u03b7\u03bb\u03ae \u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03c6\u03c5\u03c3\u03b9\u03bf\u03bb\u03bf\u03b3\u03b9\u03ba\u03ac \u03bd\u03b1 \u03ad\u03c7\u03bf\u03c5\u03bd \u03ba\u03b1\u03b8\u03c5\u03c3\u03c4\u03b5\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2 \u03b5\u03ba\u03c4\u03cc\u03c2 \u03b5\u03ac\u03bd \u03ad\u03c7\u03b5\u03b9 \u03bf\u03c1\u03b9\u03c3\u03c4\u03b5\u03af \u03c4\u03bf <code>archive_timeout<\/code>.<\/p>\n<h3>2. \u0391\u03be\u03b9\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf <code>archive_timeout<\/code><\/h3>\n<p>\u03a3\u03b5 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03bc\u03b5 \u03c7\u03b1\u03bc\u03b7\u03bb\u03cc \u03cc\u03b3\u03ba\u03bf \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ce\u03bd, \u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf WAL 16MB \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03c7\u03c1\u03b5\u03b9\u03b1\u03c3\u03c4\u03b5\u03af \u03ce\u03c1\u03b5\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b3\u03b5\u03bc\u03af\u03c3\u03b5\u03b9. \u039c\u03ad\u03c7\u03c1\u03b9 \u03bd\u03b1 \u03b3\u03b5\u03bc\u03af\u03c3\u03b5\u03b9, \u03b4\u03b5\u03bd \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03b5\u03c4\u03b5\u03af\u03c4\u03b1\u03b9. \u0395\u03ac\u03bd \u03bf \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae\u03c2 \u03ba\u03b1\u03c4\u03b1\u03c1\u03c1\u03b5\u03cd\u03c3\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03bf \u03c4\u03bf\u03c0\u03b9\u03ba\u03cc\u03c2 \u03b4\u03af\u03c3\u03ba\u03bf\u03c2 \u03c7\u03b1\u03b8\u03b5\u03af, \u03c7\u03ac\u03bd\u03b5\u03c4\u03b5 \u03ce\u03c1\u03b5\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ce\u03bd.<\/p>\n<p>\u0397 \u03c1\u03cd\u03b8\u03bc\u03b9\u03c3\u03b7 <code>archive_timeout = 600<\/code> (10 \u03bb\u03b5\u03c0\u03c4\u03ac) \u03b1\u03bd\u03b1\u03b3\u03ba\u03ac\u03b6\u03b5\u03b9 \u03c4\u03b7\u03bd PostgreSQL \u03bd\u03b1 \u03bc\u03b5\u03c4\u03b1\u03b2\u03b5\u03af \u03c3\u03b5 \u03ad\u03bd\u03b1 \u03bd\u03ad\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf WAL \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03b5\u03c4\u03ae\u03c3\u03b5\u03b9 \u03c4\u03bf \u03c4\u03c1\u03ad\u03c7\u03bf\u03bd, \u03b1\u03ba\u03cc\u03bc\u03b1 \u03ba\u03b9 \u03b1\u03bd \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b3\u03b5\u03bc\u03ac\u03c4\u03bf. \u0391\u03c5\u03c4\u03cc \u03b5\u03b3\u03b3\u03c5\u03ac\u03c4\u03b1\u03b9 \u03cc\u03c4\u03b9 \u03c4\u03bf RPO \u03c3\u03b1\u03c2 \u03b4\u03b5\u03bd \u03c5\u03c0\u03b5\u03c1\u03b2\u03b1\u03af\u03bd\u03b5\u03b9 \u03c4\u03b1 10 \u03bb\u03b5\u03c0\u03c4\u03ac, \u03bc\u03b5 \u03c4\u03bf \u03ba\u03cc\u03c3\u03c4\u03bf\u03c2 \u03b5\u03bb\u03b1\u03c6\u03c1\u03ce\u03c2 \u03c5\u03c8\u03b7\u03bb\u03cc\u03c4\u03b5\u03c1\u03b7\u03c2 \u03c7\u03c1\u03ae\u03c3\u03b7\u03c2 \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03c5\u03c4\u03b9\u03ba\u03bf\u03cd \u03c7\u03ce\u03c1\u03bf\u03c5 \u03bb\u03cc\u03b3\u03c9 \u03c4\u03c9\u03bd \u03bc\u03b5\u03c1\u03b9\u03ba\u03ce\u03c2 \u03b3\u03b5\u03bc\u03ac\u03c4\u03c9\u03bd \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd WAL.<\/p>\n<h3>3. \u039c\u03b5\u03c4\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03b5 <code>archive_library<\/code> (PostgreSQL 15+)<\/h3>\n<p>\u0399\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03ac, \u03b7 <code>archive_command<\/code> \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03bf\u03cd\u03c3\u03b5 \u03bc\u03b9\u03b1 \u03bd\u03ad\u03b1 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1 \u03ba\u03b5\u03bb\u03cd\u03c6\u03bf\u03c5\u03c2 \u03b3\u03b9\u03b1 \u03ba\u03ac\u03b8\u03b5 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf WAL. \u03a3\u03b5 \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd\u03c4\u03b1 \u03c5\u03c8\u03b7\u03bb\u03ae\u03c2 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2 \u03c0\u03bf\u03c5 \u03c0\u03b1\u03c1\u03ac\u03b3\u03bf\u03c5\u03bd \u03b5\u03ba\u03b1\u03c4\u03bf\u03bd\u03c4\u03ac\u03b4\u03b5\u03c2 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 WAL \u03b1\u03bd\u03ac \u03bb\u03b5\u03c0\u03c4\u03cc, \u03c4\u03bf \u03ba\u03cc\u03c3\u03c4\u03bf\u03c2 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1\u03c2 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03b9\u03ce\u03bd \u03ba\u03b5\u03bb\u03cd\u03c6\u03bf\u03c5\u03c2 \u03b3\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b7\u03bc\u03b5\u03af\u03bf \u03c3\u03c5\u03bc\u03c6\u03cc\u03c1\u03b7\u03c3\u03b7\u03c2 \u03c4\u03b7\u03c2 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2.<\/p>\n<p>\u0397 PostgreSQL 15 \u03b5\u03b9\u03c3\u03ae\u03b3\u03b1\u03b3\u03b5 \u03c4\u03b7\u03bd \u03c0\u03b1\u03c1\u03ac\u03bc\u03b5\u03c4\u03c1\u03bf <code>archive_library<\/code>, \u03b5\u03c0\u03b9\u03c4\u03c1\u03ad\u03c0\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03bd\u03b1 \u03b3\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03b4\u03c5\u03bd\u03b1\u03bc\u03b9\u03ba\u03ac \u03c6\u03bf\u03c1\u03c4\u03c9\u03bc\u03ad\u03bd\u03b5\u03c2 \u03bc\u03bf\u03bd\u03ac\u03b4\u03b5\u03c2 C. \u0391\u03c5\u03c4\u03cc \u03b5\u03be\u03b1\u03bb\u03b5\u03af\u03c6\u03b5\u03b9 \u03c4\u03bf \u03ba\u03cc\u03c3\u03c4\u03bf\u03c2 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03af\u03b1\u03c2 \u03ba\u03b5\u03bb\u03cd\u03c6\u03bf\u03c5\u03c2 \u03ba\u03b1\u03b9 \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03ad\u03bd\u03b1\u03bd \u03c0\u03bf\u03bb\u03cd \u03c0\u03b9\u03bf \u03b9\u03c3\u03c7\u03c5\u03c1\u03cc \u03bc\u03b7\u03c7\u03b1\u03bd\u03b9\u03c3\u03bc\u03cc \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 \u03c5\u03c8\u03b7\u03bb\u03ae\u03c2 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2. \u0395\u03ac\u03bd \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b5 PostgreSQL 15 \u03ae \u03bd\u03b5\u03cc\u03c4\u03b5\u03c1\u03b7 \u03ad\u03ba\u03b4\u03bf\u03c3\u03b7, \u03b1\u03bd\u03b1\u03b6\u03b7\u03c4\u03ae\u03c3\u03c4\u03b5 \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03b1 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03c9\u03bd \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03c0\u03bf\u03c5 \u03c5\u03c0\u03bf\u03c3\u03c4\u03b7\u03c1\u03af\u03b6\u03bf\u03c5\u03bd \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03c3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03bc\u03bf\u03bd\u03ac\u03b4\u03b5\u03c2 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2.<\/p>\n<h3>4. \u03a4\u03b1\u03ba\u03c4\u03b9\u03ba\u03cc\u03c2 \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u0391\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7\u03c2 \u03c3\u03b5 \u03a7\u03c1\u03bf\u03bd\u03b9\u03ba\u03cc \u03a3\u03b7\u03bc\u03b5\u03af\u03bf<\/h3>\n<p>\u0388\u03bd\u03b1 \u03bc\u03b7 \u03b5\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03bf \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2\u00b7 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03b1 \u03b5\u03c5\u03c7\u03ae. \u039f \u03bc\u03cc\u03bd\u03bf\u03c2 \u03c4\u03c1\u03cc\u03c0\u03bf\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03cd\u03c3\u03b5\u03c4\u03b5 \u03cc\u03c4\u03b9 \u03b7 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03c3\u03c9\u03c3\u03c4\u03ac, \u03cc\u03c4\u03b9 \u03b7 \u03b1\u03bb\u03c5\u03c3\u03af\u03b4\u03b1 WAL \u03c3\u03b1\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b1\u03b4\u03b9\u03ac\u03c3\u03c0\u03b1\u03c3\u03c4\u03b7 \u03ba\u03b1\u03b9 \u03cc\u03c4\u03b9 \u03c4\u03b1 \u03b2\u03b1\u03c3\u03b9\u03ba\u03ac \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03b1 \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03c3\u03b1\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c3\u03c5\u03bd\u03b5\u03c0\u03ae, \u03b5\u03af\u03bd\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03ba\u03c4\u03b5\u03bb\u03b5\u03af\u03c4\u03b5 \u03c4\u03b1\u03ba\u03c4\u03b9\u03ba\u03bf\u03cd\u03c2, \u03b1\u03c5\u03c4\u03bf\u03bc\u03b1\u03c4\u03bf\u03c0\u03bf\u03b9\u03b7\u03bc\u03ad\u03bd\u03bf\u03c5\u03c2 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5\u03c2 PITR.<\/p>\n<p>\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03c0\u03c1\u03bf\u03c3\u03c9\u03c1\u03b9\u03bd\u03cc \u03c3\u03c4\u03b9\u03b3\u03bc\u03b9\u03cc\u03c4\u03c5\u03c0\u03bf, \u03b5\u03c0\u03b1\u03bd\u03b1\u03c6\u03ad\u03c1\u03b5\u03c4\u03b5 \u03c4\u03bf \u03b2\u03b1\u03c3\u03b9\u03ba\u03cc \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2, \u03b4\u03b9\u03b1\u03bc\u03bf\u03c1\u03c6\u03ce\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd <code>restore_command<\/code> \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b1\u03bd\u03c4\u03bb\u03b5\u03af \u03b1\u03c0\u03cc \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c3\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b1\u03bd\u03b1\u03ba\u03c4\u03ae\u03c3\u03c4\u03b5 \u03c3\u03b5 \u03ad\u03bd\u03b1 \u03c3\u03c5\u03b3\u03ba\u03b5\u03ba\u03c1\u03b9\u03bc\u03ad\u03bd\u03bf \u03c7\u03c1\u03bf\u03bd\u03b9\u03ba\u03cc \u03c3\u03b7\u03bc\u03b5\u03af\u03bf. \u0395\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03cd\u03c3\u03c4\u03b5 \u03cc\u03c4\u03b9 \u03b7 \u03b2\u03ac\u03c3\u03b7 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03c6\u03c4\u03ac\u03bd\u03b5\u03b9 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c0\u03ae \u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u03ba\u03b1\u03b9 \u03b1\u03bd\u03bf\u03af\u03b3\u03b5\u03b9 \u03b3\u03b9\u03b1 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2.<\/p>\n<h2>\u0395\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03ac \u0391\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03b1 \u0391\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03ba\u03b1\u03b9 \u0391\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7 \u03bc\u03b5 \u03c4\u03bf CloudSave<\/h2>\n<p>\u0397 \u03b4\u03b9\u03b1\u03c7\u03b5\u03af\u03c1\u03b9\u03c3\u03b7 \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03c3\u03bc\u03ad\u03bd\u03c9\u03bd \u03c3\u03b5\u03bd\u03b1\u03c1\u03af\u03c9\u03bd \u03ba\u03b5\u03bb\u03cd\u03c6\u03bf\u03c5\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd <code>archive_command<\/code>, \u03bf \u03c7\u03b5\u03b9\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c4\u03b7\u03c2 \u03b1\u03c0\u03bf\u03b4\u03b9\u03c0\u03bb\u03bf\u03c4\u03c5\u03c0\u03af\u03b1\u03c2 (deduplication) WAL \u03ba\u03b1\u03b9 \u03b7 \u03b4\u03b9\u03b1\u03c3\u03c6\u03ac\u03bb\u03b9\u03c3\u03b7 \u03b1\u03c3\u03c6\u03b1\u03bb\u03bf\u03cd\u03c2, \u03b1\u03c0\u03bf\u03bc\u03b1\u03ba\u03c1\u03c5\u03c3\u03bc\u03ad\u03bd\u03b7\u03c2 \u03b1\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ce\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03b3\u03c1\u03ae\u03b3\u03bf\u03c1\u03b1 \u03bd\u03b1 \u03b3\u03af\u03bd\u03b5\u03b9 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03b9\u03ba\u03cc \u03b2\u03ac\u03c1\u03bf\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03b9\u03c2 \u03bf\u03bc\u03ac\u03b4\u03b5\u03c2 IT.<\/p>\n<p>\u0395\u03b4\u03ce \u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03bf\u03c5 \u03c4\u03bf CloudSave \u03c0\u03c1\u03bf\u03c3\u03c6\u03ad\u03c1\u03b5\u03b9 \u03c3\u03b7\u03bc\u03b1\u03bd\u03c4\u03b9\u03ba\u03ae \u03b1\u03be\u03af\u03b1 \u03b3\u03b9\u03b1 \u03b5\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03ac \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd\u03c4\u03b1 PostgreSQL. \u03a4\u03bf CloudSave \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03ce\u03bd\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03b5\u03c5\u03b8\u03b5\u03af\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03b1 \u03b5\u03b3\u03b3\u03b5\u03bd\u03ae API \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03c9\u03bd \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 WAL \u03c4\u03b7\u03c2 PostgreSQL \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b5\u03be\u03b1\u03bb\u03b5\u03af\u03c8\u03b5\u03b9 \u03c4\u03b9\u03c2 \u03c7\u03b5\u03b9\u03c1\u03bf\u03ba\u03af\u03bd\u03b7\u03c4\u03b5\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03c0\u03bf\u03c5 \u03c3\u03c5\u03b6\u03b7\u03c4\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd \u03c0\u03b1\u03c1\u03b1\u03c0\u03ac\u03bd\u03c9.<\/p>\n<p>\u0391\u03bd\u03c4\u03af \u03bd\u03b1 \u03b3\u03c1\u03ac\u03c6\u03b5\u03c4\u03b5 \u03b5\u03cd\u03b8\u03c1\u03b1\u03c5\u03c3\u03c4\u03b1 \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1 bash, \u03c4\u03bf CloudSave \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03b9\u03c3\u03c7\u03c5\u03c1\u03ae \u03b5\u03bd\u03c3\u03c9\u03bc\u03ac\u03c4\u03c9\u03c3\u03b7, \u03b2\u03b1\u03c3\u03b9\u03c3\u03bc\u03ad\u03bd\u03b7 \u03c3\u03b5 \u03c0\u03c1\u03ac\u03ba\u03c4\u03bf\u03c1\u03b1 (agent) \u03ae \u03c7\u03c9\u03c1\u03af\u03c2 \u03c0\u03c1\u03ac\u03ba\u03c4\u03bf\u03c1\u03b1, \u03c0\u03bf\u03c5:<br \/>\n* <strong>\u0395\u03b3\u03b3\u03c5\u03ac\u03c4\u03b1\u03b9 \u03c4\u03b7\u03bd \u03a0\u03b1\u03c1\u03ac\u03b4\u03bf\u03c3\u03b7:<\/strong> \u0391\u03bd\u03c4\u03b9\u03ba\u03b1\u03b8\u03b9\u03c3\u03c4\u03ac \u03c4\u03b9\u03c2 \u03c4\u03c5\u03c0\u03b9\u03ba\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03ba\u03b5\u03bb\u03cd\u03c6\u03bf\u03c5\u03c2 \u03bc\u03b5 \u03b5\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03c5\u03bc\u03ad\u03bd\u03b5\u03c2 \u03bc\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ad\u03c2 \u03bc\u03b5 \u03b5\u03c0\u03b9\u03ba\u03cd\u03c1\u03c9\u03c3\u03b7 \u03b1\u03b8\u03c1\u03bf\u03af\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03c3\u03b5 \u03b1\u03c3\u03c6\u03b1\u03bb\u03ae \u03b1\u03c0\u03bf\u03bc\u03b1\u03ba\u03c1\u03c5\u03c3\u03bc\u03ad\u03bd\u03bf \u03ae cloud \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc \u03c7\u03ce\u03c1\u03bf.<br \/>\n* <strong>\u0391\u03c0\u03bf\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c4\u03bf WAL Bloat:<\/strong> \u03a0\u03b1\u03c1\u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03b5\u03af \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c4\u03bf\u03bd \u03ba\u03b1\u03c4\u03ac\u03bb\u03bf\u03b3\u03bf <code>pg_wal<\/code> \u03ba\u03b1\u03b9 \u03b5\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03b5\u03af \u03c4\u03bf\u03c5\u03c2 \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03b9\u03c3\u03c4\u03ad\u03c2 \u03c0\u03bf\u03bb\u03cd \u03c0\u03c1\u03b9\u03bd \u03c3\u03c5\u03bc\u03b2\u03b5\u03af \u03b5\u03be\u03ac\u03bd\u03c4\u03bb\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03bc\u03b5\u03c1\u03af\u03c3\u03bc\u03b1\u03c4\u03bf\u03c2.<br \/>\n* <strong>\u0391\u03c5\u03c4\u03bf\u03bc\u03b1\u03c4\u03bf\u03c0\u03bf\u03b9\u03b5\u03af \u03c4\u03bf PITR:<\/strong> \u0391\u03c0\u03bb\u03bf\u03c0\u03bf\u03b9\u03b5\u03af \u03c4\u03b7\u03bd \u0391\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03a7\u03c1\u03bf\u03bd\u03b9\u03ba\u03cc \u03a3\u03b7\u03bc\u03b5\u03af\u03bf \u03bc\u03ad\u03c3\u03c9 \u03bc\u03b9\u03b1\u03c2 \u03b4\u03b9\u03b1\u03b9\u03c3\u03b8\u03b7\u03c4\u03b9\u03ba\u03ae\u03c2 \u03b4\u03b9\u03b5\u03c0\u03b1\u03c6\u03ae\u03c2. \u0395\u03c0\u03b9\u03bb\u03ad\u03b3\u03b5\u03c4\u03b5 \u03c4\u03bf \u03b1\u03ba\u03c1\u03b9\u03b2\u03ad\u03c2 \u03bb\u03b5\u03c0\u03c4\u03cc \u03c3\u03c4\u03bf \u03bf\u03c0\u03bf\u03af\u03bf \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03b1\u03bd\u03b1\u03ba\u03c4\u03ae\u03c3\u03b5\u03c4\u03b5, \u03ba\u03b1\u03b9 \u03c4\u03bf CloudSave \u03b1\u03bd\u03b1\u03ba\u03c4\u03ac \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 \u03c4\u03bf \u03c3\u03c9\u03c3\u03c4\u03cc \u03b2\u03b1\u03c3\u03b9\u03ba\u03cc \u03b1\u03bd\u03c4\u03af\u03b3\u03c1\u03b1\u03c6\u03bf \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03bc\u03b5\u03c4\u03b1\u03b4\u03af\u03b4\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b1\u03ba\u03c1\u03b9\u03b2\u03ae \u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03af\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd WAL \u03c0\u03bf\u03c5 \u03b1\u03c0\u03b1\u03b9\u03c4\u03bf\u03cd\u03bd\u03c4\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c6\u03c4\u03ac\u03c3\u03b5\u03c4\u03b5 \u03c3\u03b5 \u03b1\u03c5\u03c4\u03ae \u03c4\u03b7\u03bd \u03ba\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7.<br \/>\n* <strong>\u0394\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03a7\u03c1\u03bf\u03bd\u03bf\u03bb\u03cc\u03b3\u03b9\u03b1:<\/strong> \u0394\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03ad\u03be\u03c5\u03c0\u03bd\u03b1 \u03c4\u03b1 \u03b9\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03ac \u03c7\u03c1\u03bf\u03bd\u03bf\u03bb\u03bf\u03b3\u03af\u03c9\u03bd \u03c4\u03b7\u03c2 PostgreSQL, \u03b4\u03b9\u03b1\u03c3\u03c6\u03b1\u03bb\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03c2 \u03cc\u03c4\u03b9 \u03bf\u03b9 \u03bc\u03b5\u03c4\u03b1\u03c0\u03b7\u03b4\u03ae\u03c3\u03b5\u03b9\u03c2 (failovers) \u03ba\u03b1\u03b9 \u03c4\u03b1 \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1 split-brain \u03b4\u03b5\u03bd \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03ad\u03c6\u03bf\u03c5\u03bd \u03c4\u03bf \u03b1\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c1\u03b9\u03bf \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03c9\u03bd \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03c3\u03b1\u03c2.<\/p>\n<p>\u039c\u03b5\u03c4\u03b1\u03c6\u03ad\u03c1\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c4\u03bf \u03b2\u03b1\u03c1\u03cd \u03c6\u03bf\u03c1\u03c4\u03af\u03bf \u03c4\u03b7\u03c2 \u03b4\u03b9\u03b1\u03c7\u03b5\u03af\u03c1\u03b9\u03c3\u03b7\u03c2 WAL \u03c3\u03c4\u03bf CloudSave, \u03bf\u03b9 DBAs \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bd \u03bd\u03b1 \u03b5\u03c0\u03b9\u03ba\u03b5\u03bd\u03c4\u03c1\u03c9\u03b8\u03bf\u03cd\u03bd \u03c3\u03c4\u03b7 \u03b2\u03b5\u03bb\u03c4\u03b9\u03c3\u03c4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b5\u03c1\u03c9\u03c4\u03b7\u03bc\u03ac\u03c4\u03c9\u03bd \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7 \u03c4\u03b7\u03c2 \u03b2\u03ac\u03c3\u03b7\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd, \u03b3\u03bd\u03c9\u03c1\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03c2 \u03cc\u03c4\u03b9 \u03c4\u03b1 SLA RPO \u03ba\u03b1\u03b9 RTO \u03c4\u03bf\u03c5\u03c2 \u03c0\u03c1\u03bf\u03c3\u03c4\u03b1\u03c4\u03b5\u03cd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03bc\u03b9\u03b1 \u03c0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b1 \u03b5\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03bf\u03cd \u03b5\u03c0\u03b9\u03c0\u03ad\u03b4\u03bf\u03c5.<\/p>\n<h2>\u03a3\u03c5\u03bc\u03c0\u03ad\u03c1\u03b1\u03c3\u03bc\u03b1<\/h2>\n<p>\u0397 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c4\u03b7\u03c2 PostgreSQL \u03b5\u03af\u03bd\u03b1\u03b9 \u03b7 \u03c1\u03b1\u03c7\u03bf\u03ba\u03bf\u03ba\u03b1\u03bb\u03b9\u03ac \u03c4\u03b7\u03c2 \u03b1\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7\u03c2 \u03b1\u03c0\u03cc \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae \u03b2\u03ac\u03c3\u03b5\u03c9\u03bd \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd. \u0391\u03bd \u03ba\u03b1\u03b9 \u03b7 \u03ad\u03bd\u03bd\u03bf\u03b9\u03b1 \u03c4\u03b7\u03c2 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 \u03b5\u03bd\u03cc\u03c2 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1\u03bd \u03ba\u03b1\u03c4\u03ac\u03bb\u03bf\u03b3\u03bf \u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03ac\u03bb\u03bb\u03bf\u03bd \u03c6\u03b1\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03bb\u03ae, \u03bf\u03b9 \u03bf\u03c1\u03b9\u03b1\u03ba\u03ad\u03c2 \u03c0\u03b5\u03c1\u03b9\u03c0\u03c4\u03ce\u03c3\u03b5\u03b9\u03c2\u2014\u03c3\u03b9\u03c9\u03c0\u03b7\u03bb\u03ad\u03c2 \u03b1\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b5\u03c2, \u03b5\u03be\u03ac\u03bd\u03c4\u03bb\u03b7\u03c3\u03b7 \u03b4\u03af\u03c3\u03ba\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03b1\u03c0\u03cc\u03ba\u03bb\u03b9\u03c3\u03b7 \u03c7\u03c1\u03bf\u03bd\u03bf\u03bb\u03bf\u03b3\u03af\u03bf\u03c5\u2014\u03b8\u03ad\u03c4\u03bf\u03c5\u03bd \u03c3\u03bf\u03b2\u03b1\u03c1\u03bf\u03cd\u03c2 \u03ba\u03b9\u03bd\u03b4\u03cd\u03bd\u03bf\u03c5\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b1\u03ba\u03b5\u03c1\u03b1\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1 \u03c4\u03c9\u03bd \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd.<\/p>\n<p>\u039a\u03b1\u03c4\u03b1\u03bd\u03bf\u03ce\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03b9\u03c4\u03b5\u03ba\u03c4\u03bf\u03bd\u03b9\u03ba\u03ae \u03c4\u03bf\u03c5 <code>pg_wal<\/code>, \u03b1\u03c0\u03bf\u03c6\u03b5\u03cd\u03b3\u03bf\u03bd\u03c4\u03b1\u03c2 \u03b1\u03c5\u03c3\u03c4\u03b7\u03c1\u03ac \u03c4\u03b9\u03c2 \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03bf\u03c6\u03b9\u03ba\u03ad\u03c2 \u03b4\u03b9\u03b1\u03bc\u03bf\u03c1\u03c6\u03ce\u03c3\u03b5\u03b9\u03c2 <code>archive_command<\/code>, \u03c0\u03b1\u03c1\u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03ce\u03bd\u03c4\u03b1\u03c2 \u03c4\u03bf <code>pg_stat_archiver<\/code> \u03ba\u03b1\u03b9 \u03b1\u03be\u03b9\u03bf\u03c0\u03bf\u03b9\u03ce\u03bd\u03c4\u03b1\u03c2 \u03b5\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03ad\u03c2 \u03c0\u03bb\u03b1\u03c4\u03c6\u03cc\u03c1\u03bc\u03b5\u03c2 \u03b1\u03bd\u03c4\u03b9\u03b3\u03c1\u03ac\u03c6\u03c9\u03bd \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2 \u03cc\u03c0\u03c9\u03c2 \u03c4\u03bf CloudSave, \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03b1\u03bd\u03b8\u03b5\u03ba\u03c4\u03b9\u03ba\u03ae \u03c5\u03c0\u03bf\u03b4\u03bf\u03bc\u03ae PostgreSQL \u03b9\u03ba\u03b1\u03bd\u03ae \u03bd\u03b1 \u03b5\u03c0\u03b9\u03b2\u03b9\u03ce\u03c3\u03b5\u03b9 \u03b1\u03c0\u03cc \u03b1\u03c3\u03c4\u03bf\u03c7\u03af\u03b5\u03c2 \u03c5\u03bb\u03b9\u03ba\u03bf\u03cd, \u03b1\u03bd\u03b8\u03c1\u03ce\u03c0\u03b9\u03bd\u03b1 \u03bb\u03ac\u03b8\u03b7 \u03ba\u03b1\u03b9 \u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03c1\u03bf\u03c6\u03b9\u03ba\u03ad\u03c2 \u03b4\u03b9\u03b1\u03ba\u03bf\u03c0\u03ad\u03c2 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1\u03c2 \u03c7\u03c9\u03c1\u03af\u03c2 \u03bd\u03b1 \u03c7\u03ac\u03c3\u03b5\u03c4\u03b5 \u03bf\u03cd\u03c4\u03b5 \u03bc\u03af\u03b1 \u03b4\u03b5\u03c3\u03bc\u03b5\u03c5\u03bc\u03ad\u03bd\u03b7 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae.<\/p>\n<blockquote>\n<p>\u0391\u03bd\u03b1\u03ba\u03b1\u03bb\u03cd\u03c8\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b7\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03c4\u03b7\u03c2 \u03b1\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7\u03c2 WAL \u03c4\u03b7\u03c2 PostgreSQL \u03c0\u03bf\u03c5 \u03bf\u03b4\u03b7\u03b3\u03bf\u03cd\u03bd \u03c3\u03b5 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd. \u039c\u03ac\u03b8\u03b5\u03c4\u03b5 \u03b2\u03ad\u03bb\u03c4\u03b9\u03c3\u03c4\u03b5\u03c2 \u03c0\u03c1\u03b1\u03ba\u03c4\u03b9\u03ba\u03ad\u03c2 \u03b1\u03c0\u03cc \u03b5\u03b9\u03b4\u03b9\u03ba\u03bf\u03cd\u03c2 DBA, \u03c3\u03c5\u03bc\u03b2\u03bf\u03c5\u03bb\u03ad\u03c2 \u03b4\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7\u03c2 \u03ba\u03b1\u03b9 \u03c0\u03ce\u03c2 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03c3\u03c6\u03b1\u03bb\u03af\u03c3\u03b5\u03c4\u03b5 \u03b1\u03be\u03b9\u03cc\u03c0\u03b9\u03c3\u03c4\u03b7 \u0391\u03bd\u03ac\u03ba\u03c4\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03a7\u03c1\u03bf\u03bd\u03b9\u03ba\u03cc \u03a3\u03b7\u03bc\u03b5\u03af\u03bf (PITR) \u03b3\u03b9\u03b1 \u03b5\u03c4\u03b1\u03b9\u03c1\u03b9\u03ba\u03ad\u03c2 \u03b2\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>**<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"PostgreSQL WAL Archiving: Pitfalls & Data Loss Risks","rank_math_description":"**","rank_math_focus_keyword":"postgresql wal archiving","footnotes":""},"categories":[455],"tags":[456,955,459,460,461,462,3227],"class_list":["post-4521","post","type-post","status-publish","format-standard","hentry","category-database-backup","tag-data-loss-prevention","tag-database-administration","tag-pitr","tag-point-in-time-recovery","tag-postgresql","tag-rpo","tag-wal-archiving"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>PostgreSQL WAL Archiving: Pitfalls &amp; Data Loss Risks<\/title>\n<meta name=\"description\" content=\"**\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/\" \/>\n<meta property=\"og:locale\" content=\"el_GR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c3\u03c4\u03b7\u03bd PostgreSQL: \u03a3\u03c5\u03bd\u03ae\u03b8\u03b5\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03b9 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd\" \/>\n<meta property=\"og:description\" content=\"**\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudSave\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-14T19:31:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-15T14:18:22+00:00\" \/>\n<meta name=\"author\" content=\"shervinrv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u03a3\u03c5\u03bd\u03c4\u03ac\u03c7\u03b8\u03b7\u03ba\u03b5 \u03b1\u03c0\u03cc\" \/>\n\t<meta name=\"twitter:data1\" content=\"shervinrv\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0395\u03ba\u03c4\u03b9\u03bc\u03ce\u03bc\u03b5\u03bd\u03bf\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2 \u03b1\u03bd\u03ac\u03b3\u03bd\u03c9\u03c3\u03b7\u03c2\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u03bb\u03b5\u03c0\u03c4\u03cc\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/\"},\"author\":{\"name\":\"shervinrv\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"headline\":\"\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c3\u03c4\u03b7\u03bd PostgreSQL: \u03a3\u03c5\u03bd\u03ae\u03b8\u03b5\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03b9 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd\",\"datePublished\":\"2026-06-14T19:31:10+00:00\",\"dateModified\":\"2026-06-15T14:18:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/\"},\"wordCount\":143,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"keywords\":[\"data loss prevention\",\"Database Administration\",\"pitr\",\"point-in-time recovery\",\"postgresql\",\"rpo\",\"wal archiving\"],\"articleSection\":[\"Database Backup\"],\"inLanguage\":\"el\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/\",\"url\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/\",\"name\":\"PostgreSQL WAL Archiving: Pitfalls & Data Loss Risks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/#website\"},\"datePublished\":\"2026-06-14T19:31:10+00:00\",\"dateModified\":\"2026-06-15T14:18:22+00:00\",\"description\":\"**\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/#breadcrumb\"},\"inLanguage\":\"el\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c3\u03c4\u03b7\u03bd PostgreSQL: \u03a3\u03c5\u03bd\u03ae\u03b8\u03b5\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03b9 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/#website\",\"url\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/\",\"name\":\"CloudSave\",\"description\":\"CloudSave\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"el\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/#\\\/schema\\\/person\\\/286beefe68281d868e87f46603a7ae4d\",\"name\":\"shervinrv\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"el\",\"@id\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\",\"url\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\",\"contentUrl\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\",\"width\":859,\"height\":150,\"caption\":\"shervinrv\"},\"logo\":{\"@id\":\"https:\\\/\\\/cloudsave.app\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Logo_Name-2.png\"},\"sameAs\":[\"http:\\\/\\\/cloudsave.app\"],\"url\":\"https:\\\/\\\/cloudsave.app\\\/el\\\/knowledge-base\\\/author\\\/shervinrv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PostgreSQL WAL Archiving: Pitfalls & Data Loss Risks","description":"**","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/","og_locale":"el_GR","og_type":"article","og_title":"\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c3\u03c4\u03b7\u03bd PostgreSQL: \u03a3\u03c5\u03bd\u03ae\u03b8\u03b5\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03b9 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd","og_description":"**","og_url":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/","og_site_name":"CloudSave","article_published_time":"2026-06-14T19:31:10+00:00","article_modified_time":"2026-06-15T14:18:22+00:00","author":"shervinrv","twitter_card":"summary_large_image","twitter_misc":{"\u03a3\u03c5\u03bd\u03c4\u03ac\u03c7\u03b8\u03b7\u03ba\u03b5 \u03b1\u03c0\u03cc":"shervinrv","\u0395\u03ba\u03c4\u03b9\u03bc\u03ce\u03bc\u03b5\u03bd\u03bf\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2 \u03b1\u03bd\u03ac\u03b3\u03bd\u03c9\u03c3\u03b7\u03c2":"1 \u03bb\u03b5\u03c0\u03c4\u03cc"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/#article","isPartOf":{"@id":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/"},"author":{"name":"shervinrv","@id":"https:\/\/cloudsave.app\/el\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"headline":"\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c3\u03c4\u03b7\u03bd PostgreSQL: \u03a3\u03c5\u03bd\u03ae\u03b8\u03b5\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03b9 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd","datePublished":"2026-06-14T19:31:10+00:00","dateModified":"2026-06-15T14:18:22+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/"},"wordCount":143,"publisher":{"@id":"https:\/\/cloudsave.app\/el\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"keywords":["data loss prevention","Database Administration","pitr","point-in-time recovery","postgresql","rpo","wal archiving"],"articleSection":["Database Backup"],"inLanguage":"el"},{"@type":"WebPage","@id":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/","url":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/","name":"PostgreSQL WAL Archiving: Pitfalls & Data Loss Risks","isPartOf":{"@id":"https:\/\/cloudsave.app\/el\/#website"},"datePublished":"2026-06-14T19:31:10+00:00","dateModified":"2026-06-15T14:18:22+00:00","description":"**","breadcrumb":{"@id":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/#breadcrumb"},"inLanguage":"el","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudsave.app\/el\/knowledge-base\/%ce%b1%cf%81%cf%87%ce%b5%ce%b9%ce%bf%ce%b8%ce%ad%cf%84%ce%b7%cf%83%ce%b7-wal-%cf%83%cf%84%ce%b7%ce%bd-postgresql-%cf%83%cf%85%ce%bd%ce%ae%ce%b8%ce%b5%ce%b9%cf%82-%cf%80%ce%b1%ce%b3%ce%af%ce%b4%ce%b5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudsave.app\/el\/"},{"@type":"ListItem","position":2,"name":"\u0391\u03c1\u03c7\u03b5\u03b9\u03bf\u03b8\u03ad\u03c4\u03b7\u03c3\u03b7 WAL \u03c3\u03c4\u03b7\u03bd PostgreSQL: \u03a3\u03c5\u03bd\u03ae\u03b8\u03b5\u03b9\u03c2 \u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03ba\u03af\u03bd\u03b4\u03c5\u03bd\u03bf\u03b9 \u03b1\u03c0\u03ce\u03bb\u03b5\u03b9\u03b1\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd"}]},{"@type":"WebSite","@id":"https:\/\/cloudsave.app\/el\/#website","url":"https:\/\/cloudsave.app\/el\/","name":"CloudSave","description":"CloudSave","publisher":{"@id":"https:\/\/cloudsave.app\/el\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudsave.app\/el\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"el"},{"@type":["Person","Organization"],"@id":"https:\/\/cloudsave.app\/el\/#\/schema\/person\/286beefe68281d868e87f46603a7ae4d","name":"shervinrv","image":{"@type":"ImageObject","inLanguage":"el","@id":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png","url":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png","contentUrl":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png","width":859,"height":150,"caption":"shervinrv"},"logo":{"@id":"https:\/\/cloudsave.app\/wp-content\/uploads\/2026\/02\/Logo_Name-2.png"},"sameAs":["http:\/\/cloudsave.app"],"url":"https:\/\/cloudsave.app\/el\/knowledge-base\/author\/shervinrv\/"}]}},"_links":{"self":[{"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/posts\/4521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/comments?post=4521"}],"version-history":[{"count":3,"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/posts\/4521\/revisions"}],"predecessor-version":[{"id":5646,"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/posts\/4521\/revisions\/5646"}],"wp:attachment":[{"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/media?parent=4521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/categories?post=4521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudsave.app\/el\/wp-json\/wp\/v2\/tags?post=4521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}