<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #111: Backups to Webarchitects server</title>
    <link>https://trac.crin.org/trac/ticket/111</link>
    <description>&lt;p&gt;
This is a ticket to setup backups to &lt;tt&gt;store1.webarch.net&lt;/tt&gt; on.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CRIN Trac</title>
      <url>https://trac.crin.org/trac/chrome/site/logo.gif</url>
      <link>https://trac.crin.org/trac/ticket/111</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 13 Apr 2017 10:45:29 GMT</pubDate>
      <title>hours changed; totalhours set</title>
      <link>https://trac.crin.org/trac/ticket/111#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/111#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.6&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                set to &lt;em&gt;0.6&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
A &lt;tt&gt;crin&lt;/tt&gt; account has been created on &lt;tt&gt;store1.webarch.net&lt;/tt&gt; and the root ssh public keys have been copied over and the following has been added to &lt;tt&gt;/root/.ssh/config&lt;/tt&gt; and the connections have been tested:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Host backup
  User crin
  Hostname store1.webarch.net
&lt;/pre&gt;&lt;p&gt;
&lt;a class="ext-link" href="https://svn.webarch.net/scripts/usr/local/bin/agile-backup"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;this script&lt;/a&gt; has been installed on each server and a list of directories to backup has been created:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
cd /usr/local/bin
wget https://svn.webarch.net/scripts/usr/local/bin/agile-backup
chmod 755 agile-backup
mkdir /etc/agile/
vi /etc/agile/backup
&lt;/pre&gt;&lt;p&gt;
And the directories to backup on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/etc
/root
/home
/var/www
/var/backups/mysql/databases
&lt;/pre&gt;&lt;p&gt;
And the crontab:
&lt;/p&gt;
&lt;pre class="wiki"&gt;30 01 * * * /usr/local/bin/agile-backup
&lt;/pre&gt;&lt;p&gt;
And on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; the directories:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/etc
/root
/home
/var/www
&lt;/pre&gt;&lt;p&gt;
And the cronjob:
&lt;/p&gt;
&lt;pre class="wiki"&gt;30 02 * * * /usr/local/bin/agile-backup
&lt;/pre&gt;&lt;p&gt;
And on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin4"&gt;Crin4&lt;/a&gt; the directories:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/etc
/root
/home
/var/www
&lt;/pre&gt;&lt;p&gt;
And on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin3"&gt;Crin3&lt;/a&gt; the directories:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/root
/usr/local/bin
&lt;/pre&gt;&lt;p&gt;
I have setoff the initial backup in &lt;tt&gt;screen&lt;/tt&gt; on each server and they are all rsyncing now.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 13 Apr 2017 17:28:46 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/111#comment:2</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/111#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.6&lt;/em&gt; to &lt;em&gt;0.75&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I just checked and the initial backups are still running on all three servers.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>