Restore
Restore replaces all current data with the contents of a backup. Use it to recover from a mistake or to move to a new server.
Restore from the admin
- Go to Admin → Backup & restore.
- Choose a backup from the list, or upload a backup ZIP created by Nocly Shortener.
- Click Restore, type
RESTOREand enter your password to confirm.
What happens:
- The backup's integrity is verified against its manifest. Corrupt files are refused.
- A safety backup of the current data is created automatically.
- Maintenance mode is enabled during the restore.
- The database and branding images are replaced.
- Everyone is signed out. Sign in again with an account from the backup.
If anything fails, the restore stops and reports the error; the safety backup lets you return to the previous state.
Warning: Everything created after the backup was taken (links, clicks, users, settings) is lost after a restore. Create a fresh backup first if you may need it.
Moving to a new server
- Create and download a backup on the old server.
- Install Nocly Shortener on the new server with an empty database (Installation).
- Sign in to the new installation and restore the backup in Admin → Backup & restore.
- The application key from the backup is applied so stored secrets keep working. The database connection of the new server is kept.
- If the domain changed, check
app.urlinconfig/config.php(Configuration). - Point custom short domains to the new server and verify them again.
- Set up the cron job on the new server.