Restore data of version 4.5 to 5.1 in Community edition

Hi,

Can we restore data in couchbase server version 5.1 which was backed up in 4.5? I am using community edition.

Thanks,
Vineet