Snapshot and prune with php sdk