You can restore the attachment files to the respective patch from the backup location.
For example, gunzip /tmp/backupfile.sql.gz |mysql -utestkink -ptestlink testlink
If the TestLink system hardware fails, do a regular installation using install.conf: