← Back to blog

Back up and restore v2rayN without exposing credentials

A useful backup includes profiles, groups, routing and settings, and it must be protected like the subscription tokens it contains.

Steps

  1. Exit the app and use its backup function. For a portable build, copying the whole folder is acceptable only after every core process stops.
  2. Label backups with date, v2rayN major version and operating system. Keep more than one generation.
  3. Store the archive on encrypted storage or as a protected password-manager attachment, with a separate offline copy.
  4. Perform one restore into an empty folder or test machine and verify groups and routing before trusting the backup.

Why this matters

An untested backup is only a hope. A restore drill discovers missing files, incompatible versions and corrupt archives while the original still exists.

How to verify

Profile counts, groups, routes and core choices match the source, and subscription refresh and connection both work.

Things to watch

Logs and profiles can contain UUIDs, passwords, domains and account identifiers. Encrypt before uploading and redact before asking for help.

Official references

v2rayN WikiFrequently asked questions