# Backup API for Python

Every public class, function and type of the Backup engine in `tinystore`, generated from its source. The [Backup guide](https://tinyshed.org/tinystore/docs/guides/backup) explains how to use them, and the [Bun and Node](https://tinyshed.org/tinystore/docs/reference/bun/backup), [Go](https://tinyshed.org/tinystore/docs/reference/go/backup) and [Rust](https://tinyshed.org/tinystore/docs/reference/rust/backup) pages list the same API.

## Backup

```python
@dataclass(frozen=True, slots=True)
class Backup:
    files: int  # the files, the engines' and those it was told to take
    bytes: int  # their bytes, the zip's own fields aside
    key_left_out: bool  # the store seals values with an encryption key the backup does not hold: they open with that key alone
```

What a backup holds.
