copy write-ahead-log to tmpdir, VACUUM the db before using it to roll the db forward