TickTick Exporter enables you to safely backup your TickTick Tasks and Habits locally.
- save
.env.example&Makefilefiles from this repo on your host machine, or clone this repo- replace the values to your details
- rename to
.env - note down the path to that file
- add the below variables to
.bashrcfile (replace the values). Remember to runsource ~/.bashrcafter the update or reboot:
# ticktick-exporter
export TICKTICK_EXPORTER_DOTENV_FILEPATH=/home/user/repos/ticktick-export/.env # .env file path. you can download `.env.example` file from this repo and fill in the variables
export TICKTICK_EXPORTER_BACKUP_DIRPATH=/home/user/db/ticktick # a directory that will get mounted and where the script will download your backups. ensure this directory exists.- navigate to the folder where you downloaded
Makefileto using the terminal - run
make run - that's it! your
TICKTICK_EXPORTER_BACKUP_DIRPATHdirectory should now be populated with todays backup of TickTick Tasks and Habits
- Update
VERvariable inMakefile(optional) - Run:
make build && make push