Skip to content

Add functions to manage file backups#6376

Merged
techhat merged 4 commits intosaltstack:developfrom
terminalmage:issue6322
Jul 27, 2013
Merged

Add functions to manage file backups#6376
techhat merged 4 commits intosaltstack:developfrom
terminalmage:issue6322

Conversation

@terminalmage
Copy link
Contributor

This pull req adds three new functions to interact with files backed up by Salt: file.list_backups, file.restore_backup, and file.delete_backup. Documentation for this feature has also been added to the page describing how to use salt to backup files overwritten by file states.

Fixes #6322.

This commit adds a function that will list the available backups for a
given path.
These functions allow you to restore a backup found with
file.list_backups, as well as remove unwanted backups.
techhat added a commit that referenced this pull request Jul 27, 2013
Add functions to manage file backups
@techhat techhat merged commit ed29fa1 into saltstack:develop Jul 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature request: rollback a file managed by Saltstack

2 participants