<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Retention policy - 1 day possible?]]></title><description><![CDATA[<p dir="auto">Using Cloudron version 9, under <code>Configure Backup Schedule &amp; Retention</code> is it possible to get an option for 1 day?</p>
<p dir="auto">I store my backups on a ZFS pool, so I automatically get daily, weekly, and monthly snapshots of my data. Having this as 2 days causes me to spend 2x the storage space (and bandwidth) on backups.</p>
]]></description><link>https://forum.cloudron.io/topic/14786/retention-policy-1-day-possible</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 07:26:58 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14786.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Dec 2025 03:49:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Fri, 09 Jan 2026 22:27:06 GMT]]></title><description><![CDATA[<p dir="auto">Yes - you're right it's "storage". I have been meaning to try the rsync instead of zip, but it does warn that it's not a good idea for lots of files. I'll give it a try. Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/118221</link><guid isPermaLink="true">https://forum.cloudron.io/post/118221</guid><dc:creator><![CDATA[djxx]]></dc:creator><pubDate>Fri, 09 Jan 2026 22:27:06 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Fri, 09 Jan 2026 14:54:24 GMT]]></title><description><![CDATA[<p dir="auto">This is a guess, but do you mean "snapshot" instead of "storage" ? If so yes the snapshot contains the first snapshot of the app and then the data is rotated (copied) over from there to the final destination. This does add one extra storage on disk of the same data.</p>
<p dir="auto">To avoid having this extra copy on disk, you can use the rsync storage format with hardlinks.</p>
]]></description><link>https://forum.cloudron.io/post/118201</link><guid isPermaLink="true">https://forum.cloudron.io/post/118201</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 09 Jan 2026 14:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Wed, 07 Jan 2026 17:09:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thanks for checking! The UI change did take effect, and I do see a reduction of backup size - but it's not down to 1x the size of the backup. It's still 2x the size of the backup.</p>
<p dir="auto">Inside the remote storage folder, I see:</p>
<ul>
<li>storage</li>
<li>2026-01-03-150000-664</li>
<li>all other backups before</li>
</ul>
<p dir="auto">It looks like the latest backup also has a copy in "storage", which is still resulting in 2x the backup space for each snapshot being taken - because each day "storage" will change, and there will be a new folder added.</p>
]]></description><link>https://forum.cloudron.io/post/118098</link><guid isPermaLink="true">https://forum.cloudron.io/post/118098</guid><dc:creator><![CDATA[djxx]]></dc:creator><pubDate>Wed, 07 Jan 2026 17:09:59 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Tue, 06 Jan 2026 16:50:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/djxx" aria-label="Profile: djxx">@<bdi>djxx</bdi></a> did this work out for you in the end?</p>
]]></description><link>https://forum.cloudron.io/post/118041</link><guid isPermaLink="true">https://forum.cloudron.io/post/118041</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 06 Jan 2026 16:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Wed, 31 Dec 2025 06:54:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> Thanks! This was helpful. I made this change. Looking forward to the next sync so I can see if the data has been cut in half.</p>
]]></description><link>https://forum.cloudron.io/post/117760</link><guid isPermaLink="true">https://forum.cloudron.io/post/117760</guid><dc:creator><![CDATA[djxx]]></dc:creator><pubDate>Wed, 31 Dec 2025 06:54:17 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Tue, 30 Dec 2025 17:20:28 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/djxx" aria-label="Profile: djxx">@<bdi>djxx</bdi></a><br />
The API Documentation is still outdated.<br />
But I can guide you.<br />
Create yourself a Cloudron API Token, see <a href="https://docs.cloudron.io/profile#api-tokens" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/profile#api-tokens</a></p>
<p dir="auto">Get your backup site ID</p>
<pre><code class="language-bash">export CLOUDRON_ACCESS_TOKEN="YOUR_TOKEN_GOES_HERE"
curl "https://my.cloudron.dev/api/v1/backup_sites?page=1&amp;per_page=1000&amp;access_token=${CLOUDRON_ACCESS_TOKEN}"
</code></pre>
<p dir="auto">Example Output:</p>
<pre><code class="language-bash">{
  "backupSites": [
    {
      "id": "3db47cce-dab7-46b6-9db3-1892ab14cd21",
      "name": "default",
      "provider": "filesystem",
      "schedule": "00 00 23 * * *",
      "format": "tgz",
      "enableForUpdates": true,
      "creationTime": "2025-10-10T08:12:57.000Z",
      "ts": "2025-11-10T11:22:44.000Z",
      "config": {
        "backupDir": "/var/backups"
      },
      "limits": {
        "memoryLimit": 1073741824,
        "uploadPartSize": 10485760,
        "syncConcurrency": 10,
        "downloadConcurrency": 10,
        "copyConcurrency": 10
      },
      "retention": {
        "keepWithinSecs": 172800
      },
      "integrityKeyPair": {
        "publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAZ18PRnLfQIf08IKl9bf9YkIHL7zT2eeeRJ8XuCx1+C0=\n-----END PUBLIC KEY-----\n"
      },
      "contents": null,
      "encrypted": false,
      "encryptedFilenames": false,
      "encryptionPasswordHint": null
    }
  ]
}
</code></pre>
<p dir="auto">So the backup site ID is <code>3db47cce-dab7-46b6-9db3-1892ab14cd21</code>.</p>
<p dir="auto">Set the retention time in seconds:</p>
<pre><code class="language-bash">export BACKUPSITE_ID="3db47cce-dab7-46b6-9db3-1892ab14cd21"
curl "https://my.cloudron.dev/api/v1/backup_sites/${BACKUPSITE_ID}/configure/retention?access_token=${CLOUDRON_ACCESS_TOKEN}" \
  -H 'content-type: application/json' \
  --data-raw '{"retention":{"keepWithinSecs":86400}}'
</code></pre>
<p dir="auto">This will lead to a little buggy looking dashboard since there is no display option for values outside of the avaiable selections.</p>
<p dir="auto">Normal 2 Days:<br />
<img src="/assets/uploads/files/1767115149874-821b8ddd-60a8-49f5-bc09-2b7759c67048-image.png" alt="821b8ddd-60a8-49f5-bc09-2b7759c67048-image.png" class="img-markdown  img-fluid" width="937" height="297" /></p>
<p dir="auto">Set to <code>86400</code> seconds = 1 Day:<br />
<img src="/assets/uploads/files/1767115188051-240788f1-b06c-408e-af32-4f346e3758d4-image.png" alt="240788f1-b06c-408e-af32-4f346e3758d4-image.png" class="img-markdown  img-fluid" width="936" height="299" /></p>
]]></description><link>https://forum.cloudron.io/post/117741</link><guid isPermaLink="true">https://forum.cloudron.io/post/117741</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Tue, 30 Dec 2025 17:20:28 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Tue, 30 Dec 2025 17:01:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Great! Can you give an example of how, or point me to the documentation?</p>
]]></description><link>https://forum.cloudron.io/post/117738</link><guid isPermaLink="true">https://forum.cloudron.io/post/117738</guid><dc:creator><![CDATA[djxx]]></dc:creator><pubDate>Tue, 30 Dec 2025 17:01:07 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Mon, 29 Dec 2025 13:54:32 GMT]]></title><description><![CDATA[<p dir="auto">This is possible via the API, just not via the UI.</p>
]]></description><link>https://forum.cloudron.io/post/117671</link><guid isPermaLink="true">https://forum.cloudron.io/post/117671</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 29 Dec 2025 13:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to Retention policy - 1 day possible? on Tue, 23 Dec 2025 08:15:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/djxx" aria-label="Profile: djxx">@<bdi>djxx</bdi></a><br />
Currently, no. The minimum is two days.<br />
I am converting your topic into a feature request.</p>
]]></description><link>https://forum.cloudron.io/post/117470</link><guid isPermaLink="true">https://forum.cloudron.io/post/117470</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Tue, 23 Dec 2025 08:15:31 GMT</pubDate></item></channel></rss>