< Prev. |
Next > |
a) Restore from PC (recommended)
b)
Restore from the Block Volume
Stop
AzuraCast (for troubleshooting)
In the simpler case, when you've made a new VM and have just installed AzuraCast, if you do not want to bother with all the settings and file uploading, simply upload the AzuraCast backup from your PC to your new Linux VM and then restore it.
Run a command-line similar to this from your Windows PowerShell:
Explanation:
• scp:
The secure copy command.
• -i C:\Users\petre\Downloads\ssh-key-2025-08-28.key
The IdentityFile flag. This tells scp to use your private key file for
authentication.
Crucial: You must replace C:\Users\petre\Downloads\ssh-key-2025-08-28.key with the actual path and filename of the private key you downloaded from Oracle Cloud when you created the server instance.
• C:\Users\petre\Downloads\recovery_azuracast.zip: The
path to the file you want to upload.
• ubuntu@134.98.152.181:/home/ubuntu/:
The destination, which includes the correct username (ubuntu for Ubuntu
instances) and your server's IP address.
should work directly, provided
that you are in the /var/azuracast/ directory when you run the command. The ./
at the beginning of ./docker.sh tells the shell to look for the script in the
current directory.
Since we considered creating and attaching a Block volume as optional, and the backup procedure while keeping the old Docker installation, also optional, the following operation is optional, too.
In case of Azuracast re-installation, while keeping the old Docker installation, do the reverse backup operations:
Copy the backup file from the block
volume to the newly created /var/azuracast/backups folder, which
resides inside a Docker container and is "invisible":
NOTE: The /var/azuracast/backups directory will be created automatically during
a new Azuracast installation. The docker-compose.yml file defines the volume
mounts for the various parts of the application. If these directories do not
exist, Docker will automatically create them. See a part of this configuration
file in the chapter "Some Linux basic commands - cat”
To restore the backup, run:
In case of troubleshooting AzuraCast installation or when
you want to tweak it, you should first stop AzuraCast from running. Do this by
using the docker compose plugin:
After you’re done, restart the AzuraCast software:
Display the Docker Compose plugin version:
List all of your Docker volumes to identify the ones
associated with your AzuraCast installation. Look for the azuracast_db_data
volume.
Next chapter: YouTube Streaming >