Added composition.printAllSyncingHosts() to remove hard coded file dependencies and renamed composition-sync-hosts to zfssync-hosts

This commit is contained in:
m8in
2026-06-24 22:49:16 +02:00
parent 423d1c38e9
commit 8a4426961c
4 changed files with 27 additions and 12 deletions
+2 -2
View File
@@ -207,9 +207,9 @@ function receiveOnceSingle() {
function usage() {
echo
echo 'Commands:'
echo ' --loopAll : This will start one screen session per composition ("composition-sync-hosts"),'
echo ' --loopAll : This will start one screen session per composition ("zfssync-hosts"),'
echo ' and run the sync process in an endless loop.'
echo ' --onceAll : This will run the sync process once for each composition ("composition-sync-hosts").'
echo ' --onceAll : This will run the sync process once for each composition ("zfssync-hosts").'
echo ' e.g.: you can use it in crontab as a daily backup.'
echo ' --loopSingle COMPOSITION : This will run the sync process in an endless loop but just for the specified COMPOSITION.'
echo ' --onceSingle COMPOSITION : This will run the sync process once just for the specified COMPOSITION.'