[sync] Fix issue #3 : add possibility to purge db entry