Seafile server 6.0.4 from ubuntu to Raspbian

Is there any tutorial how to move my seafile server with mysql from ubuntu to raspbian.Data is located in usb drive which I want to use with the new rasberry pi with seafile server,

That could be helpful: https://manual.seafile.com/maintain/backup_recovery.html