{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/",
        "slug": "review-borg-file-cache-safety-before-switching-from-ctime-to-mtime",
        "url": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/"
        },
        "title": "Review Borg file-cache safety before switching from ctime to mtime",
        "summary": "Evaluate change-detection correctness alongside speed before weakening Borg cache comparisons.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "network-infrastructure",
            "label": "Networks & infrastructure",
            "alt": "Resilient network core with engineered blue and gold data paths.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "business-continuity",
                "name": "Business Continuity",
                "url": "https://update.dsesecurity.com/topic/business-continuity/"
            },
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-10-15T13:33:05+00:00",
        "modified_at": "2026-10-15T13:36:16+00:00",
        "reviewed_on": "2026-10-15",
        "reading_minutes": 2,
        "word_count": 245,
        "potentially_affected": "This applies to Borg 1.4.5 backup-creation cache modes. It addresses the reliability tradeoff in avoiding rereads, not a universal performance recommendation for every filesystem or backup workload.",
        "dse_recommendation": "DSE recommends documenting the observed cache problem before changing comparison fields.",
        "primary_source": {
            "name": "Borg 1.4.5 — borg create",
            "url": "https://borgbackup.readthedocs.io/en/stable/usage/create.html",
            "published_on": null,
            "authority": "borgbackup.readthedocs.io"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<p>Evaluate change-detection correctness alongside speed before weakening Borg cache comparisons.</p>\n<h2>Source facts</h2>\n<p>Borg 1.4.5 uses cached file metadata to avoid reprocessing unchanged files. Its default cache comparison includes ctime, size, and inode. Inode values may be unstable on some network filesystems, reducing cache effectiveness; omitting inode can improve speed but reduce change-detection reliability. The documentation also contrasts ctime with mtime: users can reset mtime after content changes, which can mislead mtime-based cache comparisons. A metadata-only change can conversely advance ctime and cause extra processing.</p>\n<p>Source: <a href=\"https://borgbackup.readthedocs.io/en/stable/usage/create.html\">Borg 1.4.5 — borg create</a>.</p>\n<h2>Applicability</h2>\n<p>This applies to Borg 1.4.5 backup-creation cache modes. It addresses the reliability tradeoff in avoiding rereads, not a universal performance recommendation for every filesystem or backup workload.</p>\n<h2>DSE recommendation</h2>\n<p>DSE recommends documenting the observed cache problem before changing comparison fields. Record the source filesystem&#8217;s behavior and evaluate whether apparent slowness is expected metadata churn or unstable identifiers. Have the backup owner approve any reduced detection guarantees. Preserve a known conservative comparison in the rehearsal so faster operation can be evaluated against content correctness. Avoid treating a short backup duration as proof of improvement when fewer files may simply have been reread under a weaker comparison.</p>\n<h2>Verification</h2>\n<p>Use disposable files to compare the proposed and existing modes, including metadata-only changes and content changes followed by restored modification times. Inspect restored content, not just archive statistics. Retain both the performance observations and any missed or unnecessarily reprocessed changes before selecting the production mode.</p>\n<h2>Official reference</h2>\n<p><a href=\"https://borgbackup.readthedocs.io/en/stable/usage/create.html\">Borg 1.4.5 — borg create</a>. Reviewed October 15, 2026.</p>",
        "content_text": "Evaluate change-detection correctness alongside speed before weakening Borg cache comparisons.\nSource facts\nBorg 1.4.5 uses cached file metadata to avoid reprocessing unchanged files. Its default cache comparison includes ctime, size, and inode. Inode values may be unstable on some network filesystems, reducing cache effectiveness; omitting inode can improve speed but reduce change-detection reliability. The documentation also contrasts ctime with mtime: users can reset mtime after content changes, which can mislead mtime-based cache comparisons. A metadata-only change can conversely advance ctime and cause extra processing.\nSource: Borg 1.4.5 — borg create.\nApplicability\nThis applies to Borg 1.4.5 backup-creation cache modes. It addresses the reliability tradeoff in avoiding rereads, not a universal performance recommendation for every filesystem or backup workload.\nDSE recommendation\nDSE recommends documenting the observed cache problem before changing comparison fields. Record the source filesystem’s behavior and evaluate whether apparent slowness is expected metadata churn or unstable identifiers. Have the backup owner approve any reduced detection guarantees. Preserve a known conservative comparison in the rehearsal so faster operation can be evaluated against content correctness. Avoid treating a short backup duration as proof of improvement when fewer files may simply have been reread under a weaker comparison.\nVerification\nUse disposable files to compare the proposed and existing modes, including metadata-only changes and content changes followed by restored modification times. Inspect restored content, not just archive statistics. Retain both the performance observations and any missed or unnecessarily reprocessed changes before selecting the production mode.\nOfficial reference\nBorg 1.4.5 — borg create. Reviewed October 15, 2026.",
        "content_markdown": "Evaluate change-detection correctness alongside speed before weakening Borg cache comparisons.\n\n## Source facts\n\nBorg 1.4.5 uses cached file metadata to avoid reprocessing unchanged files. Its default cache comparison includes ctime, size, and inode. Inode values may be unstable on some network filesystems, reducing cache effectiveness; omitting inode can improve speed but reduce change-detection reliability. The documentation also contrasts ctime with mtime: users can reset mtime after content changes, which can mislead mtime-based cache comparisons. A metadata-only change can conversely advance ctime and cause extra processing.\n\nSource: [Borg 1.4.5 — borg create](https://borgbackup.readthedocs.io/en/stable/usage/create.html).\n\n## Applicability\n\nThis applies to Borg 1.4.5 backup-creation cache modes. It addresses the reliability tradeoff in avoiding rereads, not a universal performance recommendation for every filesystem or backup workload.\n\n## DSE recommendation\n\nDSE recommends documenting the observed cache problem before changing comparison fields. Record the source filesystem’s behavior and evaluate whether apparent slowness is expected metadata churn or unstable identifiers. Have the backup owner approve any reduced detection guarantees. Preserve a known conservative comparison in the rehearsal so faster operation can be evaluated against content correctness. Avoid treating a short backup duration as proof of improvement when fewer files may simply have been reread under a weaker comparison.\n\n## Verification\n\nUse disposable files to compare the proposed and existing modes, including metadata-only changes and content changes followed by restored modification times. Inspect restored content, not just archive statistics. Retain both the performance observations and any missed or unnecessarily reprocessed changes before selecting the production mode.\n\n## Official reference\n\n[Borg 1.4.5 — borg create](https://borgbackup.readthedocs.io/en/stable/usage/create.html). Reviewed October 15, 2026."
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/",
                "url": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-10-15"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Review Borg file-cache safety before switching from ctime to mtime",
                        "item": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/#article",
                "identifier": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/",
                "url": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/",
                "headline": "Review Borg file-cache safety before switching from ctime to mtime",
                "description": "Evaluate change-detection correctness alongside speed before weakening Borg cache comparisons.",
                "abstract": "Evaluate change-detection correctness alongside speed before weakening Borg cache comparisons.",
                "articleBody": "Evaluate change-detection correctness alongside speed before weakening Borg cache comparisons.\nSource facts\nBorg 1.4.5 uses cached file metadata to avoid reprocessing unchanged files. Its default cache comparison includes ctime, size, and inode. Inode values may be unstable on some network filesystems, reducing cache effectiveness; omitting inode can improve speed but reduce change-detection reliability. The documentation also contrasts ctime with mtime: users can reset mtime after content changes, which can mislead mtime-based cache comparisons. A metadata-only change can conversely advance ctime and cause extra processing.\nSource: Borg 1.4.5 — borg create.\nApplicability\nThis applies to Borg 1.4.5 backup-creation cache modes. It addresses the reliability tradeoff in avoiding rereads, not a universal performance recommendation for every filesystem or backup workload.\nDSE recommendation\nDSE recommends documenting the observed cache problem before changing comparison fields. Record the source filesystem’s behavior and evaluate whether apparent slowness is expected metadata churn or unstable identifiers. Have the backup owner approve any reduced detection guarantees. Preserve a known conservative comparison in the rehearsal so faster operation can be evaluated against content correctness. Avoid treating a short backup duration as proof of improvement when fewer files may simply have been reread under a weaker comparison.\nVerification\nUse disposable files to compare the proposed and existing modes, including metadata-only changes and content changes followed by restored modification times. Inspect restored content, not just archive statistics. Retain both the performance observations and any missed or unnecessarily reprocessed changes before selecting the production mode.\nOfficial reference\nBorg 1.4.5 — borg create. Reviewed October 15, 2026.",
                "datePublished": "2026-10-15T13:33:05+00:00",
                "dateModified": "2026-10-15T13:36:16+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/review-borg-file-cache-safety-before-switching-from-ctime-to-mtime/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Review Borg file-cache safety before switching from ctime to mtime"
                },
                "articleSection": [
                    "Business Continuity",
                    "IT"
                ],
                "keywords": [
                    "Business Continuity",
                    "IT",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "Business Continuity",
                        "url": "https://update.dsesecurity.com/topic/business-continuity/"
                    },
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 245,
                "timeRequired": "PT2M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Borg 1.4.5 — borg create",
                    "url": "https://borgbackup.readthedocs.io/en/stable/usage/create.html"
                }
            }
        ]
    }
}