Import and Export Data

Move your data in and out of cStar with ease.

Exporting Articles

  1. Go to Library
  2. Click the Export button (download icon)
  3. Choose your format:
    • JSON - Full data, good for backups
    • CSV - Spreadsheet compatible

Importing Articles

  1. Go to Library
  2. Click the Import button (upload icon)
  3. Select your JSON or CSV file
  4. Review the preview
  5. Choose duplicate handling:
    • Skip - Don't import duplicates
    • Overwrite - Update existing articles
    • Create New - Import with new slugs
  6. Click Import

File Formats

JSON Format

{
  "articles": [
    {
      "title": "Article Title",
      "content": "# Markdown content...",
      "category": "getting-started",
      "status": "published",
      "tags": ["tag1", "tag2"],
      "isPublic": true
    }
  ]
}

CSV Format

title,content,category,status,tags,isPublic
"Article Title","Content here",getting-started,published,"tag1,tag2",true

Tips

  • Always export a backup before major imports
  • Use JSON for complete data preservation
  • Use CSV when editing in spreadsheets