<?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[S3 Backup Retention Not Deleting Old Backups]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Been testing the S3 backup and it seems our b2 storage keeps growing even though the amount of data being backed up is pretty constant. I'm wondering if the S3 backup deletes old backups from b2 as part of the backup retention set in XO backup schedule? Or if I have setup something wrong on either XO or b2 which is causing the storage on b2 to keep growing without rotation.</p>
<p dir="auto">Here is what I have as part of my backup:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1642033732085-125608b7-db1e-4c9f-99f6-c735729c7089-image.png" alt="125608b7-db1e-4c9f-99f6-c735729c7089-image.png" class=" img-fluid img-markdown" /><br />
<img src="/forum/assets/uploads/files/1642033793344-5e79fb78-24dc-498c-94bf-0145592079e8-image.png" alt="5e79fb78-24dc-498c-94bf-0145592079e8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1642033873761-f36a3fa2-9795-4976-a8bb-60e3ffdc7302-image.png" alt="f36a3fa2-9795-4976-a8bb-60e3ffdc7302-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">In b2, I have the following:<br />
<img src="/forum/assets/uploads/files/1642034093010-c23d0a5b-8110-4724-912f-2c8f1b886bf9-image.png" alt="c23d0a5b-8110-4724-912f-2c8f1b886bf9-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1642034293508-3fee8c20-80af-4bc9-9217-edbbd9e3d294-image.png" alt="3fee8c20-80af-4bc9-9217-edbbd9e3d294-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thx,</p>
<p dir="auto">SW</p>
]]></description><link>https://xcp-ng.org/forum/topic/5432/s3-backup-retention-not-deleting-old-backups</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 02:15:27 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/5432.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Jan 2022 00:39:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Mon, 24 Jan 2022 14:59:21 GMT]]></title><description><![CDATA[<p dir="auto">Dunno it's <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a> you should ask <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://xcp-ng.org/forum/post/46067</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/46067</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 24 Jan 2022 14:59:21 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Mon, 24 Jan 2022 15:04:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>, if an admin selects to delete backups, does XO delete these from the S3 bucket?</p>
<p dir="auto">Last night, I selected to delete all backups from XO that are stored on b2 S3 bucket (about 50 backups). However when I checked b2 this morning, it seems nothing got deleted from the bucket:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1643031420155-2a4910de-2f4e-4271-9836-656da4a594b2-image.png" alt="2a4910de-2f4e-4271-9836-656da4a594b2-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The above bucket contains only XO backups (for VMs and Pool/Config backups) so the bucket size should have reduced to only a few hundred MBs instead of still being over 10TB.</p>
]]></description><link>https://xcp-ng.org/forum/post/46061</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/46061</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Mon, 24 Jan 2022 15:04:58 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Mon, 24 Jan 2022 13:25:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/andrew" aria-label="Profile: andrew">@<bdi>andrew</bdi></a> thank you for the clarification! XO isn't very clear on that as I thought after the 7 backup retention, it will automatically run a new full back. So do you think doing this will work where to offer 1 full backup per week and then 6 deltas in between:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1643030744225-78beb6d8-7119-42bc-96cc-84c17c308ed9-image.png" alt="78beb6d8-7119-42bc-96cc-84c17c308ed9-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/46058</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/46058</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Mon, 24 Jan 2022 13:25:47 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Mon, 24 Jan 2022 12:54:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stevewest15" aria-label="Profile: stevewest15">@<bdi>stevewest15</bdi></a> Only running one full backup the first time and then deltas going forward is creating a synthetic full backup (deltas merged into the original full backup). The problem with this is if there is an error in the program (coding) or a delta backup error (or S3 error) then your "full" backup will be corrupted going forward, for ever... until the next real full backup. So you'll still want to run a true full backup regularly to make sure that you don't have long term errors in the synthetic full backup.</p>
<p dir="auto">Other companies (like Veem)  use a single full copy for both forward and reverse deltas to save space. For now XO only uses forward deltas so there will be more than one full backup at times.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a>  Testing today's XO master update, S3 backup works faster than ever. As this feature is still "beta" it's changing every update (normally improving).</p>
]]></description><link>https://xcp-ng.org/forum/post/46057</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/46057</guid><dc:creator><![CDATA[Andrew]]></dc:creator><pubDate>Mon, 24 Jan 2022 12:54:26 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Mon, 24 Jan 2022 03:07:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/andrew" aria-label="Profile: andrew">@<bdi>andrew</bdi></a> Thanks Andrew! I just updated to latest commit and will run backup job again based on the following new settings (see below). I did remove the advanced settings of "Full backup interval" to blank so not sure if that matters or not when doing deltas:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1642993612711-eb0c0a84-f7dc-4bce-b904-57dfa830a74c-image.png" alt="eb0c0a84-f7dc-4bce-b904-57dfa830a74c-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/46050</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/46050</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Mon, 24 Jan 2022 03:07:11 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Mon, 24 Jan 2022 03:02:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stevewest15" aria-label="Profile: stevewest15">@<bdi>stevewest15</bdi></a> If you are running XO from Source then you must update to the newest master. S3 backups just started working correctly for me on the newest version. If you are using XOA or another older tag version then it has old code for S3 and has issues with delta backups.</p>
<p dir="auto">Second, your backup retention is only set to 3. If you want 7 restore points then you want to increase the retention.</p>
<p dir="auto">With a delta backup you will always have at least 1 or 2 full backups saved. You will then have additional deltas between them to get a restore point.</p>
<p dir="auto">The Full Backup interval does not determine how many full backups you keep but how often you have a full from which future deltas are based (and merged into).</p>
<p dir="auto">Full+delta,,,,+delta = restore point.</p>
<p dir="auto">The system will need a 2nd full backup as your deltas age and hit your Full backup interval and new deltas are based off of the new full backup. When all the old deltas are merged into the old full backup it will be removed and you will again only have one full backup plus deltas.</p>
]]></description><link>https://xcp-ng.org/forum/post/46048</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/46048</guid><dc:creator><![CDATA[Andrew]]></dc:creator><pubDate>Mon, 24 Jan 2022 03:02:28 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Mon, 24 Jan 2022 02:46:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can anyone assist as to why my full backups are over 30 days old:<br />
<img src="/forum/assets/uploads/files/1642992008439-d7ff1037-c9d4-43d2-9aaa-3a69de3899ca-image.png" alt="d7ff1037-c9d4-43d2-9aaa-3a69de3899ca-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Here is my backup settings:<br />
<img src="/forum/assets/uploads/files/1642992103429-74ad1945-dfdb-4109-97f8-6db83aa3c475-image.png" alt="74ad1945-dfdb-4109-97f8-6db83aa3c475-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I want to have a total of 7 backups per week (1 full plus 6 deltas).</p>
]]></description><link>https://xcp-ng.org/forum/post/46046</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/46046</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Mon, 24 Jan 2022 02:46:58 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Thu, 13 Jan 2022 14:50:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Thank you, I've changed the settings on b2 to "Keep all versions of the file (default)".</p>
]]></description><link>https://xcp-ng.org/forum/post/45713</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/45713</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Thu, 13 Jan 2022 14:50:43 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Thu, 13 Jan 2022 14:40:38 GMT]]></title><description><![CDATA[<p dir="auto">My gut feeling: avoid any interaction, because XO is not meant to have files removed by another program, this might destroy your backup.</p>
]]></description><link>https://xcp-ng.org/forum/post/45712</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/45712</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 13 Jan 2022 14:40:38 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Thu, 13 Jan 2022 14:39:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Thank you, didn't realize it's been that long. Just updated to latest commit (b78a9). I'll see in a week or so if the issue resolves itself.</p>
<p dir="auto">I'm wondering if I should change the b2 Lifecycle settings from 7 days to only last version? Just not clear on how XO full &amp; delta backups with the b2 Lifecycle settings interact with each other:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1642084743596-1d1a4a9a-c4fe-44fb-80e8-2af7f385028f-image.png" alt="1d1a4a9a-c4fe-44fb-80e8-2af7f385028f-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/45711</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/45711</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Thu, 13 Jan 2022 14:39:08 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Thu, 13 Jan 2022 14:28:07 GMT]]></title><description><![CDATA[<p dir="auto">It's already 22 days old and more than 30 commits old. Please always check that your are on the latest <code>master</code> commit and rebuild before reporting an issue <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/45706</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/45706</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 13 Jan 2022 14:28:07 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Thu, 13 Jan 2022 14:25:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Good Morning, sorry didn't include that info:</p>
<p dir="auto">XO from sources, commit 4e88c<br />
xo-server 5.86.1<br />
xo-web 5.91.0</p>
]]></description><link>https://xcp-ng.org/forum/post/45705</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/45705</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Thu, 13 Jan 2022 14:25:28 GMT</pubDate></item><item><title><![CDATA[Reply to S3 Backup Retention Not Deleting Old Backups on Thu, 13 Jan 2022 08:25:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Do not interfere in file retention directly in Backblaze, that might remove legit files from XO backup.</p>
<p dir="auto">Also, in order to help you, we must know if you are using XOA or XO from the sources, and if you are fully up to date <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/45697</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/45697</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 13 Jan 2022 08:25:28 GMT</pubDate></item></channel></rss>