<?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[Docker 重启后数据回到昨天，才发现卷挂错了]]></title><description><![CDATA[<p dir="auto">我们重启 Docker 后，NodeBB 附件和部分配置像回到昨天。数据库还在，上传目录不对。</p>
]]></description><link>https://localaihub.com/topic/180/docker-重启后数据回到昨天-才发现卷挂错了</link><generator>RSS for Node</generator><lastBuildDate>Wed, 03 Jun 2026 20:31:26 GMT</lastBuildDate><atom:link href="https://localaihub.com/topic/180.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 May 2026 02:00:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Thu, 14 May 2026 01:58:00 GMT]]></title><description><![CDATA[<p dir="auto">复盘结论别写 Docker 不可靠，写卷和配置没生产化。</p>
]]></description><link>https://localaihub.com/post/1939</link><guid isPermaLink="true">https://localaihub.com/post/1939</guid><dc:creator><![CDATA[nora]]></dc:creator><pubDate>Thu, 14 May 2026 01:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 23:24:00 GMT]]></title><description><![CDATA[<p dir="auto">后续做恢复演练，直接删容器重建，看数据是否还在。</p>
]]></description><link>https://localaihub.com/post/1938</link><guid isPermaLink="true">https://localaihub.com/post/1938</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Wed, 13 May 2026 23:24:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 21:07:00 GMT]]></title><description><![CDATA[<p dir="auto">给用户侧也要有处理。头像丢失可以默认图，附件丢失要能标记不可用。</p>
]]></description><link>https://localaihub.com/post/1937</link><guid isPermaLink="true">https://localaihub.com/post/1937</guid><dc:creator><![CDATA[陈一]]></dc:creator><pubDate>Wed, 13 May 2026 21:07:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 18:58:00 GMT]]></title><description><![CDATA[<p dir="auto">找回一部分，缺了几个头像。</p>
]]></description><link>https://localaihub.com/post/1936</link><guid isPermaLink="true">https://localaihub.com/post/1936</guid><dc:creator><![CDATA[刚装好环境]]></dc:creator><pubDate>Wed, 13 May 2026 18:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 16:48:00 GMT]]></title><description><![CDATA[<p dir="auto">先找昨天到今天新增的附件是否还在旧容器层。能救多少救多少。</p>
]]></description><link>https://localaihub.com/post/1935</link><guid isPermaLink="true">https://localaihub.com/post/1935</guid><dc:creator><![CDATA[阿白]]></dc:creator><pubDate>Wed, 13 May 2026 16:48:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 13:56:00 GMT]]></title><description><![CDATA[<p dir="auto">这类操作要在复盘里点名。临时手工改动如果不回到声明式配置，就一定会丢。</p>
]]></description><link>https://localaihub.com/post/1934</link><guid isPermaLink="true">https://localaihub.com/post/1934</guid><dc:creator><![CDATA[Grace]]></dc:creator><pubDate>Wed, 13 May 2026 13:56:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 13:36:00 GMT]]></title><description><![CDATA[<p dir="auto">之前为了快，直接 <code>docker cp</code> 过插件静态文件。</p>
]]></description><link>https://localaihub.com/post/1933</link><guid isPermaLink="true">https://localaihub.com/post/1933</guid><dc:creator><![CDATA[刚装好环境]]></dc:creator><pubDate>Wed, 13 May 2026 13:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 10:35:00 GMT]]></title><description><![CDATA[<p dir="auto">部署文档里不要写“复制文件到容器”。容器重建后就没了。</p>
]]></description><link>https://localaihub.com/post/1932</link><guid isPermaLink="true">https://localaihub.com/post/1932</guid><dc:creator><![CDATA[melo]]></dc:creator><pubDate>Wed, 13 May 2026 10:35:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 08:14:00 GMT]]></title><description><![CDATA[<p dir="auto">还有权限。挂对目录但 UID/GID 不对，也会导致应用写到 fallback 路径或写失败。</p>
]]></description><link>https://localaihub.com/post/1931</link><guid isPermaLink="true">https://localaihub.com/post/1931</guid><dc:creator><![CDATA[小吴]]></dc:creator><pubDate>Wed, 13 May 2026 08:14:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 06:43:00 GMT]]></title><description><![CDATA[<p dir="auto">这就是“能跑”但不可生产。所有持久化路径都要明确挂载。</p>
]]></description><link>https://localaihub.com/post/1930</link><guid isPermaLink="true">https://localaihub.com/post/1930</guid><dc:creator><![CDATA[nora]]></dc:creator><pubDate>Wed, 13 May 2026 06:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 06:18:00 GMT]]></title><description><![CDATA[<p dir="auto">发现 uploads 挂到了临时目录，之前手工复制过一次。</p>
]]></description><link>https://localaihub.com/post/1929</link><guid isPermaLink="true">https://localaihub.com/post/1929</guid><dc:creator><![CDATA[刚装好环境]]></dc:creator><pubDate>Wed, 13 May 2026 06:18:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker 重启后数据回到昨天，才发现卷挂错了 on Wed, 13 May 2026 04:57:00 GMT]]></title><description><![CDATA[<p dir="auto">先别再重启。看容器内路径和宿主机 volume 映射，确认现在写到哪里。</p>
]]></description><link>https://localaihub.com/post/1928</link><guid isPermaLink="true">https://localaihub.com/post/1928</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Wed, 13 May 2026 04:57:00 GMT</pubDate></item></channel></rss>