Dump and load btmp, utmp and wtmp accounting files. More information: https://manned.org/utmpdump.
/var/log/wtmp
utmpdump {{/var/log/wtmp}}
utmpdump -r {{dumpfile}} > {{/var/log/wtmp}}