Unraid Server Backups Using LuckyBackup
This guide shows you step by step how to back up one Unraid server to another Unraid server using LuckyBackup.

In this guide, we will be backing up one Unraid server to another Unraid server using LuckyBackup. Follow along for a relatively simple and mostly painless install process!
What is LuckyBackup?
LuckyBackup is a very user-friendly GUI backup container that uses rsync on the backend and only transfers over any changes rather than all your data, all of the time.
LuckyBackup Features
- Backup using snapshots
- Various checks to keep data safe
- Simulation mode
- Remote connections
- Easy restore procedure
- Add/remove any rsync option
- Synchronize folders
- Exclude data from tasks
- Execute other commands before or after a task
- Scheduling (cron jobs)
- Tray notification support
- e-mail reports
The Setup
Both the Main Server and Backup Server are plugged into the same 10Gigabit switch. The Main Server is where all of my files, pictures, videos, and ISO’s are; we want to copy those over to our Backup Server just in case something goes wrong. Both servers are running Unraid. The Backup Server has pre-created Shares that are named identically to my Main/Primary Server.
Guide
Unraid Version: 6.9.2
Community Apps Version: 2022.01.02a
This guide assumes you have the Community Apps Plugin already installed.
Main Server Setup
Using the Community Apps Plugin, go ahead and search, download, and install the LuckyBackup container by ich777

LuckyBackup Container Setup
First, in the Docker tab left-click on the luckyBackup container and open a console window. The container should be running/started at this point.

Next, we need to enter the following commands into the Console window:
cat /luckybackup/.ssh/ssh_host_rsa_key.pub

Now, simply mark the whole lines starting from ssh all the way to the last line and click the right mouse button once. Click copy from the context menu to copy the contents:

Mark only until the end and then close the window. Then open up a terminal from your main server with this icon: >_
Type in:
nano ~/.ssh/authorized_keys
In nano, right click somewhere on the black free space and select paste from the context menu:

Next, you have to press on your keyboard: "CTRL + X" followed by "Y" followed by "ENTER" <- this will save the file.
After that, I created a test directory on my main server with a file in it at
/tmp/test/testfile.txt
Then I opened the WebUI from luckyBackup on my test server and created the test sync:

Please note that you have to create the folder in the destination if it does not exist!
I would also recommend clicking "Do NOT create extra directory". Otherwise, you will end up with another folder called test.
Then, I clicked on Advanced and set up the key file:

Please be sure to select this exact file and set it up as source.
Then I selected the sync and clicked start:

Here you can see that the sync from my main server to the test server was successful:

I also made a screenshot where you can see that the test file is now also available in the correct directory on my test server:

What back up solution do you use?
Let us know in the Unraid forums!