I checked it manually and it looks like the metadata was transferred after upgrade:
vyos@vyos1:~$ sudo stat -c '%a %U:%G' .bash_history 600 vyos:users vyos@vyos1:~$ sudo stat -c '%a %U:%G' .ssh/known_hosts 644 vyos:users vyos@vyos1:~$ add system image vyos-999.202607231048-generic-amd64.iso Validating image compatibility Validating image checksums ... Would you like to copy SSH host keys? [Y/n] Copying SSH host keys Would you like to save the SSH known hosts (fingerprints) from your current configuration? [Y/n] Copying SSH known_hosts files Would you like to copy bash history? [y/N] y Copying bash history ... vyos@vyos1:~$ sudo reboot now ... vyos@vyos1:~$ sudo stat -c '%a %U:%G' .bash_history 600 vyos:users vyos@vyos1:~$ sudo stat -c '%a %U:%G' .ssh/known_hosts 644 vyos:users
