Source-checkedGameplay & overhauls

NativeBackup

by Aloncifer · for Valheim

A simple backup valheim mod

158Downloads
7 mo agoLast updated
BepInExLoaders
ThunderstoreSource

About NativeBackup

From Thunderstore

A simple backup valheim mod

NativeBackup beta 0.1.1

NativeBackup beta 0.1.1 is a Valheim backup plugin that adds fast in-game backup triggers on top of Valheim's native backup system.

Ground Truth (Current Build)

NativeBackup currently provides:

  1. Esc-menu Backup button integrated under Save.
  2. Console commands: sb.backup, sb.backup world, sb.backup char, sb.list.
  3. Automatic timed backups (optional) via config.
  4. Native backup creation through Valheim save APIs.
  5. Save-before-backup synchronization through current-version ZNet save flow.
  6. Single-flight execution with cooldown guard.
  7. Minimalist UX messaging with duration in completion/failure toasts.
  8. Flashing top-right backup indicator while backup is running.

Backup Pipeline

Every trigger path (button, command, timer) follows the same pipeline:

  1. Resolve requested target intent.
  2. Enter coordinator gate (no overlap, 5-second cooldown).
  3. Trigger native save sync via ZNet.Save(false, true, false) on main thread.
  4. Wait for ZNet.SaveDoneTime to advance.
  5. Create native backup(s) for selected target(s).
  6. Emit concise completion/failure toast with elapsed time.

Important behavior details:

  1. Explicit target commands are strict.
  2. sb.backup world will not silently fall back to character.
  3. sb.backup char will not silently fall back to world.
  4. Backup sync is current-version only and does not use legacy trigger discovery fallbacks.
  5. If save completion cannot be confirmed within timeout, backup is canceled to avoid stale snapshots.

User Experience

Design goals are minimal and informative:

  1. No center-screen backup spam.
  2. Flashing top-right backup badge while backup is running.
  3. Backup button is grayed out while backup is running or cooldown is active.
  4. Concise top-left toast on completion/failure/cancel with timing.

Examples:

  1. Backup complete (1.8s): world 'MyWorld' and character 'test'.
  2. Backup failed (1.2s): requested target unavailable.
  3. Backup canceled (2.0s): could not confirm current save state.
  4. Backup on cooldown.
  5. Backup already running.

Target Rules

  1. Hosted local world:
  2. sb.backup world backs up world.
  3. sb.backup char backs up character.
  4. Esc button and sb.backup attempt both.
  5. Non-host/client session:
  6. sb.backup world is blocked.
  7. Character backup paths remain available when character save is resolvable.

Commands

  1. sb.backup - backup current available targets.
  2. sb.backup world - world only (host required).
  3. sb.backup char - character only.
  4. sb.list - lists legacy archive index entries.

Cooldown behavior:

  1. Backup actions use a 5-second cooldown window.
  2. During cooldown, the Esc-menu Backup button remains disabled (grayed out).

Configuration

Config file: com.aloncifer.nativebackup.cfg

  1. BackupIntervalMinutes: timed backup interval. 0 disables scheduler.
  2. MaxBackupsPerSave: maximum number of native backups kept per save target.

Retention behavior:

  1. Native backups are pruned after each successful backup so only the newest MaxBackupsPerSave entries remain per save.
  2. Setting the value to 0 disables pruning.

Build and Install

  1. Build target: .NET Framework 4.6.2.
  2. Build command: dotnet build NativeBackup.sln -c Release.
  3. Output: src/bin/Release/net462/NativeBackup.dll.
  4. Install DLL to BepInEx plugins folder.

Notes

  1. The backup badge uses IMGUI; icon glyph rendering can vary by system font.
  2. Native restore/list rendering is still Valheim-owned UI behavior.
  3. This build targets current Valheim save APIs and intentionally removes legacy trigger compatibility paths.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 7 mo ago.

NativeBackup on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.1.1, released 2026-04-16

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 1 recorded build of NativeBackup.

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run NativeBackup on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Content”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Works on a server

From source side support

Thunderstore lists server-side support for NativeBackup as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorAloncifer, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

NativeBackup, answered

Generated from the mod’s own source data.

Do my players need to install NativeBackup?

Thunderstore lists server-side support for NativeBackup as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. NativeBackup is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run NativeBackup on a Valheim server.

Deploy in about a minute from $9.99 a month, then add NativeBackup in one click.