Completely removing Nyx Backup

This page lists everything Nyx Backup leaves on your computer and how to remove it, per platform. It is written to be published as-is on nyxbackup.com/uninstall.

Uninstalling the app does not delete your backups. They stay in your storage (S3, Backblaze B2, OneDrive, etc.) and that provider keeps charging for them until you delete them from that provider’s console.

Removing the encryption key (below) means you can no longer restore your remote backups - it is the only thing that can decrypt them, and even the free Recovery Tool needs it. If you might ever want your data back, export the key first:

nyx_bkp_cli export-key

That writes nyxbackup-master.key into your Documents folder. Pass --output <path> for somewhere else - a file path, or a folder to drop the default filename into. Do not pass a bare filename while sitting in the install directory: it is not writable, and the export fails with “Access is denied”.

Keep that file somewhere safe and offline.

Before removing anything, it is good practice to release your license seat so you can activate a new machine later:

nyx_bkp_cli license deactivate

Windows

  1. Uninstall the app: Settings -> Apps -> Nyx Backup -> Uninstall (or Control Panel -> Programs and Features). This stops and removes the NyxBackupSvc service, the Start-menu shortcuts, and the program files - including the app (Nyx Backup, in C:\Program Files\Nyx Backup\Preview\) and Nyx Backup Classic.

  2. Delete the data folder (config, database, logs):

    • C:\ProgramData\NyxBackup\
  3. Delete the stored secrets. These live in Windows Credential Manager under the SYSTEM account (the service created them), so they do not appear in your own Credential Manager, and cmdkey run as yourself answers “Element not found”. Windows’ Task Scheduler can run the deletion as SYSTEM, with nothing to download. In PowerShell opened with Run as administrator:

    @'
    & {
      cmdkey /list | Select-String 'Target:\s*(\S*nyxbackup\S*)' | ForEach-Object {
        $t = $_.Matches[0].Groups[1].Value
        "delete $t"; cmdkey "/delete:$t"
      }
      '--- SYSTEM still has:'; cmdkey /list
    } *> C:\Windows\Temp\nyxcred.txt
    '@ | Set-Content -Encoding ascii C:\Windows\Temp\nyxdel.ps1
    schtasks /create /tn NyxCredDelete /ru SYSTEM /sc once /st 23:59 /f /tr "powershell -NoProfile -ExecutionPolicy Bypass -File C:\Windows\Temp\nyxdel.ps1"
    schtasks /run /tn NyxCredDelete
    Start-Sleep 5; Get-Content C:\Windows\Temp\nyxcred.txt
    schtasks /delete /tn NyxCredDelete /f
    Remove-Item C:\Windows\Temp\nyxdel.ps1, C:\Windows\Temp\nyxcred.txt

    It deletes every entry whose name contains nyxbackup (cmdkey /list shows them as LegacyGeneric:target=nyxbackup...): the encryption key nyxbackup.master_key, the license nyxbackup.license, each destination’s nyxbackup.ep-NNNN.key_id / .secret and each attached set’s nyxbackup.att-... entries. The output shows a delete line for each and no nyxbackup entry after --- SYSTEM still has:. The service keeps a second copy of the encryption key in C:\ProgramData\NyxBackup\master_key.dat, which step 2 removes.

  4. Delete the per-user leftovers - in each Windows account that used the app, or ran the command-line tools without access to the shared log folder. The uninstaller does not touch user profiles:

    • %LOCALAPPDATA%\NyxBackup\ - the app’s own settings (preview.json: theme, language, notification-area icon) and, where that account could not write to C:\ProgramData\NyxBackup\logs\, its logs.

    • The app’s start-at-sign-in entry, present only if “Start when you sign in” was turned on (turning it off in the app’s Settings before uninstalling removes it too):

      reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v NyxBackupPreview /f

Linux (.deb / .rpm)

  • .deb: use purge to remove the app and its data in one step:
    sudo apt purge nyxbackup
    (Plain sudo apt remove nyxbackup keeps /etc/nyxbackup, /var/lib/nyxbackup, and the stored keys so you can reinstall without reconfiguring.)
  • .rpm: sudo dnf remove nyxbackup removes the app but keeps data; delete it manually:
    sudo rm -rf /etc/nyxbackup /var/lib/nyxbackup /var/log/nyxbackup
  • Either way, the runtime dir /run/nyxbackup/ clears itself on reboot.
  • The app (Nyx Backup): removing the package also removes the app, its /usr/bin/nyx_bkp_preview link, its GTK runtime (/usr/lib/nyxbackup/gtk-runtime, .deb only) and the two links the package made - /usr/lib/nyxbackup/gtk-lib and the menu entry /usr/share/applications/com.nyxbackup.app.preview.desktop. What it keeps is per user, in each account that used it:
    rm -f ~/.local/share/nyxbackup/logs/nyx_bkp_preview.log
    rm -f ~/.config/nyxbackup/preview.json
    rm -f ~/.config/autostart/com.nyxbackup.app.preview.desktop
    (preview.json holds its theme, language and tray-icon choice; the autostart entry exists only if “Start when you sign in” was turned on. If XDG_DATA_HOME / XDG_CONFIG_HOME are set, the files are under those instead of ~/.local/share / ~/.config.)

macOS

Nyx Backup installs its own uninstaller. Open Nyx Backup and choose Settings -> Advanced -> Uninstall (or run /usr/local/lib/nyxbackup/uninstall.command). It opens in Terminal, stops and removes the background service, the notification agent, the apps (Nyx Backup, Nyx Backup Classic, and the copy 1.0.9 and 1.0.10 installed) and the command-line tools, then asks before deleting your settings, credentials and encryption key, and asks you to confirm you have the key saved elsewhere first.

The uninstaller in 1.1.0 and earlier leaves the passwords the service keeps in the System keychain, even when you choose to delete credentials. After it, run:

while sudo security delete-generic-password -a nyxbackup /Library/Keychains/System.keychain >/dev/null 2>&1; do :; done

To remove everything by hand instead (Terminal):

# Stop + remove the background service
sudo launchctl bootout system /Library/LaunchDaemons/com.nyxbackup.app.plist
sudo rm -f /Library/LaunchDaemons/com.nyxbackup.app.plist

# Stop + remove the per-user notification agent (if present).
# The label is com.nyxbackup.notifier from 1.0.6 on; com.nyxbackup.toaster and
# com.nyxbackup.app.toaster are older, so clear whichever is there.
for label in com.nyxbackup.notifier com.nyxbackup.toaster com.nyxbackup.app.toaster; do
  launchctl bootout "gui/$(id -u)/${label}" 2>/dev/null || true
  sudo rm -f "/Library/LaunchAgents/${label}.plist"
done

# Apps (Nyx Backup, Nyx Backup Classic, and the copy 1.0.9 and 1.0.10 installed),
# the service and the command-line tools
sudo rm -rf "/Applications/Nyx Backup.app" "/Applications/Nyx Backup Classic.app" "/Applications/Nyx Backup Preview.app"
sudo rm -f /usr/local/bin/nyx_bkp_cli /usr/local/bin/nyx_bkp_tui
sudo rm -rf /usr/local/lib/nyxbackup

# Data (including the encryption key and license files) + logs
sudo rm -rf "/Library/Application Support/NyxBackup" /var/log/nyxbackup
rm -rf "$HOME/Library/Application Support/NyxBackup" "$HOME/Library/Logs/NyxBackup"

# The app's own settings (theme, language, menu bar icon), per user
defaults delete com.nyxbackup.app.preview 2>/dev/null || true

# Keychain items: every destination's and attached set's password, and the
# encryption key and license where the service keeps them there.  All are under
# the account "nyxbackup"; this deletes them one by one until none is left.
while sudo security delete-generic-password -a nyxbackup /Library/Keychains/System.keychain >/dev/null 2>&1; do :; done

# Optional: forget the installer's receipt
sudo pkgutil --forget com.nyxbackup.app 2>/dev/null || true

The app keeps its log with the others (~/Library/Logs/NyxBackup/, removed above). If you turned on its Open at Login, turn it off in the app’s Settings before deleting it, or remove it afterwards under System Settings -> General -> Login Items. Run the defaults line in each account that used the app.


What each item is

ItemWhat it holdsSafe to keep?
Data folder (ProgramData\NyxBackup, /var/lib/nyxbackup, …/Application Support/NyxBackup)config.toml, the local state.db (chunk index / history), logsYes - harmless, and required for a clean reinstall/resume
Encryption key (nyxbackup.master_key; also master_key.dat on Windows and master.key on macOS and Linux, in the data folder)The only key that can decrypt your remote backupsRemoving it is irreversible - export it first
License entry (nyxbackup.license)Your license key + check-in stateDeactivate the seat first so a new machine can use it
Endpoint credentials (nyxbackup.ep-* and nyxbackup.att-*; on macOS the System keychain items under the account nyxbackup)Storage access keys / passwords for each destination and each set attached from another computerRemoving them is fine; you’d re-enter them to reconnect
The app’s settings (preview.json, the com.nyxbackup.app.preview defaults) and its start-at-sign-in entryThe app’s theme, language and tray / menu bar icon choice; whether it opens when you sign inYes - harmless, though a sign-in entry left behind points at an app that is gone

After removing everything

Your backups still exist in your storage provider. If you want them gone too, sign in to each provider’s console (AWS S3, Backblaze B2, Cloudflare R2, your WebDAV / SFTP server, OneDrive / Google Drive / Dropbox, etc.) and delete the NyxBackup bucket / folder there. Charges stop only once that data is deleted.