This project extends the jckleiner/notion-backup project by extending its Docker image so that the backups can be scheduled. This is achieved using a cron which scheduling is based on an .env
value.
An updated .env.dist
file is provided with the original project's variables (see README -> Set Credentials) plus a couple of custom more. A compose.yaml
is included too, to ease up the configuration of the container.
Follow the instructions at README -> Set Credentials and add:
BACKUP_PATH
to set where do you want your backup files to be storedSCHEDULING_CONFIG
to set the scheduling interval. Check out this link for more information on the format
Just start the service with docker compose and you are good to go:
docker compose up -d