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

kevinr
Star Contributor
Star Contributor
Each user can also access their deleted files via the User Console->Management. The admin user can restore any users files whereas a user can only restore files they deleted. Entire folder structures can be restored.

Kevin

atariq
Champ in-the-making
Champ in-the-making
Thanks for the info, guys! That solved the issue. Smiley Happy

flopez
Champ in-the-making
Champ in-the-making
Each user can also access their deleted files via the User Console->Management. The admin user can restore any users files whereas a user can only restore files they deleted. Entire folder structures can be restored.

Kevin
Hi

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

Thanks,
Mike

Hi, I have tried using this feature but it has some problems I find hard to do a complete restore (somehow during a deleting and creating again a user, it deleted lots of files and appear in the recycle bin), my problems are:

1. I can filter enough (just user, and search by text or content) but not dates, or types (folders/documents)
2. I run the 'restore all listed files' but I doesn't restore them all, mostly the directories (parents) haven't been restored yet, so the process fails

I need a way to restore all the folder structure first so that then I can restore the files, but the only way I could do this right now would be by restoring on by one each of those folder from upper lever to lower level, but I don't know the original structure and that could take months! So…

a. is there a way to do this restore process by code? some API to be used in a webscrit, or java routine to restore this, like, first filtering by type to restore folders, then documents, by date, etc?
b. does deleting a user, delete the files it has uploaded trough webdavo or something? I don't know how this process could have been related to this files gone missing and appearing as deleted by the user

PLEASE HELP!