No, should be fine. Unrelated to /var/snd, if you use Rsync with
--delete and the directory names change it won't delete the differing
directories which is kind of annoying.
E.g.
Master:
Folder 1 with a new name
-- File 1
-- File 2
Slave:
Folder 1 with old name
-- File 1
-- File 2
You end up with:
Slave:
Folder 1 with old name
-- File 1
-- File 2
Folder 1 with a new name
-- File 1
-- File 2
Probably unnecessary for Rivendell but if you want master -> slave near
"realtime" replication Syncthing works really well. Just remember to
set your master folder as a master in the settings so that changes on
the slaves aren't replicated.
It does have overhead as it hashes all the files but it also means it
can instantly copy duplicates to different directories by using files it
already has (even partial blocks which is obviously quite rare in audio).
Wayne Merricks
The Voice Asia
On 08/10/15 15:55, Tom Van Gorkom wrote:
If anyone is out there and knows better on this than me...
I have been puzzled by why I could not get rsync to delete when using
the --delete option. I learned that if you use /*.wav that the
destination will not delete its extra files (as used in the Rivendell
rd_audio_sync script). If I remove that from the string, it deletes
like expected.
Examples:
rsync -av --delete master::rivendell/*.wav /var/snd.standby
The above copies all the files from master to standby fine but will
not remove any files in standby that do not exist on the master,
whereas the following does because it requests the whole directory,
not individual files:
rsync -av --delete master::rivendell/ /var/snd.standby
Is there any danger or undesirable consequences to replicating like this?
Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427
Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev