Very interesting, thanks! The 2 partitions on the SD card is a good idea.
Seems like there's 2 general schools of thought around here about disaster recovery:
- Just keep Cloning SDs, when one dies pop in a new one.
- Backup OS files (to safe location) for
Yes, like this
sudo fsarchiver -v -Z8 -j4 savefs /home/macom/Documents/NAS/Odroid_20200306 /dev/sdd1 /dev/sdd2
sudo fsarchiver -v -j4 restfs /home/macom/Documents/NAS/Odroid_20200306.fsa id=0,dest=/dev/sdd1 id=1,dest=/dev/sdd2
I have two…
I don't clone directly to another drive. I use dd to write an image of the drive to file. If I need to restore from that image it is to another identical 16BG SSD. But if I was going to clone drive to drive it would be to the same 16GB SSD.
I'm at 8.7 GB for the rootfs with no swap. This is an OMV 5 that has been upgraded repeatedly over a five year period. OMV 2 -> OMV 3 -> OMV 4 -> OMV 5.
Surely there is some cruft, and I have added some packages over the years. The drive is 16GB SSD so I…
Poor title sorry.
Understanding that any OMV install will likely have growth etc., I'm trying to harmonize my OS image backups for a variety of SD cards and also reduce the time for backups. Let's say my minimum card size is 16GB (I know that actual size…
Yeah, I cloned just before I installed Docker so I'll have to reclone here after all this.
my OCD got the best of me so I ended up changing the directory, (re)installing docker and Portainer, deleting the old folders, and then recreating the PMS…
Of course it is possible to fix. But it is a proper mess to get right.
When I messed up as you have done, I just did a fresh reinstall. And got it right, without any errors or mistakes at all. But it took a few tries.
Then I cloned the root filesystem. So…
That won't allow me to brows to the correct location. Let me add some pics.
I accidentally created a folder in /srv/dev-by-label instead of /srv/dev-disk-by-label.
If I wasn't dreading finding a way to move my docker storage to correct this I'd do that…
I accidentally created a folder in a location /srv/dev-by-label-[name]/folderName [This became my docker storage location so that is going to be a pain to change].
Creating file shares using relative path defaults to /srv/dev-disk-by-label-[name].
(Quote from m4tt0)
Installation and Setup Videos - Beginning, Intermediate and Advanced
scroll down a few fids
Thank you both, this was extremely helpful! Docker all installed. thanks!
Reacted with to ryecoaaron’s post in the thread OMV 5.x Change Docker folder location before or after install? Best practices please!.Reaction (Post)/dev path is the device path. You don't want to use that. You want to use the /srv path. If you look in shared folders and add the absolute path column, you can see the full path of each shared folder.
(Quote from 22/7)
so would my path then be:
?? sorry for the dumb questions.
Reacted with to 22/7’s post in the thread OMV 5.x Change Docker folder location before or after install? Best practices please!.Reaction (Post)In my install:
You would find this information in your disks section of the web gui.
The [disklabel] is what your disk is called and the nameofDockerFolder is whatever you want the folder to be called.
Reacted with to 22/7’s post in the thread OMV 5.x Change Docker folder location before or after install? Best practices please!.Reaction (Post)Before I installed docker I changed the docker storage path to a folder in one of my mounted drives.
The folder did not need to be a shared folder.
The docker install created the folder I specified in the location and the permissions were set.
I would say…
ok that's great to know.
I'm a total dummy here, so how did you specify the full name of the folder?