<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #90: Cost of backup is estimated</title>
    <link>https://trac.crin.org/trac/ticket/90</link>
    <description>&lt;p&gt;
It would be useful to estimate the expected cost of back up, by estimated the size and correlating this with the advertised price page.
&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/90</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 25 Oct 2016 09:40:14 GMT</pubDate>
      <title>hours changed; totalhours set</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#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.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                set to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have started to mount the s3ql filesystems on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin3"&gt;Crin3&lt;/a&gt; so we can get an idea of the space usage, but I don't think this will be accurate as the data will be compressed and de-duplicated on the server, what about logging into Advania and checking if they display space used?
&lt;/p&gt;
&lt;p&gt;
There is also this issue, &lt;a class="new ticket" href="https://trac.crin.org/trac/ticket/66" title="defect: Optimise backups, omit some MySQL tables and delete old backups from s3ql (new)"&gt;ticket:66&lt;/a&gt; -- in the past it has been really time consuming to delete old backups so this hasn't been done manually as often as it should have and also it hasn't been automated, sorting this issue out should make a big difference.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>matthew</dc:creator>

      <pubDate>Tue, 25 Oct 2016 09:48:34 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/90#comment:2</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:2</guid>
      <description>
        &lt;p&gt;
thank you
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 25 Oct 2016 11:03:23 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:3</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:3</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.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.1&lt;/em&gt; to &lt;em&gt;0.2&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt; s3ql filesystem has mounted, the &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; one is not there yet:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Filesystem                             Size  Used Avail Use% Mounted on
s3c://s.qstack.advania.com:443/crin1/  1.0T  307G  718G  30% /media/s3ql/crin1
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 25 Oct 2016 13:06:10 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:4</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:4</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.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.2&lt;/em&gt; to &lt;em&gt;0.3&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
No joy in mounting the &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; s3ql backups yet, this is where it is getting stuck:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Backing up old metadata...
Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 3)...
Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 4)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 5)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 6)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 7)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 8)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 9)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 10)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 11)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 12)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 13)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 14)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 15)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 16)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 17)...
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 25 Oct 2016 19:28:51 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:5</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:5</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.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.3&lt;/em&gt; to &lt;em&gt;0.4&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I'm afraid that the attempts to mount the &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; s3ql backups are on-going...
&lt;/p&gt;
&lt;pre class="wiki"&gt;WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 66)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 67)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 68)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 69)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 70)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 71)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 72)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 73)...
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 26 Oct 2016 09:47:41 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/90</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;Storage Cloud.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 26 Oct 2016 09:50:04 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:6</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.4&lt;/em&gt; to &lt;em&gt;0.55&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I'm afraid the &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; s3ql backup filesystem still hasn't mounted:
&lt;/p&gt;
&lt;pre class="wiki"&gt;WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 57)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 58)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 59)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 60)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 61)...
&lt;/pre&gt;&lt;p&gt;
The &lt;a class="ext-link" href="https://www.advania.com/cloud/storage-cloud/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Advania storage prices&lt;/a&gt; are here:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="https://trac.crin.org/trac/attachment/ticket/90/Storage%20Cloud.png"&gt;&lt;img src="https://trac.crin.org/trac/raw-attachment/ticket/90/Storage%20Cloud.png" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
But I don't know which rate is used.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 27 Oct 2016 11:44:13 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:7</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:7</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.55&lt;/em&gt; to &lt;em&gt;0.7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
It finally got there but then failed for another reason (Backend reports that fs is still mounted elsewhere?!):
&lt;/p&gt;
&lt;pre class="wiki"&gt;WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 59)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 60)...
WARNING: Encountered ConnectionTimedOut (send/recv timeout exceeded), retrying Backend.copy (attempt 61)...
Cleaning up local metadata...
Completed fsck of s3c://s.qstack.advania.com:443/crin2/
Filesystem check of s3c://s.qstack.advania.com:443/crin2 success
Autodetected 65501 file descriptors available for cache entries
Ignoring locally cached metadata (outdated).
ERROR: Backend reports that fs is still mounted elsewhere, aborting.
Mounting s3c://s.qstack.advania.com:443/crin2 on /media/s3ql/crin2 failed
&lt;/pre&gt;&lt;p&gt;
So trying again:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mnt-s3ql crin2
No problem with disconnected endpoints
Starting fsck of s3c://s.qstack.advania.com:443/crin2/
Ignoring locally cached metadata (outdated).
File system is marked as clean. Use --force to force checking.
Filesystem check of s3c://s.qstack.advania.com:443/crin2 success
Autodetected 65501 file descriptors available for cache entries
Ignoring locally cached metadata (outdated).
Downloading and decompressing metadata
...
&lt;/pre&gt;&lt;p&gt;
Mounting &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin4"&gt;Crin4&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mnt-s3ql crin4
No problem with disconnected endpoints
Starting fsck of s3c://s.qstack.advania.com:443/crin4/
Using cached metadata.
File system is marked as clean. Use --force to force checking.
Filesystem check of s3c://s.qstack.advania.com:443/crin4 success
Autodetected 65501 file descriptors available for cache entries
Using cached metadata.
Setting cache size to 4839 MB
Mounting s3c://s.qstack.advania.com:443/crin4/ at /media/s3ql/crin4...
Mounting s3c://s.qstack.advania.com:443/crin4 on /media/s3ql/crin4 success
&lt;/pre&gt;&lt;p&gt;
And the space used:
&lt;/p&gt;
&lt;pre class="wiki"&gt;df -h
Filesystem                             Size  Used Avail Use% Mounted on
s3c://s.qstack.advania.com:443/crin4/  1.0T   59G  966G   6% /media/s3ql/crin4
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 27 Oct 2016 11:56:05 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:8</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:8</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.7&lt;/em&gt; to &lt;em&gt;0.85&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
And success!
&lt;/p&gt;
&lt;pre class="wiki"&gt;Ignoring locally cached metadata (outdated).
Downloading and decompressing metadata...
Reading metadata...
..objects..
..blocks..
..inodes..
..inode_blocks..
..symlink_targets..
..names..
..contents..
..ext_attributes..
Setting cache size to 3001 MB
Mounting s3c://s.qstack.advania.com:443/crin2/ at /media/s3ql/crin2...
Mounting s3c://s.qstack.advania.com:443/crin2 on /media/s3ql/crin2 success
&lt;/pre&gt;&lt;p&gt;
Space wise:
&lt;/p&gt;
&lt;pre class="wiki"&gt;df -h
Filesystem                             Size  Used Avail Use% Mounted on
s3c://s.qstack.advania.com:443/crin2/  1.0T  127G  898G  13% /media/s3ql/crin2
&lt;/pre&gt;&lt;p&gt;
So the total:
&lt;/p&gt;
&lt;pre class="wiki"&gt;307+127+59
493
&lt;/pre&gt;&lt;p&gt;
But remember that this 493G is how big the filesystem appears without deduplication and without compression -- it will hopefully be using a lot less space on the server.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 27 Oct 2016 12:01:56 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:9</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:9</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.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.85&lt;/em&gt; to &lt;em&gt;0.95&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
And with all the filsystems mounted on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin3"&gt;Crin3&lt;/a&gt; this is how it looks:
&lt;/p&gt;
&lt;pre class="wiki"&gt;df -h
Filesystem                             Size  Used Avail Use% Mounted on
udev                                   489M     0  489M   0% /dev
tmpfs                                  100M   11M   90M  11% /run
/dev/mapper/CRIN3--vg-root              15G  9.6G  4.5G  69% /
tmpfs                                  499M     0  499M   0% /dev/shm
tmpfs                                  5.0M     0  5.0M   0% /run/lock
tmpfs                                  499M     0  499M   0% /sys/fs/cgroup
/dev/sda1                              236M   60M  165M  27% /boot
tmpfs                                  100M     0  100M   0% /run/user/1000
crin2:/                                121G   25G   91G  22% /media/sshfs/crin2
s3c://s.qstack.advania.com:443/crin4/  1.0T   59G  966G   6% /media/s3ql/crin4
s3c://s.qstack.advania.com:443/crin2/  1.0T  127G  898G  13% /media/s3ql/crin2
s3c://s.qstack.advania.com:443/crin1/  1.0T  309G  716G  31% /media/s3ql/crin1
crin1:/                                121G   27G   88G  24% /media/sshfs/crin1
crin4:/                                 15G  6.3G  7.8G  45% /media/sshfs/crin4
&lt;/pre&gt;&lt;p&gt;
I suggest we should do some follow up on &lt;a class="new ticket" href="https://trac.crin.org/trac/ticket/66" title="defect: Optimise backups, omit some MySQL tables and delete old backups from s3ql (new)"&gt;ticket:66&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 27 Oct 2016 13:36:10 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/90#comment:10</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/90#comment:10</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.95&lt;/em&gt; to &lt;em&gt;1.1&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Based on the prices on &lt;a class="new ticket" href="https://trac.crin.org/trac/ticket/90#comment:6" title="task: Cost of backup is estimated (new)"&gt;ticket:90#comment:6&lt;/a&gt; the cost for the lead tier in US dollars per month:
&lt;/p&gt;
&lt;pre class="wiki"&gt;493 / 40 * 2.25 = 27.73125
&lt;/pre&gt;&lt;p&gt;
And the the platinum tier in US dollars per month:
&lt;/p&gt;
&lt;pre class="wiki"&gt;493 / 40 * 8.98 = 110.6785
&lt;/pre&gt;&lt;p&gt;
However we don't know how much disk space we are actually using and we don't know which tier we are on... so the only thing I think we could say with confidence is that they are probably invoicing for something in the region of £20 and £100 per month?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>