Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Yan Naing Oo
Recover for deleted image gallery folder
May 28, 2013 7:50 PM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Hi all,

Liferay can possible be recover the deleted images gallery ? if somebody know that please share with me ?

thank emoticon
Manish Yadav
RE: Recover for deleted image gallery folder
May 29, 2013 12:41 AM
Answer

Manish Yadav

Rank: Expert

Posts: 384

Join Date: May 26, 2012

Recent Posts

Liferay Store images in <LiferayHome>/data/document_library Folder and metadata of images in db...
if you delete values from db or images from data/document_library there is no way to restore
Yan Naing Oo
RE: Recover for deleted image gallery folder
May 29, 2013 1:33 AM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Manish Yadav:
Liferay Store images in <LiferayHome>/data/document_library Folder and metadata of images in db...
if you delete values from db or images from data/document_library there is no way to restore


It is deleted from Control Panel - under ImageGallery one folder that contained images. so it is still possible ? not manually remove physical folder or database.
Oliver Bayer
RE: Recover for deleted image gallery folder
May 29, 2013 1:48 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 875

Join Date: February 18, 2009

Recent Posts

Hi Yan,

as Manish said it earlier it's not possible to restore the deleted images and the folder - unless you're having a backup of your database AND the "document_library" folder.

If you have such a backup you should import the db backup to a new database, then check which dlFolderId and dlFileEntryIds you have to restore (based on the accidentially deleted folder name). Export them to a sql file and import it in your production database. Next you have to copy the folder and all files in it with the appropriate id from the backup to your procuction server into the "document_library" folder.

HTH Oli
Yan Naing Oo
RE: Recover for deleted image gallery folder
May 29, 2013 1:50 AM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Thank for your info.
Juan Gonzalez
RE: Recover for deleted image gallery folder
May 29, 2013 2:59 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

FYI, Liferay 6.2 has a Trash where you can recover deleted entities, just like Windows or Linux does.
Manish Yadav
RE: Recover for deleted image gallery folder
May 29, 2013 3:04 AM
Answer

Manish Yadav

Rank: Expert

Posts: 384

Join Date: May 26, 2012

Recent Posts

Juan Gonzalez:
FYI, Liferay 6.2 has a Trash where you can recover deleted entities, just like Windows or Linux does.


Hi Juan Gonzalez,

Could you please let us know what is expected release date of LR6.2 emoticon