...
- You have at least one database backup (a file having VNhaving VN_DB_ in in its name).
- You have at least one full filesystem backup (a file having VNhaving VN_FS_FULL_ in in its name).
- You have zero or more incremental filesystem backups (a file having VNhaving VN_FS_INCR in INCR in its name).
Note |
---|
Please note that migration and backup restore are sensitive operations. We strongly recommend that you do not proceed unless you have experience with VoipNow. Otherwise, please open a support ticket. Also kindly note that errors or wrong actions during migration are not handled by the standard support packages. |
Restore the same server
If your server already has VoipNow installed, run the following command: Shell
The location of existing backups will be automatically queries and the following operations will be performed:
...
- Install VoipNow on the new server.
- Log in and configure the backup settings (only the backup folder is important at this stage).
- Copy the database backup, the full filesystem backup and (optionally) the incremental filesystem backups to the specified folder.
Run the following command:
Shell vnrestore - Services are stopped.
- The latest database backup is restored.
- The latest full filesystem backup is extracted.
- The incremental backups following the last full filesystem backup are extracted.
- Services are started.
Warning |
---|
If the target server has a new IP (the backup was done on a machine with different IP), the the |
Debugging
Both the vnbackup and the vnrestore scripts read the DEBUG variable in the vnbackup and the vnrestore scripts read the DEBUG variable in backup.conf. If set to to yes, additional debug information will be logged in the console.
Also, both both vnbackup and vnrestore and vnrestore will create lock files under under /var/lock/.vnbackup and vnbackup and /var/lock/.vnbackup. If their execution is not properly ended (meaning the script is stopped forcefully or an error is encountered), these lock files remain in place and will block further operations.
Please check the cause of the error by inspecting the log files, fix the error, and only then remove the corresponding lock file.
4psarelated | ||
---|---|---|
|
...
| |
Hiddenlabel |
---|
voipnow300_pbx/server/backup |
...
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.