# Backing Up

Published articles for Backing Up.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Turns out database backups are NOT trivial

DevFeed: [Turns out database backups are NOT trivial](<https://devfeed.tech/articles/turns-out-database-backups-are-not-trivial-113330.md>)

Original publisher: [Read original article](<https://stack.convex.dev/database-backups-are-not-trivial>)

Author: Stack

Published: 2026-10-29T15:30:13Z

Content type: article

Language: en

Sources: [Stack](<https://devfeed.tech/sources/stack.md>)

Topics: [backups](<https://devfeed.tech/topics/backups.md>), [Database](<https://devfeed.tech/topics/database.md>), [database-consistency](<https://devfeed.tech/topics/database-consistency.md>), [transaction-log](<https://devfeed.tech/topics/transaction-log.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [DuckDB](<https://devfeed.tech/topics/duckdb.md>), [clickhouse](<https://devfeed.tech/topics/clickhouse.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [agent](<https://devfeed.tech/tags/agent.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [api](<https://devfeed.tech/tags/api.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [convex](<https://devfeed.tech/tags/convex.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [production](<https://devfeed.tech/tags/production.md>), [tables](<https://devfeed.tech/tags/tables.md>)

### AI overview

A row-by-row backup of a changing database can combine records from different moments and describe a state that never existed. Convex's data sync avoids this by alternating between reading table rows and catching up on the document log, keeping its snapshot within the retention window; it reports `upToDate` when the copy is consistent. Pages may contain repeated rows and arrive out of timestamp order, so callers must apply truncates and values and save pages safely. The endpoint requires a Pro plan and charges for database reads and bandwidth; its cursor can resume syncing within the deployment's retention window. Convex also offers dashboard and CLI backups, scheduled backups on Pro, and faster, cheaper physical backups for dedicated deployments, though those cannot be downloaded or inspected. For analytics at scale, the article says Convex still recommends its Fivetran connector.

### Source excerpt

I thought backing up a database was simple, you just loop over the tables and copy the rows out. Nipunn sat me down at a whiteboard and showed me why that can give you a backup of data that never existed, and how Convex gets around it.

## The Mac Backup Problem Most IT Teams Don't See Coming

DevFeed: [The Mac Backup Problem Most IT Teams Don't See Coming](<https://devfeed.tech/articles/the-mac-backup-problem-most-it-teams-don-t-see-coming-104141.md>)

Original publisher: [Read original article](<https://www.backblaze.com/blog/the-mac-backup-problem-most-it-teams-dont-see-coming/>)

Author: Kari Wilson

Published: 2026-10-27T15:53:07Z

Content type: article

Language: en

Sources: [Backblaze](<https://devfeed.tech/sources/backblaze-blog-cloud-storage-cloud-backup.md>)

Topics: [backups](<https://devfeed.tech/topics/backups.md>), [Data Management](<https://devfeed.tech/topics/data-management.md>)

Tags: [apple-silicon](<https://devfeed.tech/tags/apple-silicon.md>), [audit](<https://devfeed.tech/tags/audit.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [businessbackup](<https://devfeed.tech/tags/businessbackup.md>), [client](<https://devfeed.tech/tags/client.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-backup](<https://devfeed.tech/tags/cloud-backup.md>), [cloud-storage](<https://devfeed.tech/tags/cloud-storage.md>), [data-loss](<https://devfeed.tech/tags/data-loss.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [design](<https://devfeed.tech/tags/design.md>), [exposed](<https://devfeed.tech/tags/exposed.md>), [featured](<https://devfeed.tech/tags/featured.md>), [featured-backing-up](<https://devfeed.tech/tags/featured-backing-up.md>), [files](<https://devfeed.tech/tags/files.md>), [fleet](<https://devfeed.tech/tags/fleet.md>), [it](<https://devfeed.tech/tags/it.md>), [mac](<https://devfeed.tech/tags/mac.md>), [pricing](<https://devfeed.tech/tags/pricing.md>), [teams](<https://devfeed.tech/tags/teams.md>), [tool](<https://devfeed.tech/tags/tool.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

The excerpt reports that Mac fleet backup gaps can leave important laptop data exposed even when a tool lists Mac support: 43% of IT teams do not back up all endpoints, and only 9% say restores are very easy. It attributes the problem to ported clients that compete for resources or are disabled, slow adaptation to macOS changes that can cause missed files or silent failures, manual deployment friction with Jamf, Kandji, Addigy, and Intune, and per-gigabyte pricing that can encourage excluding large, hard-to-recreate files. These issues may surface during offboarding, an incident, or an audit. The post points readers to a white paper with vendor evaluation questions; it does not provide those questions in this excerpt.

### Source excerpt

Your backup tool supports Mac, but does it protect your entire fleet? Learn how client design, deployment friction, and pricing can leave critical files exposed--and what IT teams should ask vendors before trusting them with their Mac fleet backups. The post The Mac Backup Problem Most IT Teams Don't See Coming appeared first on Backblaze Blog | Cloud Storage & Cloud Backup

## Telling swamp what I want

DevFeed: [Telling swamp what I want](<https://devfeed.tech/articles/telling-swamp-what-i-want-98829.md>)

Original publisher: [Read original article](<https://swamp-club.com/feed/p/80cc98cb-c8a1-4732-9669-260272972930/go>)

Author: svendowideit

Published: 2026-10-24T09:56:58Z

Content type: article

Language: en

Sources: [Swamp Club Feed](<https://devfeed.tech/sources/swamp-club-feed.md>)

Topics: [static-site-generator](<https://devfeed.tech/topics/static-site-generator.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>), [Obsidian](<https://devfeed.tech/topics/obsidian-md.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [bash](<https://devfeed.tech/tags/bash.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [beam](<https://devfeed.tech/tags/beam.md>), [blog](<https://devfeed.tech/tags/blog.md>), [caddy](<https://devfeed.tech/tags/caddy.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [cloudflare-pages](<https://devfeed.tech/tags/cloudflare-pages.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [dns](<https://devfeed.tech/tags/dns.md>), [extension](<https://devfeed.tech/tags/extension.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [git](<https://devfeed.tech/tags/git.md>), [html](<https://devfeed.tech/tags/html.md>), [inventory](<https://devfeed.tech/tags/inventory.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [obsidian](<https://devfeed.tech/tags/obsidian.md>), [repository](<https://devfeed.tech/tags/repository.md>), [swamp](<https://devfeed.tech/tags/swamp.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

The author built a custom swamp workflow to publish existing Obsidian blog posts without creating a separate Git repository. It uses a new @svendowideit/markdown2html extension to progressively enhance HTML using whatever frontmatter is present, and @svendowideit/caddy to set up DNS through the author's existing libdns zone. Publishing to Cloudflare Pages requires a token with Cloudflare Pages edit access and DNS metadata zone scope; the token and account ID are stored in a swamp vault. The workflow is run with inputs for the blog and publish directories, hostname, vault, Caddy and DNS models, site title, and template path. The author says the implementation took a few hours and can later be invoked through opencode by asking it to redeploy the site.

### Source excerpt

A developer builds a custom swamp workflow that converts Obsidian markdown blog posts to HTML and publishes them to Cloudflare Pages with automatic DNS setup via Caddy, without requiring a separate git repository.

## Your First Proxmox Server Can Do More Than You Think

DevFeed: [Your First Proxmox Server Can Do More Than You Think](<https://devfeed.tech/articles/your-first-proxmox-server-can-do-more-than-you-think-95431.md>)

Original publisher: [Read original article](<https://www.virtualizationhowto.com/2026/10/your-first-proxmox-server-can-do-more-than-you-think/>)

Author: Brandon Lee

Published: 2026-10-22T12:35:43Z

Content type: article

Language: en

Sources: [Virtualization Howto](<https://devfeed.tech/sources/virtualization-howto.md>)

Topics: [Homelab](<https://devfeed.tech/topics/homelab.md>), [Proxmox](<https://devfeed.tech/topics/proxmox.md>), [systems](<https://devfeed.tech/topics/systems.md>), [virtualization](<https://devfeed.tech/topics/virtualization.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Service fabric](<https://devfeed.tech/topics/service-fabric.md>)

Tags: [ansible](<https://devfeed.tech/tags/ansible.md>), [automate](<https://devfeed.tech/tags/automate.md>), [automation](<https://devfeed.tech/tags/automation.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [clone](<https://devfeed.tech/tags/clone.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-init](<https://devfeed.tech/tags/cloud-init.md>), [cloud-native](<https://devfeed.tech/tags/cloud-native.md>), [cloud-technologies](<https://devfeed.tech/tags/cloud-technologies.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [home-lab](<https://devfeed.tech/tags/home-lab.md>), [home-server](<https://devfeed.tech/tags/home-server.md>), [lab](<https://devfeed.tech/tags/lab.md>), [proxmox](<https://devfeed.tech/tags/proxmox.md>), [server](<https://devfeed.tech/tags/server.md>), [virtualization](<https://devfeed.tech/tags/virtualization.md>)

### AI overview

A single Proxmox host can support substantial lab practice, though virtual nodes on one machine do not provide physical host redundancy. The article recommends separating lab and self-hosted services with distinct VLANs and subnets, while keeping switching and firewalling outside the host to preserve network access if Proxmox fails. Nested Proxmox VMs can be used to practice clustering and shared storage. A dedicated VM is the recommended place to run Docker; Proxmox also offers native LXC containers and, from v9.1, OCI image support that runs through LXC. Snapshots provide rollback points, while cloning lets you test changes on a copy. VM templates, cloud-init and optionally Packer and Ansible enable repeatable guest setup. A small Kubernetes cluster can teach node and scheduling basics, but all nodes stop if the physical host goes down. VM backups to local storage can teach the process, though the article says this is not ideal for data resilience.

### Source excerpt

Recently, I wrote up an article looking at the things that you can skip when you want to stand up a really great Proxmox lab, even with little hardware. You... The post Your First Proxmox Server Can Do More Than You Think appeared first on Virtualization Howto.

## Why Your Computer Backup Strategy Determines Whether You Pay the Ransom

DevFeed: [Why Your Computer Backup Strategy Determines Whether You Pay the Ransom](<https://devfeed.tech/articles/why-your-computer-backup-strategy-determines-whether-you-pay-the-ransom-66806.md>)

Original publisher: [Read original article](<https://www.backblaze.com/blog/why-your-computer-backup-strategy-determines-whether-you-pay-the-ransom/>)

Author: Kari Wilson

Published: 2026-10-07T16:07:49Z

Content type: article

Language: en

Sources: [Backblaze](<https://devfeed.tech/sources/backblaze-blog-cloud-storage-cloud-backup.md>)

Topics: [backups](<https://devfeed.tech/topics/backups.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [network security](<https://devfeed.tech/topics/network-security.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [businessbackup](<https://devfeed.tech/tags/businessbackup.md>), [cloud-storage](<https://devfeed.tech/tags/cloud-storage.md>), [consumerbackup](<https://devfeed.tech/tags/consumerbackup.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [featured](<https://devfeed.tech/tags/featured.md>), [featured-backing-up](<https://devfeed.tech/tags/featured-backing-up.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ransomware](<https://devfeed.tech/tags/ransomware.md>), [ransomware-recovery](<https://devfeed.tech/tags/ransomware-recovery.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

The article argues that ransomware recovery depends on backup architecture, including retention length, protected deletion and restore permissions, legal holds, and tested endpoint recovery procedures. It recommends walking through a restore for one laptop to identify gaps before an incident and describes Backblaze Computer Backup with Enterprise Controls as offering a year of version history, legal hold, centrally managed restores, and flat per-device pricing.

### Source excerpt

Ransomware recovery depends on more than having a backup. Learn how version history, deleted file retention, legal hold, and restore permissions shape your computer backup strategy--and how to test whether your team can actually recover when an attack hits. The post Why Your Computer Backup Strategy Determines Whether You Pay the Ransom appeared first on Backblaze Blog | Cloud Storage & Cloud Backup

## What IT Teams Get Wrong About Immutable Backups and Object Lock

DevFeed: [What IT Teams Get Wrong About Immutable Backups and Object Lock](<https://devfeed.tech/articles/what-it-teams-get-wrong-about-immutable-backups-and-object-lock-58050.md>)

Original publisher: [Read original article](<https://www.backblaze.com/blog/what-it-teams-get-wrong-about-immutable-backups-and-object-lock/>)

Author: Kari Wilson

Published: 2026-09-22T14:34:57Z

Content type: article

Language: en

Sources: [Backblaze](<https://devfeed.tech/sources/backblaze-blog-cloud-storage-cloud-backup.md>)

Topics: [backups](<https://devfeed.tech/topics/backups.md>), [locking](<https://devfeed.tech/topics/locking.md>), [ransomware](<https://devfeed.tech/topics/ransomware.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Security](<https://devfeed.tech/topics/security.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [businessbackup](<https://devfeed.tech/tags/businessbackup.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-storage](<https://devfeed.tech/tags/cloud-storage.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [data-security](<https://devfeed.tech/tags/data-security.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [featured](<https://devfeed.tech/tags/featured.md>), [featured-backing-up](<https://devfeed.tech/tags/featured-backing-up.md>), [immutability](<https://devfeed.tech/tags/immutability.md>), [immutable-backup](<https://devfeed.tech/tags/immutable-backup.md>), [locking](<https://devfeed.tech/tags/locking.md>), [ransomware](<https://devfeed.tech/tags/ransomware.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

This article explains common mistakes in configuring immutable backups and object lock for cloud storage. It distinguishes encryption, which prevents unauthorized viewing, from object lock, which prevents modification and deletion, and explains how immutability affects restores and existing bucket contents.

### Source excerpt

Object lock can create false confidence when bucket settings, backup software, retention periods, and lifecycle rules are misaligned. Learn the most common immutable backup mistakes--and how to configure ransomware-resistant storage correctly without unexpected access, capacity, or operational transaction-cost surprises. The post What IT Teams Get Wrong About Immutable Backups and Object Lock appeared first on Backblaze Blog | Cloud Storage & Cloud Backup

## Zero-touch deployment requirements for Mac fleet backup

DevFeed: [Zero-touch deployment requirements for Mac fleet backup](<https://devfeed.tech/articles/zero-touch-or-it-doesn-t-scale-the-new-standard-for-mac-fleet-backup-41390.md>)

Original publisher: [Read original article](<https://www.backblaze.com/blog/zero-touch-or-it-doesnt-scale-the-new-standard-for-mac-fleet-backup/>)

Author: Kari Wilson

Published: 2026-09-17T16:51:35Z

Content type: article

Language: en

Sources: [Backblaze](<https://devfeed.tech/sources/backblaze-blog-cloud-storage-cloud-backup.md>)

Topics: [Deployment](<https://devfeed.tech/topics/deployment.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [automation](<https://devfeed.tech/tags/automation.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [businessbackup](<https://devfeed.tech/tags/businessbackup.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [featured](<https://devfeed.tech/tags/featured.md>), [featured-backing-up](<https://devfeed.tech/tags/featured-backing-up.md>), [fleet](<https://devfeed.tech/tags/fleet.md>), [mac](<https://devfeed.tech/tags/mac.md>)

### AI overview

The article argues that zero-touch deployment has become essential for Mac fleets, especially for lean IT teams managing devices through MDM platforms such as Jamf Pro, Kandji, and Addigy. It explains how interactive installers, permission prompts, and registration failures create support work and can leave machines unprotected.

### Source excerpt

For lean IT teams, zero-touch Mac backup deployment is no longer optional. Learn what truly silent installation requires and how Backblaze helps admins protect every device across Jamf, Kandji, Addigy, and other MDM-managed fleets without user interaction or follow-up work. The post Zero-Touch or It Doesn't Scale: The New Standard for Mac Fleet Backup appeared first on Backblaze Blog | Cloud Storage & Cloud Backup

## Code42 Is Shutting Down. Is CrashPlan the Safe Choice, or Just the Convenient One?

DevFeed: [Code42 Is Shutting Down. Is CrashPlan the Safe Choice, or Just the Convenient One?](<https://devfeed.tech/articles/code42-is-shutting-down-is-crashplan-the-safe-choice-or-just-the-convenient-one-12320.md>)

Original publisher: [Read original article](<https://www.backblaze.com/blog/code42-is-shutting-down-is-crashplan-the-safe-choice-or-just-the-convenient-one/>)

Author: Kari Wilson

Published: 2026-09-01T16:00:37Z

Content type: article

Language: en

Sources: [Backblaze](<https://devfeed.tech/sources/backblaze-blog-cloud-storage-cloud-backup.md>)

Topics: [migration](<https://devfeed.tech/topics/migration.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [data loss prevention](<https://devfeed.tech/topics/data-loss-prevention.md>)

Tags: [alternatives](<https://devfeed.tech/tags/alternatives.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [blog](<https://devfeed.tech/tags/blog.md>), [businessbackup](<https://devfeed.tech/tags/businessbackup.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-storage](<https://devfeed.tech/tags/cloud-storage.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [featured](<https://devfeed.tech/tags/featured.md>), [featured-backing-up](<https://devfeed.tech/tags/featured-backing-up.md>), [migration](<https://devfeed.tech/tags/migration.md>), [post](<https://devfeed.tech/tags/post.md>)

### AI overview

The article examines whether CrashPlan is an appropriate replacement for Code42 after Code42 stopped new sales in 2025 and plans to end support in 2026, with subsequent deletion of backup archives. It explains that Code42's backup business became a separate CrashPlan company in 2022 and urges IT teams to evaluate alternatives rather than assume CrashPlan is an automatic successor. It highlights migration incentives and a possible 5TB storage cap on some CrashPlan plans.

### Source excerpt

Code42 support ends in 2026, but CrashPlan isn't the automatic successor it appears to be. Before migrating, understand the companies' split, CrashPlan's ownership, potential storage limits, evolving positioning, and the questions IT teams should ask when evaluating better backup alternatives. The post Code42 Is Shutting Down. Is CrashPlan the Safe Choice, or Just the Convenient One? appeared first on Backblaze Blog | Cloud Storage & Cloud Backup

## Jamf Administrators: Your Backup Deployment Just Got Simpler

DevFeed: [Jamf Administrators: Your Backup Deployment Just Got Simpler](<https://devfeed.tech/articles/jamf-administrators-your-backup-deployment-just-got-simpler-12323.md>)

Original publisher: [Read original article](<https://www.backblaze.com/blog/jamf-administrators-your-backup-deployment-just-got-simpler/>)

Author: Kari Wilson

Published: 2026-08-19T13:28:18Z

Content type: article

Language: en

Sources: [Backblaze](<https://devfeed.tech/sources/backblaze-blog-cloud-storage-cloud-backup.md>)

Topics: [Deployment](<https://devfeed.tech/topics/deployment.md>), [Provisioning](<https://devfeed.tech/topics/provisioning.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [App](<https://devfeed.tech/topics/app.md>), [Orchestration](<https://devfeed.tech/topics/orchestration.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [businessbackup](<https://devfeed.tech/tags/businessbackup.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [featured](<https://devfeed.tech/tags/featured.md>), [featured-backing-up](<https://devfeed.tech/tags/featured-backing-up.md>), [onboarding](<https://devfeed.tech/tags/onboarding.md>), [provisioning](<https://devfeed.tech/tags/provisioning.md>)

### AI overview

This article explains how Backblaze simplifies backup deployment for Mac fleets managed with Jamf. It describes fixed-email matching for devices with known owners, dynamic user detection for devices assigned later, and the ability to combine both methods within one deployment.

### Source excerpt

Simplify Mac backup deployment with Backblaze and Jamf. Flexible user matching reduces manual setup, streamlines onboarding, and helps IT teams protect every device using their existing Jamf workflows. The post Jamf Administrators: Your Backup Deployment Just Got Simpler appeared first on Backblaze Blog | Cloud Storage & Cloud Backup

## Kubernetes made deploying easy. Nobody warned you about the databases.

DevFeed: [Kubernetes made deploying easy. Nobody warned you about the databases.](<https://devfeed.tech/articles/kubernetes-made-deploying-easy-nobody-warned-you-about-the-databases-17628.md>)

Original publisher: [Read original article](<https://thenewstack.io/kubernetes-database-operations-platform/>)

Author: Oliver Wolf

Published: 2026-07-21T15:00:00Z

Content type: opinion

Language: en

Sources: [Kubernetes Overview, News and Trends | The New Stack](<https://devfeed.tech/sources/kubernetes-overview-news-and-trends-the-new-stack.md>)

Topics: [internal developer platform](<https://devfeed.tech/topics/internal-developer-platform.md>), [Database](<https://devfeed.tech/topics/database.md>), [internal developer platform automation](<https://devfeed.tech/topics/internal-developer-platform-automation.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [infrastructure monitoring](<https://devfeed.tech/topics/infrastructure-monitoring.md>)

Tags: [anynines](<https://devfeed.tech/tags/anynines.md>), [automation](<https://devfeed.tech/tags/automation.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backups](<https://devfeed.tech/tags/backups.md>), [caching](<https://devfeed.tech/tags/caching.md>), [control-plane](<https://devfeed.tech/tags/control-plane.md>), [data-services](<https://devfeed.tech/tags/data-services.md>), [database](<https://devfeed.tech/tags/database.md>), [database-management](<https://devfeed.tech/tags/database-management.md>), [databases](<https://devfeed.tech/tags/databases.md>), [developer-platform](<https://devfeed.tech/tags/developer-platform.md>), [devops](<https://devfeed.tech/tags/devops.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [governance](<https://devfeed.tech/tags/governance.md>), [helm](<https://devfeed.tech/tags/helm.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-native](<https://devfeed.tech/tags/kubernetes-native.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [opensearch](<https://devfeed.tech/tags/opensearch.md>), [patching](<https://devfeed.tech/tags/patching.md>), [platform-engineering](<https://devfeed.tech/tags/platform-engineering.md>), [post](<https://devfeed.tech/tags/post.md>), [software-developers](<https://devfeed.tech/tags/software-developers.md>), [sponsor-anynines](<https://devfeed.tech/tags/sponsor-anynines.md>), [sponsored-post](<https://devfeed.tech/tags/sponsored-post.md>)

### AI overview

The excerpt argues that Kubernetes simplifies database deployment but leaves teams with substantial reliability work: patching, monitoring, backups, and recovery across services such as Postgres, Redis, and OpenSearch or Elasticsearch. It says expecting application developers to build deep database operations expertise can make "you build it, you run it" unrealistic. Instead, an internal developer platform can let developers request databases through Kubernetes-native workflows while a centralized control plane handles provisioning, backups, patching, and governance. The excerpt cites a9s Hub as an example, but does not provide comparative tool details or complete guidance.

### Source excerpt

The DevOps movement, set in motion nearly 20 years ago, broke down the traditional divide between software developers and IT The post Kubernetes made deploying easy. Nobody warned you about the databases. appeared first on The New Stack.

## How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide

DevFeed: [How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide](<https://devfeed.tech/articles/how-to-upgrade-ubuntu-22-04-to-24-04-lts-a-complete-guide-41969.md>)

Original publisher: [Read original article](<https://www.opensourceflare.com/how-to-upgrade-ubuntu-22-04-to-24-04-lts-a-complete-guide/>)

Author: Vivek Gite

Published: 2024-04-26T18:25:08Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [backups](<https://devfeed.tech/topics/backups.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [systemd](<https://devfeed.tech/topics/systemd.md>), [apt](<https://devfeed.tech/topics/apt.md>)

Tags: [apt](<https://devfeed.tech/tags/apt.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [cli](<https://devfeed.tech/tags/cli.md>), [development](<https://devfeed.tech/tags/development.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [lts](<https://devfeed.tech/tags/lts.md>), [opensource](<https://devfeed.tech/tags/opensource.md>), [systemd](<https://devfeed.tech/tags/systemd.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [ubuntu-debian-linux](<https://devfeed.tech/tags/ubuntu-debian-linux.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

A guide to upgrading Ubuntu 22.04 LTS to Ubuntu 24.04 LTS through an SSH-based CLI session. It covers release timing, backups, package updates, and the Ubuntu release upgrader.

### Source excerpt

{nixCraft Patreon supporters content} Below is a sneak peek of this content! Ubuntu 24.04 LTS (Noble Numbat) was launched on April 25th, 2024. This new version will be supported for five years until June 2029. The armhf architecture now provides support for the Year 2038 problem. The upgrades include significant updates to core packages like Linux kernel, systemd, Netplan, [...] The post How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide appeared first on Opensource Flareâœ¨.

## Kafka Logging: Strategies, Tools & Techniques for Log Analysis

DevFeed: [Kafka Logging: Strategies, Tools & Techniques for Log Analysis](<https://devfeed.tech/articles/kafka-logging-strategies-tools-techniques-for-log-analysis-80022.md>)

Original publisher: [Read original article](<https://www.groundcover.com/blog/kafka-logging>)

Author: Erez Levi

Published: 2023-05-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ground Cover](<https://devfeed.tech/sources/ground-cover.md>)

Topics: [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [Grafana](<https://devfeed.tech/topics/grafana.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [compaction](<https://devfeed.tech/tags/compaction.md>), [compression](<https://devfeed.tech/tags/compression.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [log-management](<https://devfeed.tech/tags/log-management.md>), [logging](<https://devfeed.tech/tags/logging.md>), [partitions](<https://devfeed.tech/tags/partitions.md>)

### AI overview

A practical guide to managing Apache Kafka logs and partitions. It explains topic and partition structure, retention and cleanup policies, compaction, compression, cold storage backups, partition sizing, and monitoring with JMX metrics and tools such as Prometheus and Grafana. Recommendations depend on the application's retention needs, workload, and storage constraints.

### Source excerpt

Explore Kafka log management. Optimize Kafka partitions for efficient logging, reduce resource usage in clusters, and ensure data accessibility.

## Automated PostgreSQL Backups

DevFeed: [Automated PostgreSQL Backups](<https://devfeed.tech/articles/automated-postgresql-backups-95494.md>)

Original publisher: [Read original article](<https://blog.railway.com/p/automated-postgresql-backups>)

Author: Faraz Patankar

Published: 2022-09-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Railway](<https://devfeed.tech/sources/railway.md>)

Topics: [backups](<https://devfeed.tech/topics/backups.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>)

Tags: [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [automated](<https://devfeed.tech/tags/automated.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-s3](<https://devfeed.tech/tags/aws-s3.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [blog](<https://devfeed.tech/tags/blog.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cron](<https://devfeed.tech/tags/cron.md>), [daily](<https://devfeed.tech/tags/daily.md>), [database](<https://devfeed.tech/tags/database.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-backups](<https://devfeed.tech/tags/postgresql-backups.md>), [railway](<https://devfeed.tech/tags/railway.md>), [template](<https://devfeed.tech/tags/template.md>)

### AI overview

Railway's PostgreSQL backup template automates backups through a JavaScript service that stores them in an AWS S3 bucket. Setup requires an S3 bucket and IAM access credentials; the guide notes that AmazonS3FullAccess is unsafe for long-term use and suggests narrowing permissions to the specific bucket. Configure the AWS variables and BACKUP_DATABASE_URL, using Railway's DATABASE_URL reference for a database in the same project or its connection URL otherwise. Backups run daily at 5 AM UTC by default; BACKUP_CRON_SCHEDULE can change the cadence. To restore, extract the tar.gz backup and run pg_restore with the destination database URL and extracted folder. Railway says it does not natively support automated backups; this template provides a deployable service workaround.

### Source excerpt

A step-by-step guide on automatic PostgreSQL backups on Railway using a one-click template.

## Back Up Encrypted ZFS Data without Unlocking It

DevFeed: [Back Up Encrypted ZFS Data without Unlocking It](<https://devfeed.tech/articles/back-up-encrypted-zfs-data-without-unlocking-it-52972.md>)

Original publisher: [Read original article](<https://mtlynch.io/zfs-encrypted-backups/>)

Author: Michael Lynch

Published: 2022-07-29T00:00:00Z

Content type: article

Language: en

Sources: [Mtlynch](<https://devfeed.tech/sources/mtlynch-io.md>)

Topics: [truenas](<https://devfeed.tech/topics/truenas.md>), [backups](<https://devfeed.tech/topics/backups.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Homelab](<https://devfeed.tech/topics/homelab.md>), [restic](<https://devfeed.tech/topics/restic.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Script](<https://devfeed.tech/topics/script.md>), [Synology](<https://devfeed.tech/topics/synology.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backups](<https://devfeed.tech/tags/backups.md>), [bash](<https://devfeed.tech/tags/bash.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [homelab](<https://devfeed.tech/tags/homelab.md>), [replication](<https://devfeed.tech/tags/replication.md>), [restic](<https://devfeed.tech/tags/restic.md>), [synology](<https://devfeed.tech/tags/synology.md>), [truenas](<https://devfeed.tech/tags/truenas.md>)

### AI overview

A practical guide to backing up encrypted ZFS data from a TrueNAS server to generic cloud storage. It explains the limitations of TrueNAS replication targets and describes using restic, resticpy, and Bash scripting to work with encrypted backups without unlocking the dataset.

### Source excerpt

I recently built my first home TrueNAS server. I use it to store the bulk of my personal and work data, so I've been learning how to make the most of TrueNAS and its filesystem, ZFS. Today, I want to tell you about backing up encrypted data. My homelab TrueNAS server

## Backing up your content from Google Photos

DevFeed: [Backing up your content from Google Photos](<https://devfeed.tech/articles/backing-up-your-content-from-google-photos-38529.md>)

Original publisher: [Read original article](<https://msfjarvis.dev/posts/backing-up-your-content-from-google-photos/>)

Author: Harsh Shandilya

Published: 2022-04-04T06:30:00Z

Content type: tutorial

Language: en

Sources: [Posts on Harsh Shandilya](<https://devfeed.tech/sources/posts-on-harsh-shandilya.md>)

Topics: [Google](<https://devfeed.tech/topics/google.md>), [data](<https://devfeed.tech/topics/data.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [archive](<https://devfeed.tech/tags/archive.md>), [archiving](<https://devfeed.tech/tags/archiving.md>), [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [google](<https://devfeed.tech/tags/google.md>), [google-photos](<https://devfeed.tech/tags/google-photos.md>), [gphotos-cdp](<https://devfeed.tech/tags/gphotos-cdp.md>), [linux](<https://devfeed.tech/tags/linux.md>), [nas](<https://devfeed.tech/tags/nas.md>), [photos](<https://devfeed.tech/tags/photos.md>)

### AI overview

A tutorial on using gphotos-cdp to automate archiving images from Google Photos while retaining their EXIF metadata. The tool drives Google Chrome through the Chrome DevTools Protocol and is described as tested on Linux.

### Source excerpt

Putting your media into Google Photos is easy, taking it out, not as much.

## How to Backup and Restore Your Postgres Database

DevFeed: [How to Backup and Restore Your Postgres Database](<https://devfeed.tech/articles/how-to-backup-and-restore-your-postgres-database-95635.md>)

Original publisher: [Read original article](<https://blog.railway.com/p/postgre-backup>)

Author: Angelo Saraceno

Published: 2021-08-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Railway](<https://devfeed.tech/sources/railway.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Heroku Postgres](<https://devfeed.tech/topics/heroku-postgres.md>), [Prisma](<https://devfeed.tech/topics/prisma.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [database](<https://devfeed.tech/tags/database.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [railway](<https://devfeed.tech/tags/railway.md>), [restore](<https://devfeed.tech/tags/restore.md>)

### AI overview

The article explains how to use PostgreSQL's `pg_dump` and `pg_restore` tools to back up a Railway database to a local file and restore it to another PostgreSQL instance. It requires the `psql` client tools and Railway's `PGUSER`, `PGHOST`, `PGPORT`, `PGDATABASE`, and `PGPASSWORD` values; the backup command prompts for the password and may take longer for larger databases. For Heroku sources, the text reports that the specialized dump format may require `pg_dump -F t` for a platform-agnostic backup and says `heroku pg:backups:download` will not work. It provides a corresponding restore command using Railway connection values and notes that Prisma users may see a warning even when data imports normally.

### Source excerpt

In this post, we will go over the process of backing up and restoring your Postgres database hosted on Railway.

## How to Upgrade, Backup, and Restore Rancher 2

DevFeed: [How to Upgrade, Backup, and Restore Rancher 2](<https://devfeed.tech/articles/how-to-upgrade-backup-and-restore-rancher-2-10651.md>)

Original publisher: [Read original article](<https://technotim.com/posts/rancher-2-upgrade-backup-restore/>)

Author: Techno Tim

Published: 2020-06-27T14:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [rancher](<https://devfeed.tech/topics/rancher.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Docker](<https://devfeed.tech/topics/docker.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [quick-start](<https://devfeed.tech/tags/quick-start.md>), [rancher](<https://devfeed.tech/tags/rancher.md>), [run](<https://devfeed.tech/tags/run.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [verify](<https://devfeed.tech/tags/verify.md>)

### AI overview

A tutorial explaining how to back up, upgrade, and restore a single-node Rancher 2 installation running in Docker. It covers creating a backup tarball, pulling a new Docker image, replacing state data, restarting the Rancher server, and verifying the upgrade.

### Source excerpt

It use to be hard to back up Rancher, but with Rancher 2 it's super simple.Upgrading, backing up, and restoring your Rancher server should be part of your regular routine.Join me in this tutorial as we walk through backing up, upgrading, and restoring a single node Rancher Docker install in just a couple of minutes.Trust me, you'll feel better after you do. 📺 Watch Video Need to ins...

## Removing Google as a Single Point of Failure Part 2: Gmail

DevFeed: [Removing Google as a Single Point of Failure Part 2: Gmail](<https://devfeed.tech/articles/removing-google-as-a-single-point-of-failure-part-2-gmail-20966.md>)

Original publisher: [Read original article](<https://jakewharton.com/removing-google-as-a-single-point-of-failure-gmail/>)

Published: 2020-03-18T00:00:00Z

Content type: article

Language: en

Sources: [Jake Wharton](<https://devfeed.tech/sources/jake-wharton.md>)

Topics: [Google](<https://devfeed.tech/topics/google.md>), [data](<https://devfeed.tech/topics/data.md>), [NVIDIA DRIVE](<https://devfeed.tech/topics/nvidia-drive.md>), [Homelab](<https://devfeed.tech/topics/homelab.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [data](<https://devfeed.tech/tags/data.md>), [google](<https://devfeed.tech/tags/google.md>), [home-server](<https://devfeed.tech/tags/home-server.md>), [rsync](<https://devfeed.tech/tags/rsync.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

The article explains how to reduce dependence on Google as a single point of failure while continuing to use Google services as the source of truth. It covers backing up Google Photos and Google Drive to a home server and rsync.net, then describes using a custom domain and Fastmail to preserve email access and support catch-all addresses.

### Source excerpt

I want to remove Google as a single point of failure in my life. In the first blog post on this subject I detailed my setup for backing up Google Photos and Google Drive contents onto my home server and remotely to rsync.net. Left out of that post was a solution for Gmail because I hadn't found one yet. Now I have. Source of truth That first post started with an important qualification: This does not mean that I'm going to stop using Google products. Quite the opposite. Gmail, Google Photos, and Google Drive will remain the source-of-truth for all of the things I listed above. What's different is that should Google disappear tomorrow (or just my account) I would lose no data. This was easy to achieve with Photos and Drive because the data is all there is. With email that's unfortunately not true. Incrementally backing up the email data is pretty straightforward-we'll get into that shortly. But with Gmail your email address is still tied to the @gmail.com domain. So if my account or all of Google disappears, I won't be able to receive any more email. Of course the "easy" fix here is to just use a domain that I control. Obviously I own jakewharton.com, and I intend to set that up, but I wanted something shorter. I've owned cob.io for many years with the intention of setting up j@cob.io, but I go by "Jake". Luckily the last few years have seen an influx of new TLDs so I managed to grab ke.fyi. Say hello to j@ke.fyi! Having an email on my own domain doesn't address the problem that there's still hundreds or thousands of services that I've given the Gmail address to. While I can migrate many, there are inevitably those which I can't or that I simply don't know exist. The old address needs to remain working. Fastmail After browsing a few hosted email solutions, I settled on Fastmail (Note: referral link). In addition to a positive recommendation from a friend, there were a few key motivating factors. Domain catch-all A popular feature of Gmail is the ability to append a +

## Postgres backups: Logical vs. Physical an overview

DevFeed: [Postgres backups: Logical vs. Physical an overview](<https://devfeed.tech/articles/postgres-backups-logical-vs-physical-an-overview-41198.md>)

Original publisher: [Read original article](<https://www.craigkerstiens.com/2017/09/03/postgres-backups-physical-vs-logical/>)

Author: Map

Published: 2017-09-03T20:55:56Z

Content type: tutorial

Language: en

Sources: [Craig Kerstiens](<https://devfeed.tech/sources/craig-kerstiens.md>)

Topics: [backups](<https://devfeed.tech/topics/backups.md>), [Database](<https://devfeed.tech/topics/database.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [checksums](<https://devfeed.tech/tags/checksums.md>), [dump](<https://devfeed.tech/tags/dump.md>), [environments](<https://devfeed.tech/tags/environments.md>), [logical](<https://devfeed.tech/tags/logical.md>), [overview](<https://devfeed.tech/tags/overview.md>), [pg-dump](<https://devfeed.tech/tags/pg-dump.md>), [portable](<https://devfeed.tech/tags/portable.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [production](<https://devfeed.tech/tags/production.md>), [sql](<https://devfeed.tech/tags/sql.md>), [wal](<https://devfeed.tech/tags/wal.md>)

### AI overview

This article explains PostgreSQL's two backup types: logical backups, which are portable and can target selected tables but add database load, and physical backups, which consist of the database's bytes on disk. It also discusses checksums, corruption detection, and the role of the write-ahead log.

### Source excerpt

It's not a very disputed topic that you should backup your database, and further test your backups. What is a little less discussed, at least for Postgres, is the types of backups that exist. Within Postgres there are two forms of backups and understanding them is a useful foundation for anyone working with Postgres. The two backup types are Physical: which consist of the actual bytes on disk, Logical: which is a more portable format. Let's dig into each a bit more so you can better assess which makes sense for you. Logical backups Logical backups are the most well known type within Postgres. This is what you get when you run pg_dump against a database. There are a number of different formats you can get from logical backups and Postgres does a good job of making it easy to compress and configure this backup how you see fit. When a logical backup is run against a database it is not throttled, this introduces a noticable load on your database. As it's reading the data from disk and generating (in layman terms) a bunch of SQL INSERT statements, it has to actually see the data. It's of note that older Postgres databases (read: prior to 9.3) there were no checksums against your database. Checksums are just one tool for you to help check against data corruption. Because a logical dump has to actually read and generate the data to insert it will discover any corruption that exists for you. This portable format is also very useful to pull down copies from production to different environments. I.e. if you need a copy of production data down on your local laptop pg_dump is the way to do it. Logical backups are also database specific, but then allow you to dump only certain tables. All in all logical backups bring some good features, but come at two cost: Load on your system The backup contains data as of the time when it ran Physical backups Physical backups are another option when it comes to backing up your database. As we mentioned earlier it is the physical bytes on disk

## Backing up with Capistrano

DevFeed: [Backing up with Capistrano](<https://devfeed.tech/articles/backing-up-with-capistrano-25381.md>)

Original publisher: [Read original article](<https://smileykeith.com/2013/01/05/backing-up-with-capistrano/>)

Author: Keith Smiley

Published: 2013-01-05T20:12:00Z

Content type: tutorial

Language: en

Sources: [Keith Smiley](<https://devfeed.tech/sources/keith-smiley.md>)

Topics: [restic](<https://devfeed.tech/topics/restic.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [backing-up](<https://devfeed.tech/tags/backing-up.md>), [capistrano](<https://devfeed.tech/tags/capistrano.md>)

### AI overview

The author uses Capistrano from a local machine to create and retrieve a weekly server backup, so the job runs when that machine is powered on. Rather than mirror directories with rsync, the Capfile runs `tar` on the server to create a compressed archive, then copies it locally with `scp` to a Dropbox backup folder. A local crontab entry schedules the task weekly; it specifies the Capistrano executable path because OS X cron uses `sh` without the author's usual `$PATH`. The excerpt says to adjust the `www` path for the server.

### Source excerpt

We all know not backing up has consequences. While losing sentimental files would definitely ruin your day, losing your web server's data could be even worse. I've mentioned before that I use Linode for my server hosting, and while they do offer an automated backup service I decided I'd rather setup my own solution to back up periodically to my local machine. Many people use rsync to do their server backups. In fact Linode even has a guide on how to set it up (there's a better one here). I decided that instead of a 1 for 1 directory backup, I would prefer to have a tarball of the contents. While I could've easily done this with a few bash commands from the server that's not particular ideal for my setup. My local machines don't run 24/7 so if I set it up on the server to automate the backup every week, it may try to initiate the backup when my machine was off (I could try to guess when it's on every week but that's not ideal either). The obvious solution to this is run it from my local machine instead every week. That way once a week when it's powered up it would log in to the server, create the tarball and pull it down. Insert Capistrano ([sudo] gem install capistrano) a RubyGem for 'Remote multi-server automation.' So I wrote a very basic Capfile to automate this for me (replace the path to your www folder accordingly). load 'deploy' $SERVER_USER = "username" $SERVER_IP = "1.1.1.1" desc "Backs up server www files" task :backup, :hosts => $SERVER_IP do run "cd /srv; tar -pvczf ~/backup.tar.gz www/" run_locally "scp #{ $SERVER_USER }@#{ $SERVER_IP }:~/backup.tar.gz ~/Dropbox/Backups/Server" end Then I added this to my crontab on my local machine by running crontab -e and adding the line: @weekly /Users/ksmiley/.rbenv/shims/cap -f ~/path/to/Capfile backup I included the path to the Capistrano executable since cron (on OS X) executes tasks with sh, which isn't setup with my $PATH.