Incremental backup ad restoration of a single database

Looking to implement Incremental backup and restoration of a single database -

Steps performed
influxd backup -portable -database myfirstdb /path/backup (Take full backup)

influxd backup -db myfirstdb -rp autogen /path/backup/incremental (for incremnatals )

How can we automate incremental and how to restore?

Thanks
Deepthi