Message Boards

Backup liferay portal

ghadeer raad, modified 3 Years ago.

Backup liferay portal

Junior Member Posts: 51 Join Date: 6/2/20 Recent Posts
hi i need to make auto backup for my portal so,  if there are any way can use it to make auto backuphint:i use liferay 7.2 ce ga2
thumbnail
David H Nebinger, modified 3 Years ago.

RE: Backup liferay portal

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
A liferay backup consists of two things:

  1. A database backup.
  2. A doc lib backup, typically from the filesystem.


There is nothing in Liferay to do this backup for you. It is very much dependent upon the DB you choose and how you are storing docs. So it is up to you to build the process to back these up.
ghadeer raad, modified 3 Years ago.

RE: Backup liferay portal

Junior Member Posts: 51 Join Date: 6/2/20 Recent Posts
i use mysql and do you means can't do this anyway?
thumbnail
David H Nebinger, modified 3 Years ago.

RE: Backup liferay portal

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Just use regular mysql facilities to make the backup.
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: Backup liferay portal

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Use mysqldump:
https://dev.mysql.com/doc/refman/5.7/en/mysqldump-sql-format.html
AND create a copy of the data/document_library folder (I usually rsync it somewhere since changes are usually minor and copying everything takes a while).
Note: There is some danger that files are added/deleted while you copy the files. So it is best to do this outside office hours, when nobody uploads/deletes new documents.
thumbnail
Olaf Kock, modified 3 Years ago.

RE: Backup liferay portal

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
Cross-referencing. Please limit yourself to one thread per topic in future, and collect all the important information in one place.