BlogReferenceStorage

Where Restora stores backups: the folder, the file names, the side files, and what is inside a backup zip

The wp-content/restora-<random>/ folder and how it is protected, the archive naming scheme, the .json and .log side files, the layout of the zip and its .restora/ folder, and how to keep backups from filling the disk.

3 min readPerforks

The folder where Restora keeps its backups inside wp-content

Restora keeps everything it writes in one folder of its own inside wp-content, and every backup is a standard zip you can open anywhere. Knowing the layout helps when you restore by hand, copy backups around, or wonder where the disk space went.

The backup folder

The folder is wp-content/restora-<16 random hex characters>/, created on the first backup. Its random name is the real protection: it cannot be guessed, and nothing on the site links to it. Inside it Restora also puts:

  • .htaccess and web.config, which deny web access on Apache and IIS. nginx ignores them, so Restora checks once a day whether the folder can be reached from the web and, if it can, shows “Your backups are hidden, but not locked.” with the exact line to add to the site's nginx configuration (and where to paste it in CloudPanel, Plesk, RunCloud and similar panels), plus a Check again button.
  • index.php (empty) and a .restora-storage marker, so a fresh install, or a restore that replaced the database, finds the existing folder instead of making a new one.
  • jobs/, one sub-folder per running job with its state, file lists and log; folders of finished jobs are removed after two days.

Downloads only go through the Restora screen, by an administrator; the folder's name alone never lets anyone fetch a backup. Deleting the plugin does not delete the folder.

File names

An archive is named restora-<type>-<YYYYMMDD>-<HHMMSS>-<12 hex>.zip, with the date and time in UTC. The type is full, files or db, one of core, plugins, themes or uploads for a single part, or custom for another selection. On a multisite network the site id follows the type: restora-full-s7-…. The parts of one “Separate files” backup share the same date, time and random stamp, which is what makes them a set.

Next to each archive are two side files with the same name: .json (the manifest plus how long the job took and, later, the inventory shown under Details) and .log (the job's log). A download is named after the site, yoursite.com-restora-full-….zip; a file with that name copied back into the folder by FTP is renamed to its plain name and listed again. An archive without its .json is still recognised: Restora reads the manifest from inside the zip.

Inside a backup zip

wp-admin/…
wp-content/plugins/…
wp-content/themes/…
wp-content/uploads/2026/10/…
wp-config.php              (full and “WordPress and other files” backups)
.restora/
  manifest.json            what the backup is: site, versions, parts, tables, exclusions
  index                    every entry with its size and SHA-256
  integrity.json           the digest that seals the index and manifest
  db-<random>/database-0001.sql, database-0002.sql, …   (when the database is included)
  .htaccess, index.php

Site files sit at their normal paths relative to the WordPress folder. If wp-content lives outside the WordPress folder, it is archived under __wp-content__/ instead. The database is plain SQL with DROP TABLE IF EXISTS and CREATE TABLE statements followed by the rows, split into numbered files, so phpMyAdmin can import them in order. Encrypted backups (Pro) keep the same layout with every entry encrypted (AES-256, WinZip style) except the manifest, which stays readable so the backup can be listed and, for a key-locked backup, carries the sealed password.

The index and integrity.json files are what makes a backup tamper-evident: a restore verifies every entry against the index first, and Restora also remembers the digest of each backup it made, so a copy changed on its way back from remote storage is refused.

Backups taking too much disk space

Each full backup is roughly the size of the site's files (media is already compressed) plus the database. Five of them, the default retention, is five times the site. If the disk fills, Restora stops a backup early with “Not enough free disk space: the backup needs about … and the server has … free.” rather than at 80%. To keep it under control:

  • Lower Scheduled backups to keep; retention applies after each new backup.
  • Schedule the database every day and the full site less often. Database backups are small.
  • Delete manual and WP-CLI backups you no longer need; retention never touches them. The same goes for “Before restore” safety backups beyond the newest two and “Before update” backups beyond the number you keep.
  • Exclude what you can rebuild or do not need: old years of uploads, video folders, log files (settings).
  • With Pro, send copies to S3 or SFTP and keep fewer on the server; a remote-only copy can be fetched back when needed.