Backups & restore
Draft – this text is not final yet.
Omniviu deliberately doesn’t come with its own backup system. All data lives in the WordPress database and the WordPress folder, so common backup solutions cover it – as long as they back up both the database and the files.
What needs to be backed up
| What | Where |
|---|---|
| Content, permissions, versions, comments, time tracking | Database tables with your installation’s prefix and pn_, for example wp_pn_pages |
| People, roles, settings | The usual WordPress tables – they’re part of every WordPress backup |
| Uploaded files, images, custom icons | wp-content/uploads/omniviu/ – private storage, not the media library |
| The plugin itself | Optional, you can reinstall it at any time |
Important
- Back up the database and files together – in the same run, at the same time. Otherwise, after a restore, pages may point to files that are missing.
- If your uploads folder lives somewhere other than usual, the private storage is there too. Make sure that folder is included in the backup.
- Version history and the trash are not a backup. They help with accidental changes to individual pages, not with server or hosting problems.
With a backup plugin
BackWPup: Create a job with “Database backup” and “File backup”. For the database, the default setting “only tables with the WordPress prefix” is enough. The uploads folder must be included, and omniviu must not be excluded.
UpdraftPlus: Back up “Database” and “Uploads”. The default exclusions in the uploads folder don’t affect omniviu. Back up the database and files on the same schedule.
For both: daily, at night, to a location outside the server.
With your host’s backup
Most hosts back up the database and web space in full. Ask whether both are backed up and how long backups are kept.
Restoring
- Restore the database and files from the same backup.
- In the WordPress admin, choose Omniviu → System status → Run checks again. Missing tables, addresses, sync and the protection of the file storage are checked, with one-click fixes.
- When moving to a new nginx server, add the rule for the file storage again (see Server configuration).
- Open the app and view a page with an image or file.
Moving to another domain: File addresses in pages are stored as relative paths and keep working after a domain change without search and replace. The usual WordPress steps for a move are still needed.