LogoLogo
Run to Console
  • ClawCloud Run
    • Document
    • Getting Started
      • Create a DevBox
      • Deploy Database
      • Deploy from Docker
      • Deploy from Template
    • Guide
      • App Launchpad
        • Install Application
        • Update Application
        • Custom Domain
        • Exposing Multiple Ports
        • Environment Variables
        • Configuration Files
        • Auto Scaling
        • Persistent Storage
        • Custom Domain Certificates
      • Devbox
        • Devbox List
        • Devbox Details
        • Devbox Release
      • Database
        • PostgreSQL
        • MySQL
        • Redis
        • MongoDB
        • Kafka
        • Milvus
      • Object Storage
      • Advanced
        • Workspace
        • Terminal
        • Cron Job
        • KubeConfig
    • Pricing
    • Billing & Usage
    • Migration
      • Migrate from Docker
      • Migrate from Docker Compose
    • Architecture
      • Devbox Architecture
      • System Architecture
      • User Architecture
    • Legal
      • Privacy Policy
      • Terms and Conditions
      • Data Processing Addendum
    • Changelog
    • Best Practice
    • FAQ
    • More
      • Abuse Complaint
    • Help
  • Blog
Powered by GitBook

Copyright @ 2023-Present CLAWCLOUD. All Rights Reserved.

On this page
  • Why Persistent Storage Matters
  • When to Use Persistent Storage
  • Nextcloud Deployment Example
  • How It Works

Was this helpful?

Export as PDF
  1. ClawCloud Run
  2. Guide
  3. App Launchpad

Persistent Storage

Master the core principles and configuration of persistent storage in ClawCloud Run to ensure container data security and durability.

Why Persistent Storage Matters

ClawCloud Run allows rapid scaling and rebuilding of container instances, but data stored inside containers is ephemeral—it disappears when containers terminate. Persistent storage acts as a "safe deposit box" by:

  • ✅ Securing data through external storage, even if containers restart, migrate, or rebuild.

  • ✅ Enabling flexible scaling with dynamically adjustable storage capacity.


When to Use Persistent Storage

  • File storage services (Nextcloud, ownCloud, etc.)

  • User session data

  • Long-term log retention

  • Any application requiring persistent business data


Nextcloud Deployment Example

For a Nextcloud cloud storage service, critical data resides in the container’s /var/www/html directory, including:

  • User configurations (config/)

  • Database files (data/)

  • Uploaded files (files/)

  • Plugins (apps/)

Configuring Persistent Storage

  1. Mount External Storage: Link the container’s data directory to secure external storage.

  1. Key Settings:

  • Container Path: Specify /var/www/html for Nextcloud.

  • Storage Size: Adjust based on business needs (e.g., 100GB).


How It Works

  • Zero Downtime: If a Nextcloud instance fails, a new container automatically mounts the same external storage, preserving all data.

  • Cross-Instance Consistency: All instances access the same centralized data source.


Pro Tip: Pair persistent storage with ClawCloud Run’s backup tools for multi-layered data protection.

PreviousAuto ScalingNextCustom Domain Certificates

Last updated 2 months ago

Was this helpful?

Persistent Storage Configuration
Persistent Storage Configuration