Restore Your Duplicati Docker Server Backups!

  Рет қаралды 10,866

DB Tech

DB Tech

3 жыл бұрын

In this post we'll look at how to restore Docker application backups from Duplicati.
The process is actually pretty straightforward. In this video we'll be using Plex as our example.
I showed Plex up and running and playing media. Then I stopped the container and deleted the data from the server via SSH.
After showing that the server no longer worked, I retrieved a new Plex claim code and updated my Plex stack with it. I then re-deployed the container as a new, fresh application.
Once the container was up and running, I stopped it and then went over to Duplicati where I was able to go to my local backups and restore the application using all of the original file locations.
Make sure you also check the box that mentions file and folder permissions. We want to restore those permissions as well.
Once that process was complete, I restarted the Plex application in Portainer and went back to my Plex dashboard. The old server was still showing up, but we couldn't access anything. There was also a NEW server showing up that had all of my media ready to go just like it had been prior to me deleting the data.
More OpenMediaVault 5 tutorials here:
• Openmediavault 5 (OMV5...
/=========================================/
Remember to leave a like on this video and subscribe if you want to see more!
/=========================================/
Like what I do? Want to be generous and help support my channel? Here are some ways to support:
Patreon: dbte.ch/patreon
Ko-fi: dbte.ch/kofi
/=========================================/
Here's my KZbin Merch Store:
dbte.ch/ytstore
/=========================================/
Here's my Amazon Influencer Shop Link:
Amazon: dbte.ch/amazonshop
/=========================================/
Follow Me:
Twitter: dbte.ch/tw
Facebook: dbte.ch/fb
Subscribe: dbte.ch/ytsub

Пікірлер: 73
@Vidyalog
@Vidyalog 3 жыл бұрын
Hey sir, I want to say you are a life saver, I was looking for something like this and you just give me a extremely well explained solution, thank you very much for this video, you just got a subscriber here!
@DBTechYT
@DBTechYT 3 жыл бұрын
Glad to hear that
@omerbustun
@omerbustun 3 жыл бұрын
Thank you for these Docker videos.
@DBTechYT
@DBTechYT 3 жыл бұрын
Glad you like them!
@ewfzappadis
@ewfzappadis 8 ай бұрын
Thank You from France, man, you're the best
@ewfzappadis
@ewfzappadis 8 ай бұрын
Have you done a video on how to backup synology's docker containers, in order to restore it on New SSD?
@DBTechYT
@DBTechYT 8 ай бұрын
I have not
@ewfzappadis
@ewfzappadis 8 ай бұрын
@@DBTechYT ok thanks. Do you have somme tips? I have a DS716+ and soon i'm gonna change my two HDD's for 2 ssd's. I have already backed UP all of m'y datas and parameters, but i don't know how to transfer my docker to the ssd's...
@DBTechYT
@DBTechYT 8 ай бұрын
SO you don't actually back up the containers. You back up the data in them. So, if you have the data in the containers backed up, then you're good to go. Swap out the drives, reinstall the containers. Then shut down the containers. Then replace the newly create data with the data you've got backed up. Then start the newly created containers with the "old" backed up data.
@ewfzappadis
@ewfzappadis 8 ай бұрын
@@DBTechYT ok. Thank you for the answer... I will test it as soon as i receive thé ssd's. You're thé best...
@ICH42
@ICH42 3 жыл бұрын
Cool Video, I was wondering do you have any experience with backing up & restoring data from a database, e.g. from a mariadb container and its volume?
@lancecarter7054
@lancecarter7054 2 жыл бұрын
Thank you so much for the video and the previous one on how to set it up. I did have a question. My understanding is that you backup the files in "source" folder to "backup" folder on local drive. Then you backup the "backup" folder to cloud. Is there specific reason that we don't back up files directly to cloud? Also, for instance, let's say if my house burned down and all my local file got destroyed. Does this mean I need to first restore cloud backup to "backup" folder and then use the restored file in "backup" to restore local files? Like a pipeline
@DBTechYT
@DBTechYT 2 жыл бұрын
You absolutely could just back up straight to the cloud if you wanted. I like having multiple copies of my data, so I did a local backup and then a cloud backup.
@robertarose2626
@robertarose2626 3 жыл бұрын
Excellent video as always. How do you recommend backing up the actual data? In your example it would be the movie files for Plex...do you have a video for that? Would you suggest using Duplicati for this? Thanks!
@DBTechYT
@DBTechYT 3 жыл бұрын
It would be the same process. Just mount an additional folder for your media, but make sure your remote storage has enough space for things like movies and tv shows. I periodically just manually copy my media from my server to an 8tb external drive on a different system so I have local backups of everything in my media folders.
@dubas1974
@dubas1974 Жыл бұрын
Thanks. What if you lost your docker server and had to restore that? Would you just build the container structure again then do a restore for the container data like in this video? You only showed deleting the the data store but what if your container in portainer got nuked?
@junny2233
@junny2233 2 жыл бұрын
Im inspired now to do this but i have a question could i backup using this method then wiped the server to install OMV and then setup docker and restore the remotely backup? If that even possible
@selfhosted
@selfhosted 3 жыл бұрын
Very cool! This seems too easy! I was using hyper backup on my nas but would be good to have a cloud option like drive. I may give this a go thanks!
@DBTechYT
@DBTechYT 3 жыл бұрын
Honestly I was having anxiety about this 2 part video series, but it turned out to work pretty well once I got my head wrapped around how it worked :)
@selfhosted
@selfhosted 3 жыл бұрын
@@DBTechYT anxiety is a normal day for me. It’s been killing me lately. That’s why I’m not making videos. I have 0 energy because of high anxiety everyday.
@DBTechYT
@DBTechYT 3 жыл бұрын
@Geeked I sent you a DM on Discord
@andrewpndavies
@andrewpndavies 3 жыл бұрын
HI - just posted on the previous Duplicati video - similar question though - can this work with Docker volumes and does it matter if it is a Bind mount or a Volume? Thanks -
@DBTechYT
@DBTechYT 3 жыл бұрын
I'm not sure if it matters. Definitely worth trying both methods and seeing.
@jorgegomez374
@jorgegomez374 3 жыл бұрын
Great as always. Your point of view, have on a rpi4, nginx, duplicati,cloud flare dns,wordpress, synching,nextcloud, transmission. And what roads more containers like home assistant that right now is working on a separate pi. I have an old g5 mac pro Intel processors. Thinking of using it has a server for more applications that need the horse power which will you think I should move? Thank s
@DBTechYT
@DBTechYT 3 жыл бұрын
Great collection of apps you have there. The thing is that none of those apps really require much in the way of power. Some of the may use quite a bit of bandwidth, but the Pi4 has a 1Gb ethernet connection, so you won't get much improvement by moving to an older mac. If you decide to setup a media server, I would definitely consider the mac for that.
@jorgegomez374
@jorgegomez374 3 жыл бұрын
@@DBTechYT thanks
@vgamesx1
@vgamesx1 3 жыл бұрын
That mac is a bit old so it's going to be fairly power hungry even doing nothing, so I wouldn't recommend using it regardless, if you decide you want an upgrade I advise using an old laptop, you can get them for around the cost of a rpi and even a very old sandy bridge or core 2 series shouldn't consume more than about 30W, you might even be able to find one for free if you look on Craigslist, a friend/family member may have kept one, as well as businesses throw out old computers all the time.
@jorgegomez374
@jorgegomez374 3 жыл бұрын
@@vgamesx1 thanks
@tomaszklimczak5706
@tomaszklimczak5706 3 жыл бұрын
Great as always. One question how restore Duplicati container from scratch without Duplicati?
@ltjojo5393
@ltjojo5393 3 жыл бұрын
Most likely, download the new Duplicati container, and overwrite the docker-compose.yml with the one from a backup.
@betogamer08
@betogamer08 7 ай бұрын
Do you know any way to backup a full windows system (all partitions) and deploy this image to multiple systems. I mean a kind of server client tool, hopefully with AD tools to auto join domain and tools like that?
@idriskautsar757
@idriskautsar757 Жыл бұрын
you save my live sir, thank you, but i have a question.. if the original server already corrupt, and duplicati run the backup job for that server, that's mean duplicati save the corrupt server ? if yes, how we can prevent that ?
@girl-with-many-questions2659
@girl-with-many-questions2659 2 жыл бұрын
Regarding the latest (as of June 2022) Windows version of Duplicati. We can't find "full file backup", "incremental file backup", "differential file backup", "full image backup", "incremental image backup", and "differential image backup". (Some pretty simple, basic features that are available in MANY backup tools.) Are they not available in Duplicati? Or just very well hidden? We are looking for a replacement for our current UrBackUp server... and thought Duplicati would be a good choice... but it just seems like a huge "loss of functions" if we switch.
@RameshKumar-rt8xb
@RameshKumar-rt8xb 2 жыл бұрын
Is it possible to restore that backed up data to some other particular machine
@myozone
@myozone Жыл бұрын
I guess for a total backup a clone (Proxmox) is the only way to go. Would the Duplicati way work for a total failure meaning everything gone on the docker/Portainer server and new install.
@maxcharacterlimitreache-
@maxcharacterlimitreache- 3 жыл бұрын
Thanks for the video but my question is: how will duplicati work if the os disk completely fails? I followed your first part of the duplicati installation but if my SSD with the operating system fails what can I do?
@DBTechYT
@DBTechYT 3 жыл бұрын
You should always have a backup. Then, when your OS drive fails, you reinstall your OS, Docker, Portainer, etc. Install your containers and then re-deploy your backup files over the newly installed containers.
@maxcharacterlimitreache-
@maxcharacterlimitreache- 3 жыл бұрын
@@DBTechYT ok so there is not a way of having an image of the complete os disk periodically saved? Like an .iso to etch in a new drive and pop in? I saw something about Clonezilla in the omv-extra menu but didn't understand it (I used Clonezilla once many years ago to switch from an hdd to sdd in a laptop)
@squalazzo
@squalazzo 3 жыл бұрын
thanks!
@DBTechYT
@DBTechYT 3 жыл бұрын
Thanks for watching!!! Much appreciated :)
@ronm6585
@ronm6585 3 жыл бұрын
Thanks.
@DBTechYT
@DBTechYT 3 жыл бұрын
Thanks for watching and commenting on so many of my videos lately! Much appreciated!
@mattheww797
@mattheww797 3 жыл бұрын
I had duplicati installed but i didnt usw it becauase i didnt really know how till now. My question/issue now is if this will work with something like nextcloud that uses a mariadb. I would like to move my nextcloud to a new server but i havent figured out how yet.
@DBTechYT
@DBTechYT 3 жыл бұрын
You just have to make sure to map a directory in your Duplicati stack to where you store your databases
@mattheww797
@mattheww797 3 жыл бұрын
@@DBTechYT Thanks for the tip. I will try this.
@MarinJuracic
@MarinJuracic 3 жыл бұрын
Hi, great video. I've got one question. If I delete container and stack of plex can I just go to duplicati and restore plex backup. Will it recreate container back by itself wothout copying claim server code? Thanx
@DBTechYT
@DBTechYT 3 жыл бұрын
That's not how Duplicati works. You have to install the Application first and then restore your Duplicati data on top of it.
@MarinJuracic
@MarinJuracic 3 жыл бұрын
@@DBTechYT Thanks DB, your tutorial for OMV projects are great, I mean the best out there, fast, brief and easy understanding. I built all containers plex, duckdns, qbittorrent.... with your help. Is there a way how to backup our containers and restore them if they break? If there is it could be your next tutorial😉. Keep up the good work, cheers!
@MarinJuracic
@MarinJuracic 3 жыл бұрын
@@DBTechYT Just one more thing to check if I understood you correctly. So in following scenario I delete plex container. I rebuild it manually from scratch. After I go to duplicati and I restore my backup plex folder. Will I have plex running same as before without setting it up again?
@DBTechYT
@DBTechYT 3 жыл бұрын
"I rebuild it manually from scratch. After I go to duplicati and I restore my backup plex folder. Will I have plex running same as before without setting it up again?" ^^That's correct
@MarinJuracic
@MarinJuracic 3 жыл бұрын
Hi DB once again. I have a situation here. I deleted plex container and tried to restore plex config folder with duplicati. It throws me an error 'warning while running backup Got 3119 warnings'. Did everything as you in video. Any idea what went wrong. Thanx
@DBTechYT
@DBTechYT 3 жыл бұрын
Did you run the Duplicati container with root privileges? (PUID=0 PGID=0)
@MarinJuracic
@MarinJuracic 3 жыл бұрын
@@DBTechYT well when I made a stack I put zero value under PGID & PUID. I restored pi hole which was also inside config file with no issue but for some reason plex throws this error. Any suggestions? Sorry for bothering.
@MarinJuracic
@MarinJuracic 3 жыл бұрын
@@DBTechYT hi David. Maybe if I delete whole Plex folder and then do restore with Duplicati, will that solve the problem of restoring files? Thanx
@sammas3179
@sammas3179 3 жыл бұрын
why do you use the dev-disk-by-label folders in your /srv instead of creating a folder for every project/container
@DBTechYT
@DBTechYT 3 жыл бұрын
That's where I've decided to store my containers' config folders so that they're all in a central location. Each container gets its own sub-folder in there. For instance, here is the location of 3 of my containers' config folders: /srv/dev-disk-by-label-Files/Config/Chevereto /srv/dev-disk-by-label-Files/Config/PiHole /srv/dev-disk-by-label-Files/Config/QBittorrentVPN
@sammas3179
@sammas3179 3 жыл бұрын
@@DBTechYT Thanks for the explanation. This video got me inspired for making backups of my own server. I now also use Duplicati to make backups and also use the srv folder. I do it as follows, every container has a subfolder in the srv folder where all their volumes are mounted, so not only the configs by also for instance the MySQL data is stored. This way I only have to add one (or maybe two for multiple backup locations) backups to duplicati with the entire srv folder.:)
@MarinJuracic
@MarinJuracic 3 жыл бұрын
Hi to all. I'm able to restore every config file from various applications (duckdns, pihole..) except plex. It throws errors and unable to restore. I had 3 backup versions, tried each of them same thing happens. Thanx
@DBTechYT
@DBTechYT 3 жыл бұрын
Are you asking a question or making a statement? Either way it seems that there was something wrong with the way you backed up your Plex setup.
@MarinJuracic
@MarinJuracic 3 жыл бұрын
@@DBTechYT sorry not making a statement, everything is working flawlessly except plex. I have no idea how could that particular folder be backed up in a wrong way cause I backed up complete config folder, where all the data of all containers are. Nevermind probably something went wrong I just wasn't sure if there was some solution to fix this that's why I was asking. Your tutorials are great!
@ronald0122
@ronald0122 3 жыл бұрын
what if your complete omv server/computer crashed?
@DBTechYT
@DBTechYT 3 жыл бұрын
Then you install the apps and then restore the backup data over the install data like I show in this video.
@ronald0122
@ronald0122 3 жыл бұрын
@@DBTechYT this still works if the version of the docker container differs?
@KronosaurusRex
@KronosaurusRex 3 жыл бұрын
Let’s say you start with a fresh install, how do you recover your duplicati container to then recover everything else?
@DBTechYT
@DBTechYT 3 жыл бұрын
You just install duplicati and connect wherever your backups are and then restore that. There's also an option to backup and restore your duplicati settings for this kind of thing
@KronosaurusRex
@KronosaurusRex 3 жыл бұрын
Oh didn’t think it was that easy. Thanks for your time, and as always great vid. I’ve set my docker thanks to you almost on exclusive.
@StriffeAngel
@StriffeAngel 3 жыл бұрын
@@KronosaurusRex Second that, i've configured my whole OMV5 Server thanks to this Channel alone.
@streambarhoum4464
@streambarhoum4464 Жыл бұрын
How to that using rsync with crontab And docker-compose? Without the need of omv and duplicati. (just In a professional way 😉) 😊✨🤩 could you please do video on that?
@PtR-ec1wz
@PtR-ec1wz Жыл бұрын
Might want to make a note when your docket dies with duplicati on it. You’d have to restore duplicati somehow first.
@DBTechYT
@DBTechYT Жыл бұрын
You would reinstall your docker setup including ALL of your containers (and duplicati) and then import your backed up data to get back to where you were. That's how Duplicati works.
@NovaCayn
@NovaCayn Жыл бұрын
Hard to follow when I am not using docker on my OMV. My docker is on my Debian 11 server and my OMV (backup solution) is on a different area of my network. If I had everything in one location like you have then I would be fine. Good tutorial but not helpful for me.
@shipd4646
@shipd4646 3 жыл бұрын
Hi
@DBTechYT
@DBTechYT 3 жыл бұрын
Hi
Self-Hosting & Home Server Security Tips
19:17
DB Tech
Рет қаралды 38 М.
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 26 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 24 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 168 МЛН
Best operating system for Servers in 2024
11:41
VirtualizationHowto
Рет қаралды 37 М.
Wooting responds to Razer's cheating keyboard.
5:01
optimum
Рет қаралды 45 М.
Export Docker Container Settings as Docker Compose Stack
8:12
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 720 М.
Migrate Docker Volumes from one Host to another // backup and restore
8:56
Home Server Setup - Turn your old PC into a useful home server
23:55
You want a real DNS Server at home? (bind9 + docker)
32:31
Christian Lempa
Рет қаралды 248 М.
Cloudflare - FREE Additional Security For Your Home Server!
21:21
How To Setup MacVLAN in Portainer
13:47
DB Tech
Рет қаралды 48 М.
Сколько реально стоит ПК Величайшего?
0:37
Худшие кожаные чехлы для iPhone
1:00
Rozetked
Рет қаралды 1,4 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,1 МЛН
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 3 МЛН