[backend] add cmd=wipepublishedlocked support, prepare for "wipe=" parameter