Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/N3XT3R1337/RiftCE/llms.txt

Use this file to discover all available pages before exploring further.

Rift CE automatically backs up your account vault once per day, giving you a rolling window of recovery points if something goes wrong. Backups are plain copies of the encrypted accounts.dat file — they require no additional configuration and are pruned automatically to avoid accumulating old files indefinitely.

How backups work

Each time Rift CE runs, BackupService checks whether a backup has already been taken today. If not, it copies accounts.dat to the backups directory with a datestamp filename. Only one backup is created per calendar day; if you open Rift CE multiple times on the same day, only the first run triggers a backup. Older backup files are pruned at the same time: any file whose creation date is older than BackupKeepDays is deleted automatically.

Backup settings

SettingDefaultDescription
BackupEnabledtrueCreate a daily backup on startup. Set to false to disable all automatic backups.
BackupKeepDays7Number of days to retain backup files. Files older than this are deleted on the next startup.
You can change both settings under Settings → Backup in the Rift CE UI.

File locations

PathDescription
%LocalAppData%\RiftCE\accounts.datLive account vault
%LocalAppData%\RiftCE\backups\accounts_YYYYMMDD.datDaily backup, one file per day
For example, a backup taken on 15 November 2024 is stored as:
C:\Users\<you>\AppData\Local\RiftCE\backups\accounts_20241115.dat

Restoring from a backup

Backup files are encrypted with the same mode as the live vault (DPAPI or AES-256). A DPAPI-encrypted backup can only be restored on the same Windows user account it was created on. Attempting to restore it on a different user or machine will result in a decryption failure.
1

Close Rift CE

Make sure Rift CE is fully closed before modifying any vault files. The app keeps accounts.dat open while running.
2

Open the backup directory

Navigate to %LocalAppData%\RiftCE\backups\ in File Explorer. You can paste that path directly into the address bar.
3

Choose a backup file

Identify the backup you want to restore by its date. The filename format is accounts_YYYYMMDD.dat.
4

Replace the live vault

Copy the chosen backup file to %LocalAppData%\RiftCE\ and rename it accounts.dat, overwriting the existing file.
5

Reopen Rift CE

Launch Rift CE. It will load accounts from the restored file.
If you are migrating to a new machine or a new Windows user account, export your accounts to JSON first (File → Export) rather than copying accounts.dat. JSON exports are unencrypted and can be imported on any machine. DPAPI-encrypted vault files cannot be moved between user accounts.

Encryption of backup files

Backup files are byte-for-byte copies of accounts.dat at the moment the backup runs. They are encrypted with whichever mode was active at that time — DPAPI or AES-256. Switching encryption modes after a backup is taken does not retroactively re-encrypt older backup files. For more detail on encryption modes and their portability trade-offs, see Encryption.

Build docs developers (and LLMs) love