Hello, I had a harware failure and lost my Alfreso server. I do have a copy of the Alfresco install directory, database and contentstore. What I am struggeling with is how do I restore the database. I do not have a traditional backup of the database, just a copy of all of the directories for the alfresco install (everything was on one server). I have instructions to restore the database from one that was backed up. Is there a way to restore from the files I have?
The Content Store contains the physical files uploaded to the Repository. To restore the backup successfully, the contentstore directory and database must be backed up as a set. When you restore an Alfresco backup, you must restore both the Alfresco database and the dir.root directory (contentstore directory) from the same backup set. Otherwise, the repository may be corrupted.
When I performed the backup I stopped all of the Alfresco services and then copied the Alfresco directory and the contentstore directory. I reinstalled Alfresco on a new machine and have the ablity to resore the contentstore, but what I cannot locate is the DB files, I cannot determine where they are stored. Essentially my question is for a standard Alfresco Community Edition, what directory is the database in? I was hopong to copy those files into my new install )as well as my content store) and then start the services.
Take a look to this thread how to run pg_dump and restore on linux setup created by the Alfresco installer.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.