initial commit
This commit is contained in:
57
README.md
Normal file
57
README.md
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
Lidarr is a music download manager. Music can be requested in Lidarr. Lidarr uses nzbgeek usenet indexer to search for the requested music. Once found, Lidarr sends the download information to sabnzb to download the request from the usenet service.
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
1. **Insert instructions on creating a stack in portainer here.**
|
||||||
|
2. Name the stack "Lidarr"
|
||||||
|
3. Use the docker-compose.yml
|
||||||
|
4. Click the "Deploy the stack" button at the bottom of the page
|
||||||
|
# Backup
|
||||||
|
|
||||||
|
Lidarr can be backed up using the web interface or the command line. Lidarr automatically creates a backup every 7 days and stores it in the following locations. The previous three backups are retained, along with the current.
|
||||||
|
- /home/mattspeer/docker/lidarr/Backups/scheduled of the host
|
||||||
|
- /config/Backups/scheduled of the container
|
||||||
|
## Web Interface Backups
|
||||||
|
|
||||||
|
1. Log into Lidarr at https://lidarr.speerfam.net
|
||||||
|
2. Go to System => Backup
|
||||||
|
3. Click the Backup button
|
||||||
|
4. Download the zip after the backup is created
|
||||||
|
5. Move the backup file to your network backup folder
|
||||||
|
|
||||||
|
## Command Line
|
||||||
|
|
||||||
|
1. Run the following command to stop lidarr
|
||||||
|
``` bash
|
||||||
|
sudo docker stop lidarr
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Run the following command to create a compressed backup of lidarr
|
||||||
|
``` bash
|
||||||
|
sudo zip -r /mnt/5TB-Disk1/backup/server/lidarr/lidarr_backup.zip /home/mattspeer/docker/lidarr
|
||||||
|
```
|
||||||
|
|
||||||
|
# Restore
|
||||||
|
|
||||||
|
## Restore Using the Web Interface Backup Zip
|
||||||
|
|
||||||
|
1. If needed, install Lidarr using using the [[#Installation]] section above
|
||||||
|
2. Log into Lidarr and navigate to System =>Backup
|
||||||
|
3. Select Restore Backup
|
||||||
|
4. Choose File
|
||||||
|
5. Select the backup zip file
|
||||||
|
6. Select Restore
|
||||||
|
|
||||||
|
## Restore From a Command Line Backup
|
||||||
|
|
||||||
|
1. If needed, install Lidarr using using the [[#Installation]] section above
|
||||||
|
2. Stop Lidarr by either logging into Portainer or by executing the following command from a terminal on Media-PC
|
||||||
|
``` bash
|
||||||
|
sudo docker stop lidarr
|
||||||
|
```
|
||||||
|
3. Issue the following commands to delete the existing data and restore the data from the backup.
|
||||||
|
``` bash
|
||||||
|
sudo rm -r /home/mattspeer/docker/lidarr
|
||||||
|
sudo unzip /mnt/5TB-Disk1/backup/server/lidarr/lidarr_backup.zip -d /home/mattspeer/docker/lidarr
|
||||||
|
sudo docker start lidarr
|
||||||
|
```
|
||||||
15
docker-compose.yaml
Normal file
15
docker-compose.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
lidarr:
|
||||||
|
image: lscr.io/linuxserver/lidarr:latest
|
||||||
|
container_name: lidarr
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=America/Chicago
|
||||||
|
volumes:
|
||||||
|
- /home/mattspeer/docker/lidarr:/config
|
||||||
|
- /srv/music:/music #location of music library
|
||||||
|
- /downloads/complete/music:/downloads/music #location of sabnzb output
|
||||||
|
ports:
|
||||||
|
- 8686:8686
|
||||||
|
restart: always
|
||||||
Reference in New Issue
Block a user