Rsync state.
New in version 2016.3.0.
salt.states.rsync.synchronized(name, source, delete=False, force=False, update=False, passwordfile=None, exclude=None, excludefrom=None, prepare=False)¶Guarantees that the source directory is always copied to the target.
| Parameters: |
|
|---|---|
| Returns: |
/opt/user-backups:
rsync.synchronized:
- source: /home
- force: True