{"id":210744,"date":"2014-01-30T00:14:02","date_gmt":"2014-01-29T20:14:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=210744"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=210744","title":{"rendered":"<span class=\"post_title\">\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/0a3\/801\/bc9\/0a3801bc9cb513778b8589b0f5bcd462.png\" align=\"left\"\/><br \/>  \u0427\u0430\u0441\u0442\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u0442\u0430\u043a, \u0447\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0431\u044d\u043a\u0430\u043f\u0438\u0442\u044c.<br \/>  \u041d\u043e \u0435\u0449\u0435 \u0447\u0430\u0449\u0435 \u0431\u044b\u0432\u0430\u0435\u0442 \u0442\u0430\u043a, \u0447\u0442\u043e \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0435\u043d\u0438\u0432\u043e, \u0438 \u043a\u043e\u043f\u0438\u0438 \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0430 \u0432 \u0445\u0443\u0434\u0448\u0435\u043c \u2014 \u043d\u0435 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043b\u0435\u043d\u0438\u0432\u044b\u0445 \u043b\u044e\u0434\u0435\u0439 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a <a href=\"http:\/\/dropbox.com\">Dropbox<\/a>, <a href=\"http:\/\/disk.yandex.ru\">Yandex.Disk<\/a> \u0438 \u0438\u0436\u0435 \u0441 \u043d\u0438\u043c\u0438. \u0421\u0443\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0434\u043d\u0430 \u2014 \u0444\u0430\u0439\u043b, \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435, \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445. \u0423\u0440\u0430, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \ud83d\ude42<br \/>  \u041d\u043e \u0432\u0441\u0442\u0430\u0435\u0442 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441 \u2014 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430. \u0418 \u0435\u0441\u043b\u0438 \u0437\u0430 \u0444\u043e\u0442\u043a\u0438 \u0441 \u041c\u0430\u0439\u043e\u0440\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0436\u0438\u0432\u0430\u0442\u044c, \u0442\u043e \u0432\u043e\u0442 \u0431\u043e\u0435\u0432\u0443\u044e \u0431\u0430\u0437\u0443 1\u0421 \u0442\u0430\u043a \u0431\u044d\u043a\u0430\u043f\u0438\u0442\u044c \u0447\u0440\u0435\u0432\u0430\u0442\u043e. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442, \u0432 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 how-to \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u043e\u0441\u0442\u0430\u0442\u044c\u0441\u044f \u043b\u0435\u043d\u0442\u044f\u0435\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.<a name=\"habracut\"><\/a><\/p>\n<h4>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h4>\n<p>  \u041f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e HOW-TO \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e, \u0447\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u0437\u043d\u0430\u043a\u043e\u043c \u0441 \u043e\u0441\u043d\u043e\u0432\u0430\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043c\u043e\u0436\u0435\u0442 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435. \u042f \u0431\u0443\u0434\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 CentOS 6 Linux, <a href=\"http:\/\/habrahabr.ru\/post\/98227\/\">\u0441\u0432\u043e\u0438\u0445<\/a> <a href=\"http:\/\/habrahabr.ru\/post\/208414\/\">\u0443\u0437\u043b\u043e\u0432<\/a> \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Dropbox. \u0412\u0441\u0435 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u041e\u0421 \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445. \u0418 \u0434\u0430\u0436\u0435 \u0432\u043c\u0435\u0441\u0442\u043e GnuPG \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c OpenSSL.<\/p>\n<h4>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0444\u0442\u0430 \u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435<\/h4>\n<p>  <\/p>\n<h5>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Dropbox<\/h5>\n<p>  <a href=\"https:\/\/www.dropbox.com\/install\">\u041a\u0430\u0447\u0430\u0435\u043c<\/a> \u0438 \u0441\u0442\u0430\u0432\u0438\u043c. \u041a\u0441\u0442\u0430\u0442\u0438, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u0445 \u0435\u0441\u0442\u044c X11, \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441 &#8212;nodeps  <\/p>\n<pre><code class=\"bash\">[root@server ~]# wget https:\/\/www.dropbox.com\/download?dl=packages\/fedora\/nautilus-dropbox-1.6.0-1.fedora.x86_64.rpm [root@server ~]# rpm -i --nodeps nautilus-dropbox-1.6.0-1.fedora.x86_64.rpm  Dropbox installation successfully completed! You can start Dropbox from your applications menu. [root@server ~]# su user [user@server ~]$ dropbox start -i Downloading Dropbox... 100% Unpacking Dropbox... 100% Done! [user@server ~]$ dropbox stop [user@server ~]$ ~\/.dropbox-dist\/dropboxd  This computer isnt linked to any Dropbox account... Please visit https:\/\/www.dropbox.com\/cli_link?host_id=**************************************** to link this device. This computer isnt linked to any Dropbox account... Please visit https:\/\/www.dropbox.com\/cli_link?host_id=**************************************** to link this device.<\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435, \u0432\u0432\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u0438, \u0438 \u0432\u043e\u0442:  <\/p>\n<pre><code class=\"bash\">This computer is now linked to Dropbox. Welcome ********* ^C ~\/.dropbox-dist\/dropboxd  & [user@server ~]$ exit [root@server ~]# rpm -e nautilus-dropbox <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 GNUPG2 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0439<\/h5>\n<p>  <\/p>\n<pre><code class=\"bash\">[root@server ~]# yum install gpg [... skipped ...] [root@server ~]# su user<\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0430\u0440\u0443 \u043a\u043b\u044e\u0447\u0435\u0439  <\/p>\n<pre><code class=\"bash\">[user@server ~]$ gpg --gen-key [... skipped ...]  Please select what kind of key you want:    (1) RSA and RSA (default)    (2) DSA and Elgamal    (3) DSA (sign only)    (4) RSA (sign only) Your selection? 1 RSA keys may be between 1024 and 4096 bits long. What keysize do you want? (2048) 4096 Requested keysize is 4096 bits Please specify how long the key should be valid.          0 = key does not expire       &lt;n&gt;  = key expires in n days       &lt;n&gt;w = key expires in n weeks       &lt;n&gt;m = key expires in n months       &lt;n&gt;y = key expires in n years Key is valid for? (0)  Key does not expire at all Is this correct? (y\/N) y  GnuPG needs to construct a user ID to identify your key.  Real name: Backup Server Email address: backup@my.company.com Comment: Main backup server You selected this USER-ID:     &quot;Backup Server (Main backup server) &lt;backup@my.company.com&gt;&quot;  Change (N)ame, (C)omment, (E)mail or (O)kay\/(Q)uit? O You need a Passphrase to protect your secret key. [... skipped ...] gpg: key E4E021AB marked as ultimately trusted public and secret key created and signed.  gpg: checking the trustdb gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u pub   4096R\/E4E021AB 2014-01-29       Key fingerprint = 0FDC B999 6FEB FBB5 1E59  48BD 71C2 6663 E4E0 21AB uid                  Backup Server (Main backup server) &lt;backup@my.company.com&gt; sub   4096R\/C7212824 2014-01-29<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u0440\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 gpg \u0431\u0443\u0434\u0435\u0442 \u0440\u0443\u0433\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u044d\u043d\u0442\u0440\u043e\u043f\u0438\u0438, \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0435\u0451 \ud83d\ude42<br \/>  \u042f \u043e\u0431\u044b\u0447\u043d\u043e \u0437\u0430\u0445\u043e\u0436\u0443 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u0434\u0435\u043b\u0430\u044e \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435:   <\/p>\n<pre><code class=\"bash\">[user@server ~]$ while true; do find \/ -type f; done<\/code><\/pre>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0448\u0430\u0440\u0438\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u043c\u0435\u0436\u0434\u0443 \u0432\u0441\u0435\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u2014 \u043a\u043b\u0430\u0434\u0435\u043c \u0435\u0433\u043e \u0432 Dropbox.  <\/p>\n<pre><code class=\"bash\">[user@server ~]$ gpg --export -o ~\/Dropbox\/public.gpg<\/code><\/pre>\n<p>  <\/p>\n<h4>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0444\u0442\u0430 \u043d\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0443\u0435\u043c\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435<\/h4>\n<p>  \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0435 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u043d\u043e \u0441\u0432\u043e\u0438 \u043a\u043b\u044e\u0447\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<br \/>  \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c <\/p>\n<pre><code class=\"bash\">[user@server ~]$ gpg --import ~\/Dropbox\/public.gpg<\/code><\/pre>\n<h4>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443. \u0423 \u043c\u0435\u043d\u044f \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 dropbox-\u0430\u043a\u043a\u0430\u0443\u043d\u0442, \u0438 \u043f\u0430\u043f\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u0449\u0435\u0439 (Shared folder) \u0441 \u0431\u044d\u043a\u0430\u043f-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. \u0422\u0438\u043f\u0430 backu_srv1, backup_srv2 \u0438\u0442\u0434. \u0425\u043e\u0442\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u043c\u0435\u0442\u044c 1 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u043d\u0430 \u0432\u0441\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u2014 \u0432\u0441\u0451 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043e\u0431\u044a\u0435\u043c\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<br \/>  \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u00ab\u0444\u0438\u0448\u043a\u0430\u00bb \u2014 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0438\u0445 \u0432 Dropbox.<br \/>  \u041d\u0438\u0436\u0435 \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0431\u0435\u043a\u0430\u043f\u044f\u0449\u0435\u0433\u043e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 mysql.  <\/p>\n<pre><code class=\"bash\">#!\/bin\/sh FILE=&quot;~\/Dropbox\/backup_srv1\/mysql_$(date +%d.%m.%y).sql.gz.gpg&quot; LOG=&quot;~\/scripts\/backup.log&quot; USER=&quot;************&quot; PASS=&quot;************&quot; DB=&quot;**********&quot; KEY=&quot;0xE4E021AB&quot; export PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/bin:\/usr\/bin\/core_perl mysqldump -u${USER} -p${PASS} $DB|gzip -c|gpg --trust-model=always --yes -e -r $KEY -o &quot;$FILE&quot; && echo &quot;$FILE : OK&quot; &gt;&gt; &quot;$LOG&quot; && exit echo &quot;$FILE : ERROR&quot; &gt;&gt; &quot;$LOG&quot; && exit <\/code><\/pre>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 KEY \u2014 \u044d\u0442\u043e ID \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 2 \u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u0441\u0451. \u0411\u044d\u043a\u0430\u043f\u044b \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 Dropbox, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b, \u0432\u0435\u0434\u044c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c, \u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435.<\/p>\n<h4>\u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u044d\u043a\u0430\u043f\u043e\u0432<\/h4>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b. \u041c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0431\u044d\u043a\u0430\u043f\u044b \u0438 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c, \u043c\u043e\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0434\u043e \u0447\u0430\u0441\u0430 \u00ab\u0425\u00bb. \u042d\u0442\u043e \u0434\u0435\u043b\u043e \u0432\u043a\u0443\u0441\u0430. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435, \u0447\u0442\u043e \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u2014 \u044d\u0442\u043e \u0438\u043c\u0435\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043f\u0438\u0439 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043d\u0430 \u043b\u0438\u0441\u0442\u043e\u0447\u043a\u0430\u0445 A4 \u0432 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435 \u0432 \u0441\u0435\u0439\u0444\u0435. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u043e\u0442\u0435\u0440\u044f\u0435\u0442\u0435 \u2014 \u0431\u0443\u0434\u0435\u0442\u0435 \u043d\u0430\u0431\u0438\u0432\u0430\u0442\u044c \u0441 \u043b\u0438\u0441\u0442\u043e\u0447\u043a\u0430 \u043c\u043d\u043e\u0433\u043e-\u043c\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \ud83d\ude42  <\/p>\n<pre><code class=\"bash\">[user@server ~]$ gpg --armor --export-secret-keys<\/code><\/pre>\n<p>  \u0410\u0445, \u0434\u0430. \u0421\u0430\u043c\u0430 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430.  <\/p>\n<pre><code class=\"bash\">[user@server backup_srv1]$ gpg -o ~\/mysql_29.01.14.sql.gz -d mysql_29.01.14.sql.gz.gpg  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0444\u0440\u0430\u0437\u0430-\u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u043a\u043b\u044e\u0447\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: &quot;Backup Server (Main backup server) &lt;backup@my.company.com&gt;&quot; 4096-\u0431\u0438\u0442 RSA \u043a\u043b\u044e\u0447, ID C7212824, \u0441\u043e\u0437\u0434\u0430\u043d 2014-01-29 (\u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 ID E4E021AB)  gpg: \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043e 4096-\u0431\u0438\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c RSA, \u0441 ID C7212824, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c 2014-01-29       &quot;Backup Server (Main backup server) &lt;backup@my.company.com&gt;&quot;<\/code><\/pre>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u2014 \u0432\u0430\u0436\u043d\u0430\u044f \u0432\u0435\u0449\u044c:<br \/>  <b>\u041d\u0435 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u0431\u044d\u043a\u0430\u043f\u044b \u0432 \u043f\u0430\u043f\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441 Dropbox!<\/b><\/p>\n<h4>\u0412\u043c\u0435\u0441\u0442\u043e \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/h4>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b, \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0432 \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u043f\u043e\u0431\u0435\u0436\u0430\u043b\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u043d\u0430 \u043a\u0430\u043a\u043e\u043c-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447\u0438 \u2014 \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u044b \u0438\u0437 \u0442\u0435\u0445, \u043a\u0442\u043e <b>\u0443\u0436\u0435<\/b> \u0434\u0435\u043b\u0430\u0435\u0442 \u0431\u044d\u043a\u0430\u043f\u044b. \u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u044e! \ud83d\ude42<br \/>  \u0415\u0441\u043b\u0438 \u0436\u0435 \u0432\u0430\u043c \u0432\u0441\u0451 \u0435\u0449\u0435 \u043b\u0435\u043d\u0438\u0432\u043e \u2014 \u043d\u0435 \u043e\u0442\u0447\u0430\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c, \u0432\u0430\u0441 \u0436\u0434\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u043e\u043f\u044b\u0442 \u0438 \u043c\u043d\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u043d\u0430\u043b\u0438\u043d\u0430. <i>\u041a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c<\/i>.<br \/>  \u0410 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e \u0435\u0449\u0435 \u0443\u043c\u0435\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c gnupg \u2014 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c <a href=\"http:\/\/habrahabr.ru\/post\/82658\/\">\u0441\u044e\u0434\u0430<\/a><\/p>\n<p>   \u2014 <br \/>  8033A3EF\/DBD1 B794 73AD 3A5C 9279 A8E1 16B5 6AA3 8033 A3EF    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/210744\/\"> http:\/\/habrahabr.ru\/post\/210744\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/0a3\/801\/bc9\/0a3801bc9cb513778b8589b0f5bcd462.png\" align=\"left\"\/><br \/>  \u0427\u0430\u0441\u0442\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u0442\u0430\u043a, \u0447\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0431\u044d\u043a\u0430\u043f\u0438\u0442\u044c.<br \/>  \u041d\u043e \u0435\u0449\u0435 \u0447\u0430\u0449\u0435 \u0431\u044b\u0432\u0430\u0435\u0442 \u0442\u0430\u043a, \u0447\u0442\u043e \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0435\u043d\u0438\u0432\u043e, \u0438 \u043a\u043e\u043f\u0438\u0438 \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0430 \u0432 \u0445\u0443\u0434\u0448\u0435\u043c \u2014 \u043d\u0435 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043b\u0435\u043d\u0438\u0432\u044b\u0445 \u043b\u044e\u0434\u0435\u0439 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a <a href=\"http:\/\/dropbox.com\">Dropbox<\/a>, <a href=\"http:\/\/disk.yandex.ru\">Yandex.Disk<\/a> \u0438 \u0438\u0436\u0435 \u0441 \u043d\u0438\u043c\u0438. \u0421\u0443\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0434\u043d\u0430 \u2014 \u0444\u0430\u0439\u043b, \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435, \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445. \u0423\u0440\u0430, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \ud83d\ude42<br \/>  \u041d\u043e \u0432\u0441\u0442\u0430\u0435\u0442 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441 \u2014 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430. \u0418 \u0435\u0441\u043b\u0438 \u0437\u0430 \u0444\u043e\u0442\u043a\u0438 \u0441 \u041c\u0430\u0439\u043e\u0440\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0436\u0438\u0432\u0430\u0442\u044c, \u0442\u043e \u0432\u043e\u0442 \u0431\u043e\u0435\u0432\u0443\u044e \u0431\u0430\u0437\u0443 1\u0421 \u0442\u0430\u043a \u0431\u044d\u043a\u0430\u043f\u0438\u0442\u044c \u0447\u0440\u0435\u0432\u0430\u0442\u043e. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442, \u0432 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 how-to \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u043e\u0441\u0442\u0430\u0442\u044c\u0441\u044f \u043b\u0435\u043d\u0442\u044f\u0435\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-210744","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/210744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210744"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/210744\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=210744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=210744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}