cancel
Showing results for 
Search instead for 
Did you mean: 

backup and retrieve accidentally deleted file

potatoinmiri
Champ in-the-making
Champ in-the-making
Dear friends,

   I studied the forum in the last few days to look for topics related to backup and retrive lost files. I read that the backup system has 3 requirements, database, content and indexes.

Someone mentioned if the bin file is without the metadata then the file is useless.
Also mentioned the content and metadata might not be congruent after restoration.

So the conclusion is, what is the proper backup procedure? Just backup the database and the content directory? so if I need to restore, just replace the existing content directory and database with the backup copies?

Another point is, say if someone accidentally a file, how do I go about retrieving the deleted file?
I tried a document management system kt before, all uploaded files are stored in the actual linux directory. But I gave up kt for some reason.

yeah, alfresco database is quite different and the system is quite brilliant.
I am planning to push it for production very soon but without the knowledge of methods to backup and retrieving lost file, I am quite worried to upset users.

Hope anyone here can help me to answer my doubt, just proper way to backup and retrieve lost file.

thanks for taking time reading my mail, have a good day.

Regards
Fong
12 REPLIES 12

simon
Champ in-the-making
Champ in-the-making
We have the same concerns here…

Backup and restore of the whole Alfresco repository doesn't seem to be a problem (using third party tools from MySQL or Linux) but indeed what if I just need to restore one specific file?

Any updates on this?

omegerard
Champ in-the-making
Champ in-the-making
Hi

Would it be possible to replace the action behind the "Delete" icon? A possible implementation might be to move the document to be deleted into a kind of grafeyard area. You could even label it with the date on which it was "deleted" for ease of retrieval.

A script might be written that really removes the file after 5, 10, 30 (?) years.

paulhh
Champ in-the-making
Champ in-the-making
One of the features we want to add in is "soft" delete, so that data is only marked as deleted, but not actually removed (but it may be moved to a special workspace to keep performance high).

As always, it's a question of when does it get included in the product.  At the moment, that won't be in the next couple of months, but it's high on the list after then.

Cheers
Paul.

potatoinmiri
Champ in-the-making
Champ in-the-making
Hi,

  In regards to the soft delete feature, has it been included?  (Sorry…how do i know the new features included in alfresco? is it written in some kind of document?)

What others do to handle problem of accidental delete?

thanks for taking time reading my question.

Regards
Potato

kevinr
Star Contributor
Star Contributor
Yes the soft delete feature was added in Alfresco 1.3. The latest features are always noted in the Release Notes for the version.

Thanks,

Kevin

hfrank
Champ in-the-making
Champ in-the-making
Backup and restore of the whole Alfresco repository doesn't seem to be a problem (using third party tools from MySQL or Linux) but indeed what if I just need to restore one specific file?

kevinr
Star Contributor
Star Contributor
The Soft Delete (archived nodes) feature is the best way to restore a single file. Of course if you delete the node from the archive store then it cannot be recovered (just like if you empty your trashcan on the desktop).

There is not a specific way to recover a single file from a backed up repository. The easiest way would be to restore the entire repo from backup onto a separate machine, then Export the file you want, and Import it back into the old repo.

Thanks,

Kevin

atariq
Champ in-the-making
Champ in-the-making
The Soft Delete (archived nodes) feature is the best way to restore a single file. Of course if you delete the node from the archive store then it cannot be recovered (just like if you empty your trashcan on the desktop).

There is not a specific way to recover a single file from a backed up repository. The easiest way would be to restore the entire repo from backup onto a separate machine, then Export the file you want, and Import it back into the old repo.

Thanks,

Kevin

Hi. Some users recently just lost a whole directory it seems and we'd like to be able to retrieve it and its contents. This Soft Delete feature sounds promising however I'm not sure how it works or where this archive store is located. Or is there now an easier way to restore accidentally deleted files or directories instead of having to restore the whole repository? We are currently using community version 2.1 on a Linux box. Also, if you can point me towards any documentation that would help me go about doing restores from older versions I'd be grateful.

Thank you!

mikeh
Star Contributor
Star Contributor
Hi

Logon as the admin user, go into the user console and from there into Manage Deleted Items.

Thanks,
Mike