Skip to content

Unraid Media Streaming Server

Abstract

This guide explains how to setup Unraid as a full media streaming server


Pre-Requisites


How to setup each application

This guide is based on my own experience combined with the information found on Trash guides.

Data share

The first step is to create a data share where all your will be stored, and streamed from. Feel free to give it any name. I will use 'data'.

unraid-media-streaming-server

After creating the share, go to the contents of the share and create this exact folder structure.

data
├── torrents
   ├── movies
   └── tv
└── media
    ├── movies
    └── tv

unraid-media-streaming-server

You can use the create button to create new folders.

unraid-media-streaming-server

Torrent application

Feel free to use any torrent application recommended in the Trash guides. I will be using Deluge.

Via the Community Applications search for 'deluge'. I chose to use the image from Linuxserver

unraid-media-streaming-server

You can leave everything default, except for the container path. You need to point the /downloads folder from the docker image, to your created /torrents folder

unraid-media-streaming-server

Go to the GUI of the application, and log in with password 'deluge'.

Apply the following settings in preferences:

unraid-media-streaming-server

unraid-media-streaming-server

unraid-media-streaming-server

Create labels on the left by right clicking, and creating 2 labels called 'radarr' and 'tv-sonarr'.

unraid-media-streaming-server

Right click the label "radarr", and choose "Label Options"

unraid-media-streaming-server

Apply the following settings:

unraid-media-streaming-server

To the same for the label "tv-sonarr"

unraid-media-streaming-server

Sudo apt update
apt install proxmox-backup-client
proxmox-backup-client version

Configure Proxmox Backup Client

1. First backup

sudo proxmox-backup-client backup "backupname".pxar:"directory" --repository "backupuser"@pbs@"PBS-IP":"DataStoreName" -ns "YourNameSpace"

Example:

sudo proxmox-backup-client backup mkdocsbackup.pxar:/home/user/docker --repository ardougneBackupUser@[email protected]:HDD-storage-5Tb -ns azure_mkdocs

2. List all backups

proxmox-backup-client list --repository "backupuser"@pbs@"PBS-IP":"DataStoreName" -ns "YourNameSpace"

example:

proxmox-backup-client list --repository ardougneBackupUser@[email protected]:HDD-storage-5Tb -ns azure_mkdocs

3. Backup encryption

proxmox-backup-client key create /home/user/encryption.key
Fill in your desired key

4. Storing credentials

This is so that you do not need to enter credentials for each backups.

  • Environment variables: is an option, but credentials are stored in plain text.

  • Systemd credentials: are stored as encrypted files that only systemd decrypts when launching a service. We will be using systmd credentials for this guide.

To store the password of the backup user:

sudo systemd-ask-password -n | systemd-creds encrypt --name=proxmox-backup-client.password - /your/password/directory/password.cred

To store the encryption key we created:

systemd-ask-password -n | sudo systemd-creds encrypt --name=proxmox-backup-client.encryption-password - /home/user/encryption-password.cred

Let's create a systemd service:

sudo nano /etc/systemd/system/backup.service

Paste in the following (fill in your own details and remove the quotes):

[Unit]
Description=Proxmox Backup Client service
Wants=network-online.target
After=network-online.target

[Service]
Type=oneshot
ExecStart=proxmox-backup-client backup "backupname".pxar:/home/user/docker \
  --repository "backupuser"@pbs@"PBS-IP":"DataStoreName" \
  -ns "YourNameSpace" \
  --keyfile /home/user/encryption.key
LoadCredentialEncrypted=proxmox-backup-client.password:/home/user/password.cred
LoadCredentialEncrypted=proxmox-backup-client.encryption-password:/home/user/encryption-password.cred

[Install]
WantedBy=multi-user.target

Reload systemd so it picks up the service

sudo systemctl daemon-reload

Test it:

sudo systemctl start backup.service

5. Schedule a backup

To start a backup at a certain time

sudo nano /etc/systemd/system/backup.timer
[Unit]
Description=Run backup daily at 2am

[Timer]
OnCalendar=*-*-* 02:00:00
Persistent=true

[Install]
WantedBy=timers.target
sudo systemctl daemon-reload
sudo systemctl enable --now mkdocs-backup.timer

6. Restore a backup

First list all your backups:

sudo proxmox-backup-client snapshot list "backupname".pxar:"directory" --repository "backupuser"@pbs@"PBS-IP":"DataStoreName" -ns "YourNameSpace"

To restore a backup:

proxmox-backup-client restore host/"YourHostname"/2025-08-09T15:51:02Z "backupname".pxar /where/to/restore --repository "backupuser"@pbs@"PBS-IP":"DataStoreName" -ns "YourNameSpace"