ledger journal clean up

i used ledger journal clean up by mistake how can i restore all journals again Ax 2009 any help

I don’t think there is a way to restore them except of taking them from a database backup.

If it’s a production database, restoring all data likely isn’t feasible, but the database could be restored in another environments, journals exported from there and imported to production.

What steps to follow?

Assuming that you mean the restore on another environment, the first step probably would be identifying or installing a suitable environment for restore. Note that you’ll likely want to test the data import before doing it in production.

You’ll also have to think how you’ll export and import the data (and you may want to test it as one of the first things). Maybe the standard import / export will work for you, maybe you’ll have to develop something custom.