For backing up the Solr 4 indexes using the Share Admin Console or the alfresco-global.properties file, or JConsole, see Backing up Solr 4.
To restore the backup successfully, the contentstore directory and database must be backed up as a single unit. When you restore an Alfresco backup, you must restore both the dir.root directory (contentstore directory) and the Alfresco database from the same backup set. Otherwise, the repository may be corrupted.
The dir.root directory is defined in the alfresco-global.properties file. By default, this directory is named alf_data and is located within the directory where Alfresco is installed.