SShortSingh.
Back to feed

Proxmox Backup Server Homelab Setup Runs Without an Offsite Copy

0
·2 views

A homelab operator describes running Proxmox Backup Server directly on the Proxmox VE host, writing deduplicated snapshots of all VMs and containers to a USB external hard drive. The setup covers the two-media part of the 3-2-1 backup rule, but has no offsite copy for these backups, as the only offsite backups currently cover a few Kubernetes namespaces. Co-locating the backup server with the hypervisor saves resources but means a host failure also takes the backup server down, and the drive must be on a USB 3 port to avoid severe slowdowns. Backups run every other night and are throttled to limit load on a single-disk host. A post-job hook checks committed backups to catch silent failures that a successful exit status would miss.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Fixing Unity's ArgumentNullException for null atlases parameter in atlas packing

A Unity editor batch routine throws ArgumentNullException when calling SpriteAtlasUtility.PackAtlases because the atlases argument is null. The error typically occurs after a folder scan under Assets/Art/Atlases finds no matching SpriteAtlas assets, leaving the collection reference uninitialized. The exception is raised by a guard in the editor binding before any packing begins, so no partial pack is produced. The suggested fix is to build the array from an initialized list, verify assets load through AssetDatabase, and check for null or empty results before calling the packing utility. A sample editor script demonstrates this guarded approach.

0
ProgrammingDEV Community ·

Paginating google-play-scraper with continuation tokens pulls 3,000 Play Store reviews in about 4 seconds

A developer found that the google-play-scraper library returns only a few hundred reviews by default because Google Play serves reviews in pages linked by continuation tokens. Looping over those tokens with an explicit pagination script retrieved 3,000 Spotify US reviews across 20 pages in roughly 3.7 seconds. The article notes that language and country act as filters, so multiple markets must be combined and de-duplicated by review ID for full coverage, and that sorting newest-first pages furthest for monitoring. It also describes an equivalent approach for Apple's per-country RSS review feeds, which yield up to about 1,000 recent reviews per country. The author offers a paid scheduled actor for multi-app collection and advises respecting Google Play's terms and avoiding republication of personal data in reviews.

0
ProgrammingDEV Community ·

Drawing App Logic as State Machines Exposed 10 Bugs Passing Tests Missed

A developer building LinkUnzip, a Chrome extension for previewing and saving single files from a remote zip, had 39 passing end-to-end tests. To probe the interactions between components, they modeled the app as state machines covering jobs, connections, and downloads, which surfaced 10 bugs the tests never exercised. The approach involved drawing diagrams directly from the code rather than from memory and checking every state against each possible incoming message or event. One key bug arose when Chrome restarted an idle service worker, causing completion messages to be dropped before state restoration finished and a successful extraction to be wrongly reported as failed. The fix was to delay handling replies until loading completes. The article argues that such bugs hide in transitions and timing gaps that conventional tests rarely cover.

0
ProgrammingDEV Community ·

Compatible Chat API Option for Cost-Routed Report Summarization in Node.js

A developer guide recommends a single OpenAI-compatible chat API for summarizing logistics reports when per-tenant cost tracking matters, while keeping direct vendor adapters for provider-specific controls. The approach routes requests through one key and one bill, with each tenant's spend recorded separately. The article stresses that summaries should serve as structured handoffs for human moderators rather than make moderation decisions themselves. It lists four invariants to maintain: tenant identifiers on every request, a stable output schema, retained original reports for audit, and per-request cost recording. A Python example shows the request pattern with retry handling for rate limits, and the author notes that policy, redaction, and escalation remain the application's responsibility.