<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>по стопам webkill&#039;а &#187; backup</title>
	<atom:link href="http://blog.lukmus.ru/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lukmus.ru</link>
	<description>это наш химический дом для печальных жителей Земли</description>
	<lastBuildDate>Sat, 21 Oct 2023 19:10:13 +0000</lastBuildDate>
	<language>ru-RU</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>backup с PGP шифрованием</title>
		<link>http://blog.lukmus.ru/2021/03/23/gpg-backup/</link>
		<comments>http://blog.lukmus.ru/2021/03/23/gpg-backup/#comments</comments>
		<pubDate>Tue, 23 Mar 2021 18:12:03 +0000</pubDate>
		<dc:creator>lukmus</dc:creator>
				<category><![CDATA[ruby & ruby on rails]]></category>
		<category><![CDATA[настройка и установка]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.lukmus.ru/?p=2685</guid>
		<description><![CDATA[В продолжение постов про GPG и о геме Backup собираю все в одну статью и дополняю настройкой для автоматического шифрования резервных копий. утилита GPG Установка, естественно, от пользователя с root-правами. На RedHat&#8217;ах: yum install pgp На Debian&#8217;ах: apt-get install pgp Для создания ключей все та же команда, выполнять которую можно от рядового пользователя. gpg --gen-key [...]]]></description>
			<content:encoded><![CDATA[<p>В продолжение постов <a href="https://blog.lukmus.ru/2010/10/29/gnupg-v-linux/">про GPG</a> и <a href="https://blog.lukmus.ru/2014/01/10/backup-na-yandeks-disk/">о геме Backup</a> собираю все в одну статью и дополняю настройкой для автоматического шифрования резервных копий.<br />
<img src="http://blog.lukmus.ru/wp-content/uploads/2021/03/huge-encryption-517.png" alt="" /><span id="more-2685"></span></p>
<h2>утилита GPG</h2>
<p>Установка, естественно, от пользователя с root-правами.<br />
На RedHat&#8217;ах:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">yum install</span> pgp</pre></td></tr></table></div>

<p>На Debian&#8217;ах:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get install</span> pgp</pre></td></tr></table></div>

<p>Для создания ключей все та же команда, выполнять которую можно от рядового пользователя.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">--gen-key</span></pre></td></tr></table></div>

<p>Далее понадобится экспорт ключей в текстовый файл. В командах ниже <code>username@email</code>, разумеется, надо заменить на почту указанную при генерации.</p>
<p>Экспорт публичного ключа:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">--output</span> public.pgp <span style="color: #660033;">--armor</span> <span style="color: #660033;">--export</span> username<span style="color: #000000; font-weight: bold;">@</span>email</pre></td></tr></table></div>

<p>Экспорт закрытого (приватного) ключа:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">--output</span> private.pgp <span style="color: #660033;">--armor</span> <span style="color: #660033;">--export-secret-key</span> username<span style="color: #000000; font-weight: bold;">@</span>email</pre></td></tr></table></div>

<p>Если требуется, после экспорта ключей их можно удалить. Сначала удаляется закрытый ключ:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">--delete-secret-keys</span> username<span style="color: #000000; font-weight: bold;">@</span>email</pre></td></tr></table></div>

<p>Затем открытый:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">--delete-keys</span> username<span style="color: #000000; font-weight: bold;">@</span>email</pre></td></tr></table></div>

<p>Вывести список всех импортированных ключей:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">--list-keys</span></pre></td></tr></table></div>

<h2>gem backup и PGP-ключ</h2>
<p>Установка гема:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gem <span style="color: #c20cb9; font-weight: bold;">install</span> backup</pre></td></tr></table></div>

<p>Cоздание модели (в данном примере модель называется <code>ekzample</code>) для бекапа:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">backup generate:model <span style="color: #660033;">--trigger</span> ekzample
Generated model file: <span style="color: #ff0000;">'~/Backup/models/ekzample.rb'</span>.</pre></td></tr></table></div>

<p>Далее, для настройки нужного бекапа, следует отредактировать <code>~/Backup/models/ekzample.rb</code>.</p>
<p>В примере ниже показан конфиг для резервного копирования базы MySQL с последующим сжатием в tar и шифрованием архива PGP-ключом, после чего зашифрованный файл отправляется по SFTP на бекап-сервер.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;"># encoding: utf-8</span>
&nbsp;
<span style="color:#008000; font-style:italic;">##</span>
<span style="color:#008000; font-style:italic;"># Backup Generated: ekzample</span>
<span style="color:#008000; font-style:italic;"># Once configured, you can run the backup with the following command:</span>
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># $ backup perform -t ekzample [-c &lt;path_to_configuration_file&gt;]</span>
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># For more information about Backup's components, see the documentation at:</span>
<span style="color:#008000; font-style:italic;"># http://backup.github.io/backup</span>
<span style="color:#008000; font-style:italic;">#</span>
Model.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:ekzample</span>, <span style="color:#996600;">'Description for ekzample'</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span>
&nbsp;
  split_into_chunks_of <span style="color:#006666;">500</span>
&nbsp;
  <span style="color:#6666ff; font-weight:bold;">Encryptor::GPG</span>.<span style="color:#9900CC;">defaults</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>encryption<span style="color:#006600; font-weight:bold;">|</span>
    encryption.<span style="color:#9900CC;">keys</span> = <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span>
    encryption.<span style="color:#9900CC;">keys</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">'username@email'</span><span style="color:#006600; font-weight:bold;">&#93;</span> = <span style="color:#006600; font-weight:bold;">&lt;&lt;-</span>KEY
      <span style="color:#006600; font-weight:bold;">-----</span><span style="color:#9966CC; font-weight:bold;">BEGIN</span> PGP PUBLIC KEY BLOCK<span style="color:#006600; font-weight:bold;">-----</span>
      ...<span style="color:#9900CC;">it</span> is place <span style="color:#9966CC; font-weight:bold;">for</span> PUBLIC KEY...
      <span style="color:#006600; font-weight:bold;">-----</span><span style="color:#9966CC; font-weight:bold;">END</span> PGP PUBLIC KEY BLOCK<span style="color:#006600; font-weight:bold;">----</span>
    KEY
    encryption.<span style="color:#9900CC;">recipients</span> = <span style="color:#996600;">'username@email'</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  database MySQL <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>db<span style="color:#006600; font-weight:bold;">|</span>
    db.<span style="color:#9900CC;">name</span>  = <span style="color:#996600;">'exampledb'</span>
    db.<span style="color:#9900CC;">username</span> = <span style="color:#996600;">'exampleuser'</span>
    db.<span style="color:#9900CC;">password</span> = <span style="color:#996600;">'examplepass'</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  compress_with Gzip
  encrypt_with GPG
&nbsp;
  store_with SFTP <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>server<span style="color:#006600; font-weight:bold;">|</span>
    server.<span style="color:#9900CC;">username</span> = <span style="color:#996600;">'backupuser'</span>
    server.<span style="color:#9900CC;">password</span> = <span style="color:#996600;">'backuppass'</span>
    server.<span style="color:#9900CC;">ip</span>       = <span style="color:#996600;">'111.111.111.111'</span>
    server.<span style="color:#9900CC;">port</span>     = <span style="color:#006666;">22</span>
    server.<span style="color:#9900CC;">path</span>     = <span style="color:#996600;">'~/'</span>
    <span style="color:#008000; font-style:italic;"># Use a number or a Time object to specify how many backups to keep.</span>
    server.<span style="color:#9900CC;">keep</span>     = <span style="color:#006666;">150</span>
&nbsp;
    <span style="color:#008000; font-style:italic;"># Additional options for the SSH connection.</span>
    <span style="color:#008000; font-style:italic;"># server.ssh_options = {}</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></td></tr></table></div>

<p>Не стоит забывать вставить между <code><<-KEY</code> и <code>KEY</code> созданный ранее ПУБЛИЧНЫЙ (открытый) ключ.</p>
<p>Для более тонкой настройки PGP-ключей, например, разные ключи для разных баз, следует воспользоваться <a href="https://backup.github.io/backup/v4/encryptor-gpg/" target="_blank" rel='nofollow'>официальной документацией</a>.</p>
<p>Запускается создание бекапа командой:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">backup perform <span style="color: #660033;">-t</span> ekzample</pre></td></tr></table></div>

<h2>извлечение бекапа</h2>
<p>Если в системе нет ключей, используемых данным бекапом, следует их импортировать:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">--import</span> private.pgp
gpg <span style="color: #660033;">--import</span> public.gpg</pre></td></tr></table></div>

<p>Далее чтобы расшифровать резервную копию понадобится команда:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">gpg <span style="color: #660033;">-o</span> ekzample.tar <span style="color: #660033;">-d</span> ekzample.tar.gpg</pre></td></tr></table></div>

<p>Для распаковки тарбола подойдет команда:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> ekzample.tar</pre></td></tr></table></div>

<p><meta property="og:image" content="http://blog.lukmus.ru/wp-content/uploads/2021/03/huge-encryption-517.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lukmus.ru/2021/03/23/gpg-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup на Яндекс.Диск</title>
		<link>http://blog.lukmus.ru/2014/01/10/backup-na-yandeks-disk/</link>
		<comments>http://blog.lukmus.ru/2014/01/10/backup-na-yandeks-disk/#comments</comments>
		<pubDate>Fri, 10 Jan 2014 01:54:06 +0000</pubDate>
		<dc:creator>lukmus</dc:creator>
				<category><![CDATA[ruby & ruby on rails]]></category>
		<category><![CDATA[настройка и установка]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Яндекс.Диск]]></category>

		<guid isPermaLink="false">http://blog.lukmus.ru/?p=2134</guid>
		<description><![CDATA[Для того чтобы сливать бэкапы на сторонний сервер или в локальную директорию уже давным давно можно не писать самопальные скрипты, а воспользоваться гемом Backup. И то, что это гем и написан он на Ruby, совершенно не означает, что организовывать бэкапы он может только для Ruby. Backup много чего умеет делать, работает с двумя вагонами СУБД [...]]]></description>
			<content:encoded><![CDATA[<p>Для того чтобы сливать бэкапы на сторонний сервер или в локальную директорию уже давным давно можно не писать самопальные скрипты, а воспользоваться <a href="http://meskyanichi.github.io/backup/v4/" rel="nofollow" target="_blank">гемом Backup</a>. И то, что это гем и написан он на Ruby, совершенно не означает, что организовывать бэкапы он может только для Ruby.<br />
<img class="alignnone size-full wp-image-2135" title="backup" src="http://blog.lukmus.ru/wp-content/uploads/2014/01/back-up.png" alt="" width="517" height="356" /><span id="more-2134"></span><br />
Backup много чего умеет делать, работает с двумя вагонами СУБД (MySQL, PostgreSQL, MongoDB итд), может закачивать сами бэкапы на триллионы различных площадок (Dropbox, CloudFiles, S3 итд) используя килотонны всевозможных протоколов (SFTP, FTP, SCP итд), подробнее об этом давно уже <a href="http://habrahabr.ru/post/123401/" rel="nofollow" target="_blank">расписано на Хабре</a>. Одна беда у гема: он не поддерживает протокол WebDAV и площадку Яндекс.Диск. Ну, а почему собственно необходим Яндекс.Диск и чем он лучше всех остальных можно узнать перейдя по <a title="http://disk.yandex.ru/invite/?hash=TDPUYYYP" href="http://disk.yandex.ru/invite/?hash=TDPUYYYP" rel="nofollow" target="_blank">моей партнерской ссылке</a> (новый шедевр скрытой рекламы).</p>
<h2>установка backup</h2>
<p>Тут ничего нового, все тоже самое, что и в <a href="http://meskyanichi.github.io/backup/v4/installation/" rel="nofollow" target="_blank">официальной инструкции</a>.<br />
Сама установка:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666;"># </span>gem <span style="color: #c20cb9; font-weight: bold;">install</span> backup</pre></td></tr></table></div>

<p>Генерация конфига:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ backup generate:model <span style="color: #660033;">--trigger</span> my_backup
Generated model file: <span style="color: #ff0000;">'~/Backup/models/my_backup.rb'</span>.</pre></td></tr></table></div>

<p>В результате этих манипуляций возникнет директория <code>~/Backup</code> с какой-то лабудой в <code>~/Backup/config.rb</code> и собственно с конфигом одной из задач в <code>~/Backup/models/my_backup.rb</code>.</p>
<h2>интерфейс для Яндекс.Диска</h2>
<p>Управлять ЯДом можно как через API, так и напрямую через WebDAV. Для взаимодействия по WebDAV есть <a href="https://github.com/search?l=Ruby&amp;q=webdav&amp;ref=cmdform&amp;type=Repositories" rel="nofollow" target="_blank">отдельные специальные гемы</a>, но нормально закачать что-нибудь вряд ли удастся т.к. для авторизации по WebDAV придется использовать пару логин:пароль, в то время как ЯД позволяет загружать только при авторизации по ключу приложения, насколько я понял.</p>
<p>К счастью существует <a href="https://github.com/anjlab/yandex-disk" rel="nofollow" target="_blank">гем yandex-disk</a>, через который и будут заливаться бэкапы.</p>
<p>После установки гема:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666;"># </span>gem <span style="color: #c20cb9; font-weight: bold;">install</span> yandex-disk</pre></td></tr></table></div>

<p>чтобы иметь права не только на чтение, необходимо получить токен от Яндекса. Для этого надо:</p>
<ol>
<li>авторизоваться в Яндексе</li>
<li><a href="https://oauth.yandex.ru/client/my" rel="nofollow" target="_blank">выбрать имеющееся приложение или создать новое</a></li>
<li>получить токен пройдя по ссылке: https://oauth.yandex.ru/authorize?response_type=token&amp;client_id=YOUR_APP_ID</li>
</ol>
<h2>настройка backup под Яндекс.Диск</h2>
<p>Удивительно, но на странице гема yandex-disk в самом низу приведен конфиг модели под backup, лично для себя, я приведу указанную конфигурацию к mysql-евскому виду:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;"># encoding: utf-8</span>
&nbsp;
<span style="color:#008000; font-style:italic;">##</span>
<span style="color:#008000; font-style:italic;"># Backup Generated: my_backup</span>
<span style="color:#008000; font-style:italic;"># Once configured, you can run the backup with the following command:</span>
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># $ backup perform -t my_backup [-c ]</span>
<span style="color:#008000; font-style:italic;">#</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'yandex/disk/backup/storage'</span>
&nbsp;
<span style="color:#6666ff; font-weight:bold;">Backup::Model</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:my_backup</span>, <span style="color:#996600;">'My backup DB to Yandex.Disk'</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span>
  <span style="color:#008000; font-style:italic;">##</span>
  <span style="color:#008000; font-style:italic;"># Split [Splitter]</span>
  <span style="color:#008000; font-style:italic;">#</span>
  <span style="color:#008000; font-style:italic;"># Split the backup file in to chunks of 250 megabytes</span>
  <span style="color:#008000; font-style:italic;"># if the backup file size exceeds 250 megabytes</span>
  <span style="color:#008000; font-style:italic;">#</span>
  split_into_chunks_of <span style="color:#006666;">500</span>
&nbsp;
  database MySQL <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>db<span style="color:#006600; font-weight:bold;">|</span>
    db.<span style="color:#9900CC;">name</span>  = <span style="color:#996600;">'mydb'</span>
    db.<span style="color:#9900CC;">username</span> = <span style="color:#996600;">'myuser'</span>
    db.<span style="color:#9900CC;">password</span> = <span style="color:#996600;">'mypass'</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  compress_with Gzip
&nbsp;
  store_with <span style="color:#6666ff; font-weight:bold;">Yandex::Disk</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>disk<span style="color:#006600; font-weight:bold;">|</span>
    disk.<span style="color:#9900CC;">access_token</span> = <span style="color:#996600;">'mysupersecretyandexapptoken'</span>
    disk.<span style="color:#9900CC;">path</span>         = <span style="color:#996600;">'/backups/'</span>
    disk.<span style="color:#9900CC;">keep</span> = <span style="color:#006666;">5</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></td></tr></table></div>

<h2>запуск</h2>
<p>И вот казалось бы все готово, осталось только запустить backup:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ backup perform <span style="color: #660033;">-t</span> my_backup
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Performing Backup <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #ff0000;">'My backup DB to Yandex.Disk (my_backup)'</span><span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> backup 3.4.0 : ruby 2.0.0p247 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2013</span>-06-<span style="color: #000000;">27</span> revision <span style="color: #000000;">41674</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>x86_64-linux<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Database::MySQL Started...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Using Compressor::Gzip <span style="color: #000000; font-weight: bold;">for</span> compression.
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Command: <span style="color: #ff0000;">'/bin/gzip'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Ext: <span style="color: #ff0000;">'.gz'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Database::MySQL Finished<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Packaging the backup files...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Splitter configured with a chunk <span style="color: #c20cb9; font-weight: bold;">size</span> of 500MB.
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Packaging Complete<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Cleaning up the temporary files...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Yandex::Disk Started...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span> ModelError: Backup <span style="color: #000000; font-weight: bold;">for</span> Backup OA DB to Yandex.Disk <span style="color: #7a0874; font-weight: bold;">&#40;</span>oabackup<span style="color: #7a0874; font-weight: bold;">&#41;</span> Failed<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   An Error occured <span style="color: #c20cb9; font-weight: bold;">which</span> has caused this Backup to abort before completion.
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Reason: NoMethodError
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   undefined method <span style="color: #000000; font-weight: bold;">`</span>present?<span style="color: #ff0000;">' for &quot;mysupersecretyandexapptoken&quot;:String
[2014/01/08 18:53:06][error] 
[2014/01/08 18:53:06][error] Backtrace:
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/yandex-disk-0.0.5/lib/yandex/disk/client.rb:17:in `block in initialize'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>faraday-0.8.8<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>faraday<span style="color: #000000; font-weight: bold;">/</span>connection.rb:<span style="color: #000000;">65</span>:in <span style="color: #000000; font-weight: bold;">`</span>initialize<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/faraday-0.8.8/lib/faraday.rb:11:in `new'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>faraday-0.8.8<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>faraday.rb:<span style="color: #000000;">11</span>:in <span style="color: #000000; font-weight: bold;">`</span>new<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/yandex-disk-0.0.5/lib/yandex/disk/client.rb:16:in `initialize'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>yandex-disk-0.0.5<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>yandex<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>storage.rb:<span style="color: #000000;">18</span>:in <span style="color: #000000; font-weight: bold;">`</span>new<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/yandex-disk-0.0.5/lib/yandex/disk/backup/storage.rb:18:in `connection'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>yandex-disk-0.0.5<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>yandex<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>storage.rb:<span style="color: #000000;">22</span>:in <span style="color: #000000; font-weight: bold;">`</span>transfer<span style="color: #000000; font-weight: bold;">!</span><span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/backup-3.4.0/lib/backup/storage/base.rb:34:in `perform!'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>backup-3.4.0<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>model.rb:<span style="color: #000000;">242</span>:in <span style="color: #000000; font-weight: bold;">`</span>each<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/backup-3.4.0/lib/backup/model.rb:242:in `block in perform!'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>backup-3.4.0<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>model.rb:<span style="color: #000000;">240</span>:in <span style="color: #000000; font-weight: bold;">`</span>each<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/backup-3.4.0/lib/backup/model.rb:240:in `perform!'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>backup-3.4.0<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>cli.rb:<span style="color: #000000;">163</span>:in <span style="color: #000000; font-weight: bold;">`</span>block <span style="color: #000000; font-weight: bold;">in</span> perform<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/backup-3.4.0/lib/backup/cli.rb:162:in `each'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>backup-3.4.0<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>cli.rb:<span style="color: #000000;">162</span>:in <span style="color: #000000; font-weight: bold;">`</span>perform<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>thor-0.18.1<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>thor<span style="color: #000000; font-weight: bold;">/</span>invocation.rb:<span style="color: #000000;">120</span>:in <span style="color: #000000; font-weight: bold;">`</span>invoke_command<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>thor-0.18.1<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>thor<span style="color: #000000; font-weight: bold;">/</span>base.rb:<span style="color: #000000;">439</span>:in <span style="color: #000000; font-weight: bold;">`</span>start<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/backup-3.4.0/bin/backup:5:in `&lt;top (required)&gt;'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>backup:<span style="color: #000000;">23</span>:in <span style="color: #000000; font-weight: bold;">`</span>load<span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/bin/backup:23:in `&lt;main&gt;'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rvm<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>ruby-2.0.0-p247<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby_executable_hooks:<span style="color: #000000;">15</span>:in <span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">eval</span><span style="color: #ff0000;">'
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `&lt;main&gt;'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span> CleanerError: Cleanup Warning
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   The temporary backup folder <span style="color: #ff0000;">'~/Backup/.tmp'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   appears to contain the backup files <span style="color: #c20cb9; font-weight: bold;">which</span> were to be stored:
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>  ~<span style="color: #000000; font-weight: bold;">/</span>Backup<span style="color: #000000; font-weight: bold;">/</span>.tmp<span style="color: #000000; font-weight: bold;">/</span>my_backup.tar
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Make sure you check these files before the next scheduled backup <span style="color: #000000; font-weight: bold;">for</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   <span style="color: #ff0000;">'My backup DB to Yandex.Disk (my_backup)'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   These files will be removed at that <span style="color: #000000; font-weight: bold;">time</span><span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> ModelError: If you have other Backup <span style="color: #7a0874; font-weight: bold;">jobs</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>triggers<span style="color: #7a0874; font-weight: bold;">&#41;</span> configured to run,
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Backup will now attempt to continue...</pre></td></tr></table></div>

<p>И, как уже догадался проницательный читатель, бэкап не залился на ЯД, но не стоит расстраиваться. Пристально и с презрением посмотрите на строки:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">18</span>:<span style="color: #000000;">53</span>:06<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>error<span style="color: #7a0874; font-weight: bold;">&#93;</span>   undefined method <span style="color: #000000; font-weight: bold;">`</span>present?<span style="color: #ff0000;">' for &quot;mysupersecretyandexapptoken&quot;:String
[2014/01/08 18:53:06][error] 
[2014/01/08 18:53:06][error] Backtrace:
[2014/01/08 18:53:06][error]   /usr/local/rvm/gems/ruby-2.0.0-p247/gems/yandex-disk-0.0.5/lib/yandex/disk/client.rb:17:in `block in initialize'</span></pre></td></tr></table></div>

<p>и откройте файл <code>/usr/local/rvm/gems/ruby-2.0.0-p247/gems/yandex-disk-0.0.5/lib/yandex/disk/client.rb</code>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;"># coding: utf-8</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'base64'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'faraday'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'faraday_middleware'</span>
&nbsp;
<span style="color:#6666ff; font-weight:bold;">Faraday::Connection::METHODS</span> <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> <span style="color:#ff3333; font-weight:bold;">:propfind</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">module</span> Yandex
  <span style="color:#9966CC; font-weight:bold;">module</span> Disk
    <span style="color:#9966CC; font-weight:bold;">class</span> Client
      <span style="color:#CC0066; font-weight:bold;">autoload</span> <span style="color:#ff3333; font-weight:bold;">:Request</span>, <span style="color:#996600;">'yandex/disk/client/request'</span>
&nbsp;
      <span style="color:#9966CC; font-weight:bold;">def</span> initialize options=<span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span>
        <span style="color:#0066ff; font-weight:bold;">@timeout</span> = options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:timeout</span><span style="color:#006600; font-weight:bold;">&#93;</span> <span style="color:#006600; font-weight:bold;">||</span> <span style="color:#006666;">300</span>
        <span style="color:#0066ff; font-weight:bold;">@http</span> = Faraday.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:url</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'https://webdav.yandex.ru'</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>builder<span style="color:#006600; font-weight:bold;">|</span>
          <span style="color:#9966CC; font-weight:bold;">if</span> options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:access_token</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">present</span>?
            builder.<span style="color:#9900CC;">request</span> <span style="color:#ff3333; font-weight:bold;">:authorization</span>, <span style="color:#996600;">&quot;OAuth&quot;</span>, options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:access_token</span><span style="color:#006600; font-weight:bold;">&#93;</span>
          <span style="color:#9966CC; font-weight:bold;">else</span>
            basic_token = <span style="color:#CC00FF; font-weight:bold;">Base64</span>.<span style="color:#9900CC;">encode64</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;#{options[:login]}:#{options[:password]}&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
            builder.<span style="color:#9900CC;">request</span> <span style="color:#ff3333; font-weight:bold;">:authorization</span>, <span style="color:#996600;">&quot;Basic&quot;</span>, basic_token
          <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
          builder.<span style="color:#9900CC;">response</span> <span style="color:#ff3333; font-weight:bold;">:follow_redirects</span>
&nbsp;
          <span style="color:#9966CC; font-weight:bold;">if</span> faraday_configurator = options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:faraday_configurator</span><span style="color:#006600; font-weight:bold;">&#93;</span>
            faraday_configurator.<span style="color:#9900CC;">call</span><span style="color:#006600; font-weight:bold;">&#40;</span>builder<span style="color:#006600; font-weight:bold;">&#41;</span>
          <span style="color:#9966CC; font-weight:bold;">else</span>
            builder.<span style="color:#9900CC;">adapter</span> <span style="color:#ff3333; font-weight:bold;">:excon</span>
          <span style="color:#9966CC; font-weight:bold;">end</span>
        <span style="color:#9966CC; font-weight:bold;">end</span>
      <span style="color:#9966CC; font-weight:bold;">end</span>
...</pre></td></tr></table></div>

<p>По неизвестным науке обстоятельствам ошибка возникает при вызове метода <code>present?</code> для String-элемента в хэше. Наивный читатель может предложить заменить</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:access_token</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">present</span>?</pre></td></tr></table></div>

<p>на</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">unless</span> options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:access_token</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">blank</span>?</pre></td></tr></table></div>

<p>но спешу заметить, что такая рокировка вызовет аналогичную ошибку, поэтому в данном случае я предлагаю строку №17 привести к виду:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>16
17
18
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;">        <span style="color:#0066ff; font-weight:bold;">@http</span> = Faraday.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:url</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'https://webdav.yandex.ru'</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>builder<span style="color:#006600; font-weight:bold;">|</span>
          <span style="color:#9966CC; font-weight:bold;">if</span> options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:access_token</span><span style="color:#006600; font-weight:bold;">&#93;</span>
            builder.<span style="color:#9900CC;">request</span> <span style="color:#ff3333; font-weight:bold;">:authorization</span>, <span style="color:#996600;">&quot;OAuth&quot;</span>, options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:access_token</span><span style="color:#006600; font-weight:bold;">&#93;</span></pre></td></tr></table></div>

<p>После такой магии у меня все запустилось:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ backup perform <span style="color: #660033;">-t</span> my_backup
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:03<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Performing Backup <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #ff0000;">'My backup DB to Yandex.Disk (my_backup)'</span><span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:03<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> backup 3.4.0 : ruby 2.0.0p247 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2013</span>-06-<span style="color: #000000;">27</span> revision <span style="color: #000000;">41674</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>x86_64-linux<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span> CleanerError: Cleanup Warning
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   The temporary backup folder <span style="color: #ff0000;">'~/Backup/.tmp'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   appears to contain the package files from the previous backup<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   ~<span style="color: #000000; font-weight: bold;">/</span>Backup<span style="color: #000000; font-weight: bold;">/</span>.tmp<span style="color: #000000; font-weight: bold;">/</span>my_backup.tar
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   These files will now be removed.
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Please check the log <span style="color: #000000; font-weight: bold;">for</span> messages and<span style="color: #000000; font-weight: bold;">/</span>or your notifications
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   concerning this backup: <span style="color: #ff0000;">'My backup DB to Yandex.Disk (my_backup)'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span>   The temporary files <span style="color: #c20cb9; font-weight: bold;">which</span> had to be removed should not have existed.
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Database::MySQL Started...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Using Compressor::Gzip <span style="color: #000000; font-weight: bold;">for</span> compression.
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Command: <span style="color: #ff0000;">'/bin/gzip'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:04<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span>   Ext: <span style="color: #ff0000;">'.gz'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:<span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Database::MySQL Finished<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:<span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Packaging the backup files...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:<span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Splitter configured with a chunk <span style="color: #c20cb9; font-weight: bold;">size</span> of 500MB.
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:<span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Packaging Complete<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:<span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Cleaning up the temporary files...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:<span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Yandex::Disk Started...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:09:<span style="color: #000000;">12</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Storing <span style="color: #ff0000;">'/backups/my_backup/2014.01.08.19.09.03/my_backup.tar'</span>...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:<span style="color: #000000;">10</span>:<span style="color: #000000;">13</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Cycling Started...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:<span style="color: #000000;">10</span>:<span style="color: #000000;">13</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Yandex::Disk Finished<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:<span style="color: #000000;">10</span>:<span style="color: #000000;">13</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>info<span style="color: #7a0874; font-weight: bold;">&#93;</span> Cleaning up the package files...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2014</span><span style="color: #000000; font-weight: bold;">/</span>01<span style="color: #000000; font-weight: bold;">/</span>08 <span style="color: #000000;">19</span>:<span style="color: #000000;">10</span>:<span style="color: #000000;">13</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>warn<span style="color: #7a0874; font-weight: bold;">&#93;</span> Backup <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #ff0000;">'My backup DB to Yandex.Disk (my_backup)'</span> Completed Successfully <span style="color: #7a0874; font-weight: bold;">&#40;</span>with Warnings<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">in</span> 00:01:<span style="color: #000000;">10</span></pre></td></tr></table></div>

<p><meta property="og:image" content="http://blog.lukmus.ru/wp-content/uploads/2014/01/back-up.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lukmus.ru/2014/01/10/backup-na-yandeks-disk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
