Forum: Cfengine Help
Subject: Re: copy file from A to B only if it is not present in C
Author: erik
Link to topic: https://cfengine.com/forum/read.php?3,21342,21352#msg-21352

neilhwatson Wrote:
-------------------------------------------------------
> Assuming A is the master then why not have a
> promise for B and a promise for C to each match A?

Unfortunately A is not the master, this is a backup scenario where 
C is my laptop-homedir
A is remote backup on fileserver which does a one-way sync from C
B is local backup of files from C modified last month
The issue Im trying to address is:
If I delete an old file by accident from C, then I want to copy that file from 
A to B, before I do the one-way sync (copy with purge) from C to A

/Erik

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to