Description #
The keep-all cleanup rule is a rule used implicitly when no
other cleanup type is provided. When this rule is used, no backups will be removed from the remote.
It can also be specifically defined using an empty json object: {}.
Configuration #
{
"cleanup": [
{
"name": "myKeepAllRule",
}
],
"remotes": [
{
// will use the none cleanup implicitly
"name": "remote-without-cleanup",
// ...
// "cleanups" is not defined
},
{
// will resolve as the none cleanup
"name": "remote-with-inline-none-cleanups",
// ...
"cleanup": {}
},
{
// will resolve as the global myKeepAllRule cleanup
"name": "remote-with-global-none-cleanups",
// ...
"cleanup": "myKeepAllRule"
}
]
}
Available configuration options #
name #
- required (when defined globally)
The name of the cleanup. This has to be a valid identifier.