You can execute again any time when db/listener/etc... is shutdown. This time pipe the output to file.