{"id":534,"date":"2019-01-24T12:34:39","date_gmt":"2019-01-24T09:34:39","guid":{"rendered":"https:\/\/artem.services\/?p=534"},"modified":"2019-02-06T19:36:28","modified_gmt":"2019-02-06T16:36:28","slug":"backuppc-%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=534","title":{"rendered":"BackupPC &#8212; \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"wp-image-543 aligncenter\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2019\/01\/BackupPC-Logo.gif\" alt=\"\" width=\"448\" height=\"138\" \/><\/p>\n<h4>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h4>\n<p><strong>Deb<\/strong> \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\napt install backuppc\r\n<\/pre>\n<p><strong>CentOS<\/strong>:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyum install backuppc\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0432 &quot;<strong>Postfix Configuration<\/strong>&quot; &quot;<strong>No configuration<\/strong>&quot;, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u043e\u0447\u0442\u0443.<\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u043c \u043f\u0438\u0448\u0443\u0442, \u043f\u043e \u043a\u0430\u043a\u043e\u043c\u0443 <strong>URL<\/strong> \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d <strong>BackupPC<\/strong>, \u0430 \u0442\u0430\u043a \u0436\u0435 <strong>\u043b\u043e\u0433\u0438\u043d<\/strong>\/<strong>\u043f\u0430\u0440\u043e\u043b\u044c<\/strong> \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430.<\/p>\n<p>\u041f\u0430\u0440\u043e\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nhtpasswd \/etc\/backuppc\/htpasswd backuppc\r\n<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0442\u043e \u0432 <strong>Web<\/strong> \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044f \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 <strong>BackupPC<\/strong>, \u0442\u0430\u043a \u043a\u0430\u043a \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0438 \u0443\u043a\u0430\u0437\u0430\u043d \u0432 \u0444\u0430\u0439\u043b\u0435: &quot;<strong>\/etc\/backuppc\/config.pl<\/strong>&quot;<\/p>\n<p><!--more--><\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u0441 \u043d\u0430 <strong>Ubuntu 18.04<\/strong> \u0441 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 <strong>Web<\/strong> \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e, \u044f \u043d\u0435 \u0441\u0442\u0430\u043b \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0441 <strong>Apache2<\/strong>, \u0438 \u043f\u043e\u0434\u043d\u044f\u043b <a href=\"https:\/\/artem.services\/?p=509\" target=\"_blank\" rel=\"noopener\"><strong>Nginx<\/strong><\/a>.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c <strong>SSH<\/strong> \u043a\u043b\u044e\u0447 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nssh-keygen -t rsa -f \/var\/lib\/backuppc\/key\r\n<\/pre>\n<p><strong>passphrase<\/strong> \u043d\u0435 \u0437\u0430\u0434\u0430\u0435\u043c.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmkdir \/var\/lib\/backuppc\/.ssh\r\nchmod 700 \/var\/lib\/backuppc\/.ssh\r\ncp \/var\/lib\/backuppc\/key \/var\/lib\/backuppc\/.ssh\r\nchmod 600 \/var\/lib\/backuppc\/.ssh\/key\r\nchown -R backuppc:backuppc \/var\/lib\/backuppc\/.ssh\/\r\n<\/pre>\n<h4><\/h4>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/h4>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nadduser backuppc\r\nmkdir \/home\/backuppc\/.ssh\r\nchmod 700 \/home\/backuppc\/.ssh\r\n<\/pre>\n<p>\u0412 \u0444\u0430\u0439\u043b &quot;<strong>\/home\/backuppc\/.ssh\/authorized_keys<\/strong>&quot; \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 &quot;<strong>key.pub<\/strong>&quot; \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nchmod 600 \/home\/backuppc\/.ssh\/authorized_keys\r\nchown -R backuppc:backuppc \/home\/backuppc\/.ssh\r\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nbackuppc             ALL = NOPASSWD: \/usr\/bin\/rsync, \/usr\/bin\/env, \/bin\/tar\r\n<\/pre>\n<p>&nbsp;<\/p>\n<blockquote><p>\u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u0435\u043a\u0430\u043f <strong>BackupPC<\/strong> \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0445\u043e\u0441\u0442\u0435 \u0432 \u0444\u0430\u0439\u043b &quot;<strong>known_hosts<\/strong>&quot;, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043b\u0438\u0431\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434 \u044d\u0442\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u043f\u043e\u0434\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e <strong>SSH<\/strong> \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0438\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f <strong>BackupPC<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u043f\u0446\u0438\u0438:<\/p><\/blockquote>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n-o StrictHostKeyChecking=no -o UserKnownHostsFile=\/dev\/null\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Deb \u0441\u0438\u0441\u0442\u0435\u043c\u044b: CentOS: &nbsp; \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0432 &quot;Postfix Configuration&quot; &quot;No configuration&quot;, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u043e\u0447\u0442\u0443. \u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u043c \u043f\u0438\u0448\u0443\u0442, \u043f\u043e \u043a\u0430\u043a\u043e\u043c\u0443 URL \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d BackupPC, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043b\u043e\u0433\u0438\u043d\/\u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u041f\u0430\u0440\u043e\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c: \u0415\u0441\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0442\u043e \u0432 Web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044f \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 BackupPC, \u0442\u0430\u043a \u043a\u0430\u043a \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 &hellip; <a href=\"https:\/\/artem.services\/?p=534\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c<span class=\"screen-reader-text\"> &quot;BackupPC &#8212; \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430&quot;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[157],"tags":[101,131],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/534"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=534"}],"version-history":[{"count":14,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/534\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/534\/revisions\/549"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}