Backup Your Docker Server NOW! - Setup and Configure Duplicati

preview_player
Показать описание
In this video we're going to take a look at backing up our Docker server. In order to run our backups we're going to use a Docker container called Duplicati.

We're actually going to setup and run 2 backups in this video. The first will be a local backup on an extra hard drive. The second backup will be a remote backup using a 3rd party service like Google Drive.

We will cover how to RESTORE your backups in a follow-up video. It would have made this video too long and would have tried to cover too many topics for a single video.

Here are some things to consider:
- You MUST use a separate drive for your backups. You don't want your backups to be on your main drive. If that drive fails you will lose your in-use data AND your backup data. USE A SEPARATE DRIVE.
- Your separate drive should be AT LEAST as large as your Docker drive. You can't backup a 2TB drive to a 500GB drive. So make sure your backup drive is larger.
- Normally we don't run containers as root with PUID and PGID, but we're going to run this container as root to help ensure no permissions issues with any part of the process.
- You can mount as many volumes as needed to make sure all of your different folders are backed up.

More OpenMediaVault 5 tutorials here:

/=========================================/

Remember to leave a like on this video and subscribe if you want to see more!

/=========================================/

#DockerBackup #DockerRemoteBackup

Like what I do? Want to be generous and help support my channel? Here are some ways to support:

/=========================================/

Here's my YouTube Merch Store:

/=========================================/

Here's my Amazon Influencer Shop Link:

/=========================================/

Follow Me:
Рекомендации по теме
Комментарии
Автор

I love this. You have been on a roll lately rounding out the larger picture of self-hosting. Great work.

GlenBland
Автор

Thank you!! I tried so hard to setup duplicati today, but it gaved me always a permission error. Setting "0" and "0" for PUID and PGID was and absolute game changer. I had no idea that root have this values. Thank you, from Italy!

ranieri
Автор

This is great, it worked like a charm for me. Using it to back up the containers running on my PI.. I’m on my running a handful of containers on the device so it’s easy for me to shutdown the containers before creating a backup. All of my other containers are running on a VM so it’s easy to back those up using snapshots. Thanks for making another incredibly useful and helpful video.

jig
Автор

great video, watching you from Bogota, Colombia. Thanks for all the effort

leoprisionero
Автор

Fantastic tip for backup. I really like your videos.

jccdsantos
Автор

Cool & Fantastic Video.Thanks for sharing.

masterhifi
Автор

Thank you! This will make my life so much easier.

andrut
Автор

Great video - Thanks! I was hoping you'd cover automated backup of docker volume data though. Hard topic to find clear guidance on

yachalupson
Автор

I like your content. Thank you for great work.

hamhumtube
Автор

Hi. This question would apply to all of your docker how-to's: in OMV with Portainer have you been able to map a volume with a bind mount to a share on a windows server (via OMV remote mount to a CIFS) with rw permissions? There are lots of videos talking about doing that from docker on linux to a linux server, but can't find anything on doing it to a windows server. Getting read permissions seems to be easy, getting rw not so much. Maybe a good video topic?
Thanks!

Dan-gyjt
Автор

i like this approach much more than suffering with cli tools (like rsync) and afraiding to make some typo in file paths or so.

deviantstudio
Автор

There is also a "native" OMV plug-in I used called "USB backup", that is pretty efficient because it compares the changes between the data on the OMV and on the backup storage.
I wonder if Duplicati is simply a much more advance backup solution, or is there still any use to use this plug-in (maybe because of the beforementioned efficiency perk)?
As i understand, duplicati just copies the full backup everytime?!

TimothyApe
Автор

If I am understanding correctly, you are backing up only the volume used for the docker container data. Do you use this application to backup your main nas shares?

dnullify
Автор

Thanks, this seems better then je built in backup from omv itself. But this is only the container data, how to backup the container settings themselves? The stacks and configuration? Keep going with the good work

peterfortyseven
Автор

Nice video. I'm curious if it's better to backup all docker apps in a single backup job, or make an individual job for each app? I figure one big backup job is easier to make, but harder to use if you just want one file from one app. I could be wrong since I haven't even done my first backup, yet!

I like the idea of backing up to the cloud, but just my docker container data is 111 GB, and Google Drive only gives me 15 GB. It isn't going to fit no matter how much I compress it. lol.

majorgear
Автор

I have a question, in your video you have a folder called You set duplicati config to a subfolder called Duplicati and the source as Configs. What is the content of that Configs folder? Is this the stacks maintained by your portainer? I would like to mimic your setup.

mariojau
Автор

Great video! Though I have one question. I have 2 drives attached to OMV. I added extra line with a path for the config folder under the line source for the second drive. Example: What bothers me is that I see that folder in Duplicati but I can't see separate folders inside when I press small triangle icon next to it. I run backup and it does a backup of that folder but when I press restore files I only see complete config2 folder without separate config folders for application data inside, so if I wish to restore only one folder inside I have to restore everything inside which is not very handy cause if only plex config file is corrupted I need to restore every other folder inside (qbittorrent, duckdns....). Can you please tell me how to add that second drive config folder properly? Thanks!

MarinJuracic
Автор

Happy Friday!! Thank you for your video! I have a request if you can make a video about it. How to set up internet radio AzuraCast on Docker on raspberry pi. Thank you in advance.

ckourelas
Автор

What about backing up containers with databases? Shouldn’t we stop the container first? Can we automate this? Thank you.

fabioamado
Автор

Nice video. Do you happen to know how to wake up a NAS from inside the duplicati container (in a script)? There is no such thing in the container as wakeonlan, ping or etherwake.

michaelgaluski