It's recommended to regularly backup the song library.
In iReal Pro, tap on Settings -> scroll down to Backup and email the Backup.html file to yourself or store it in Dropbox, Google Drive, Files (Apple) or similar cloud services.
Windows 11 (Amazon) backup information
(Older versions of iReal Pro iOS and Android, More screen -> Backup)