Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENT-10481: Added ability to enable backup archives during policy update (3.18) #2704

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

nickanderson
Copy link
Member

No description provided.

By default CFEngine creates backups of files when they are modified. These
backups are created by default in the same directory as the file that changed.
Files in $(sys.inputdir) are affected by this as well, but the default policy
update and sync settings result in these backups being culled since they do not
exist at the distribution point.

This change adds the capability to enable backing up files that change in
$(sys.inputdir) to a single location.

Note: A similar setting already exists that applies to promises.cf (normal agent
runs). But it seems undesirable that the same configuration applies to the
update policy, resulting in backups of all changes to policy locally on the
host, hence the introduction of this new configuration option.

Ticket: ENT-10481
Changelog: Title
(cherry picked from commit 45a9fab)
@nickanderson nickanderson merged commit 1b6b21f into cfengine:3.18.x Aug 22, 2023
@nickanderson nickanderson changed the title ENT-10481: Added ability to enable backup archives during policy update ENT-10481: Added ability to enable backup archives during policy update (3.18) Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant