Skip to content
Live demo

Export & Backup

Your SparkFeed data (feeds, articles, favorites, and read history) lives in a single SQLite file. It’s important to back this up regularly so you don’t lose your reading history or curated feed list.

The simplest backup is copying the local.db file to another location:

# Windows: copy to Desktop
Copy-Item .\local.db ~\Desktop\sparkfeed-backup-$(Get-Date -Format "yyyyMMdd").db
# macOS / Linux: copy to home directory
cp local.db ~/backups/sparkfeed-$(date +%Y%m%d).db

On Windows, create a scheduled task. Here is a simple PowerShell script:

# backup-sparkfeed.ps1
$source = "C:\path\to\sparkfeed\local.db"
$dest = "C:\path\to\backups\sparkfeed-$(Get-Date -Format 'yyyyMMdd-HHmm').db"
Copy-Item $source $dest
Write-Host "Backup created: $dest"

Schedule it with Task Scheduler to run daily.

To restore SparkFeed from a backup:

  1. Stop the dev/production server
  2. Replace local.db with your backup file:
    cp sparkfeed-20260410.db local.db
  3. Restart the server. All your feeds and articles will be restored

OPML (Outline Processor Markup Language) is the standard format for sharing feed lists between RSS readers.

The planned OPML export will produce a file like this:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0">
<head>
<title>SparkFeed Feeds Export</title>
<dateCreated>Mon, 14 Apr 2026 08:00:00 GMT</dateCreated>
</opml>
<body>
<outline text="Technology">
<outline type="rss" text="CSS-Tricks"
xmlUrl="https://css-tricks.com/feed/"
htmlUrl="https://css-tricks.com" />
<outline type="rss" text="Hacker News"
xmlUrl="https://hnrss.org/frontpage"
htmlUrl="https://news.ycombinator.com" />
</outline>
</body>
</opml>

This lets you migrate your feed list to any other RSS reader (Feedly, Inoreader, Miniflux, etc.) or share it with someone else.

A future release will allow you to export:

FormatContents
JSONAll articles or favorites with full metadata
MarkdownReadable reading list with titles and URLs
CSVSpreadsheet-compatible export for analysis
DataStored in DBExportable
Feed listYesSoon (OPML)
Article metadataYesSoon (JSON)
Article contentYesSoon (JSON)
FavoritesYesSoon (JSON/Markdown)
Read/unread statusYesSoon (JSON)
User settingsYesManual (copy DB)
ImagesNot cachedN/A