Creates a Notion backup based on a personal integration.
Reference: link
Create a config file named congig.yml
with at least the following content:
notion_token: "secret_***"
Then run the script with:
python3 notion_bck.py
- In large workspaces, results are more likely to be paginated. To obtain all items, you will have to recursively query the search endpoint until the
has_more
parameter returnsfalse
.