Moved the Guide to the Guides section:
Rsync two OMV machines
(There is just the guide, Questions / Problems / Diskussions can continue here)
Moved the Guide to the Guides section:
Rsync two OMV machines
(There is just the guide, Questions / Problems / Diskussions can continue here)
Nice one JanN!
Do you mind adding this to the Guides-Subforum?
I thought it should be added too Solo.
Thx
Btw: Wheres the "Like" button? I have only "dislike"
Hi, thanks for this guide
I have 2 questions :
- Is it possible to use RSync with 2 OMV machines on differents sites (WAN) or only a the same site (LAN) ?
- Is it possible to add data to machine A with an external HDD, add the same data with the same external to machine B and use RSync to be sure all is sync ?
Thanks !
@WastlJ
Many thanks for this teamwork !
@NicCo
Generally Rsync also works over WAN.
I would guess, that you have to create two modules on A and two jobs on B when you want to rsync two sources with two targets - just try it ;-). Don't let the two jobs run at the same time - they would have to share the bandwidth...
Edit: If you only want the external disks to be rsynced, one module and one job is enough. You just have to share the external disks or directories on them instead of the internal disks or directories on them.
BR
Jan
I have two raid arrays in two servers replicated using RSync. it works fine. My question is that is there anyway to replicate the omv system configurations (config files etc..) so that users, groups, acl etc too will be identical?
Cheers
PS: I find that pulling data is less prone to errors than pushing....i dont know whether i am right
Hi JanN,
thanks for th "How to ..."
Could you please give some expalantion of "modules" in rsync?
Thanks
Macom
Could you please give some expalantion of "modules" in rsync?
Modules in rsync are the equivalent of shares in Samba.
Modules in rsync are the equivalent of shares in Samba.
Many thanks, Aaron, i couldn't have explained it better or more precise on the point
BR
Jan
Yeap, thank you all. Got it running
Hello to this helpfull community.
I have searched the Forum but didn't find an answer and I hope this thread is the right one.
I have to servers, one productive server and one backup server, both with omv. Is there a way to set up a differential or incremental backup via rsync? In Detail I want to realise this as follows:
- weekly full backup
- every 6 hours incremental backup
- separate folder for each backup, e.g. /weekly/week01 ... week52 and /daily/20151116-1500 and so on.
Thank you in advance for your help.
I have searched the Forum but didn't find an answer and I hope this thread is the right one.
I don`t believe that you really have searched seriously ;-). Take a look at rsnapshot...
BR
JAn
I think what he is looking for is to have the weekly backups, differential, and incremental snapshots rsynced to the backup server from his production server. The Rsnapshot plugin only does it locally.
I think what he is looking for is to have the weekly backups, differential, and incremental snapshots rsynced to the backup server from his production server. The Rsnapshot plugin only does it locally.
Thank you. That is exactly the point.
Zitat von shadowzero: „I think what he is looking for is to have the weekly backups, differential, and incremental snapshots rsynced to the backup server from his production server. The Rsnapshot plugin only does it locally.“
Thank you. That is exactly the point.
Try the remoteshare-plugin
BR
Jan
Still no reply after 3 days? Is this a real forum?
A friend and I set up a remote Rsync between his media server and mine. His server isn't OMV, mine is. We used Rsync via ssh key. Created a public Ssh key on my machine first. Kind of weird, but apparently OMV is creating it's own version of that kind of key in .ssh folder and it works only if you copy that version manually onto the machine of the said friend. That said, after we hacked that key, replication worked fine. BUT: after some copying overnight, OMV isn't recognizing the files any more as it's own (exactly like when you copy the files manually on a HD bypassing OMV). So the files are there. I can see them via Thunar file browser, but I can't play back a music file for instance with VLC mediaplayer on another old linux PC (which servers as my mediaconsole). Any thoughts on both issues please: why need I to manually copy a ssh key? And why is OMV not identifying the synced files as it's own?
How do the time settings work, when I switch on the hour parameter and set is to 15, does is syn every 15 hours from then, of at 15:00 ?
how do set a sync which has to run every day on 15:00 ?
I also would like some explanation of the rsync job time settings. I created two jobs to replicate data locally yesterday. They appear to have run today even though they do NOT show up under scheduled jobs. Are they actually set to run every N hours? I want them to run once a day at a specific time. Looking under crontab I see no jobs so am wondering how OMV is handling this?
I am on 3.0.54 (erasmus)
P.S. I cant seem to find any settings to limit the logging to only what has been transferred/deleted. The run shows 29k folder names! Has anyone figured this out? Thanks..
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!