Some features of Backupr are stateful (e.g.: cleaning up old backups).
To manage state between runs, Backupr uses a state file stored using a remote configuration. Configuring this is optional, however some features may not work without it.
Configuration #
{
"state": {
"remote": {
"type": "LOCAL",
"location": "/foo/bar"
}
}
}
{
// or reference using a named remote
"state": {
"remote": "otherRemote"
},
"remotes": [
{
"name": "otherRemote",
// ...
}
]
}