Not sure if this is in the right place but here goes.
Can I have two separate omv installs on two separate storage servers so one can be synced to back up to the other?
James
Two omv's
-
- OMV 4.x
- Currymunster
-
-
Yes, most certainly. I have several, in pairs, like that. Works great! I recommend it!
The first in the pair is sharing data, the second is just used for backup. Both are connected to a network switch and the rest of the network.
There are several options on how to connect them. You can use SSH, or rsync daemon or SMB/CIFS. And/or the remote mount plugin.
I use autofs and nfs. It took quite a bit of figuring out how to do it right, but I did that at least 10 years ago. Now I just enable nfs, install autofs, create /srv/nfs and copy and paste the correct configuration files for autofs into /etc and then all my NAS are connected to each other. And by using autofs, the connections are "self healing" if one server is rebooted.
To do the actual copying I use rsync snapshot scripts that I wrote myself. I've been doing this a long time and the scripts I use have kept improving. Now it creates time stamped snapshots and automatically purge old snapshots in order to keep a certain number of daily, weekly and monthly backups. The scripts are run daily using cron. The rsnapshot plugin does something similar.
It is possible to do this with two identical servers. That way you not only have backups of the data, but also hardware redundancy. But you can also have a very powerful server for sharing and running dockers and what not, and a much simpler and cheaper backup server. A Raspberry Pi 4 can make a nice backup server.
The main problem is that backups over the network are much slower than between two HDDs in the same server. But by using rsync you can setup things so that only modified, moved or added files need to be sent over the network. But if you have a lot of data to backup, during the first backup everything needs to be copied. That can take many hours or even days. You can cheat and do the first rsync job with both HDDs connected to the same computer. That way the rsync is much faster.
-
Yep, In my case I have a backup server with the same settings, users, permissions, etc., regularly replicating the primary server. If the primary fails, I move to the backup where a second copy of all data resides. There's zero down time.
-
As Adoby wrote there are many possibilities. Here is described one:
Rsync two OMV machines -
Thanking you very much.
My wife lost an excel document for some reason. It saved it blank.
I think it had something to do with Windows complaining about low virtual memory. Hard disk full due to Windows backup. Fixed it now. Was thinking about two disks. One to sync and one daily? -
For backup of clients (Windows and Linux) I use UrBackup.
Very nice tool.
You can keep several backups from the past without using much disk space as only changed files will use disk space. Unchanged files are just linked. -
For backup of clients (Windows and Linux) I use UrBackup.
Do you run UrBackup in docker? Cause I've tried that the last 3 days and wasn't able to connect my clients (server on the HC2).
-
No, I run it as plugin on OMV4.
-
k
-
Cause I've tried that the last 3 days and wasn't able to connect my clients
Did you check the urbackup forum?
-
Okay,
So I'm thinking of installing cobain backup on my wife's Windows 10 to backup the 4 internal hdds to my omv server.
Then backup to another not yet built omv server.
What I'm after is some kind real time sync plus a daily incase a file gets saved blank again and I need to roll back?
Thanks for your help -
Sure. That sounds like a reasonable plan.
Please report back here on your experience setting up the cobain backup software with OMV and if there were any special problems on the way.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!