Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: Separate backup for each site
Hi everyone,
I am currently trying to find a way to backup and restore single site in a multi-site Liferay installation.
So far I found multiple articles and forum posts how to backup and restore entire Liferay installation (dump DB, copy files from /data). The problem is that I am running Liferay installation with 50+ sites and when one of the sites becomes damaged I need to restore all of them. I am looking for a possibility to backup and restore a single site without rolling back other sites to older version.
Thanks in advance for your answer.
Hey Michał, you can try to restore the whole backup in a different environment and export the site that you need to store through a LAR file from this new enviroment and import in the existing one.
Thanks. I think this is the only way to go.
Notice that this is hardly a backup (in the sense that you can use it to restore a fully functioning system): It might rely on certain user accounts (that are not site specific) to exist, as they might have authored content. It might rely on some global configuration that is not site specific and doesn't end up in LAR files. And LAR files are heavily version dependent - e.g. right after upgrading even a minor bump you'll have to create them new - there's no guarantee you can use any LAR created on patchlevel A with one on patchlevel B, however much differece exists between them.
Powered by Liferay™