save permalink structure before snapshotting db
save permalink structure before snapshotting db