< Prev.

< <  Free Radio index page

Next >

AzuraCast Re-installation (just in case)

a) Restore from PC (recommended)  icon  b) Restore from the Block Volume  icon  Stop AzuraCast (for troubleshooting)

a) Restore from PC (recommended)

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.

The SCP Command

Run a command-line similar to this from your Windows PowerShell:

scp -i C:\Users\petre\Downloads\ssh-key-2025-08-28.key C:\Users\petre\Downloads\recovery_azuracast.zip ubuntu@134.98.152.181:/home/ubuntu/

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.

 

The Restore command

./docker.sh restore /home/ubuntu/recovery_azuracast.zip

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.

 

b) Restore from the Block Volume (optional)

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:

Backup file recovery

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":

sudo docker cp /mnt/azuracast_backups/recovery_azuracast.zip azuracast:/var/azuracast/backups/

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

 

The Restore command

To restore the backup, run:

./docker.sh restore /var/azuracast/backups/recovery_azuracast.zip

 

Stop AzuraCast (for troubleshooting)

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:

sudo docker compose down

After you’re done, restart the AzuraCast software:

sudo docker compose up

 

Other commands

Display the Docker Compose plugin version:

docker compose version

List all of your Docker volumes to identify the ones associated with your AzuraCast installation. Look for the azuracast_db_data volume.

sudo docker volume ls

up icon

Next chapter: YouTube Streaming >