Closed m-thirumal closed 7 years ago
@M-Thirumal I believe that is not a problem with the script, but an setup one. You will need pg_dump available somewhere. So, no need to have the postgresql service running locally, but you do need to have the utility used to access the database. Because of that, I am closing the issue.
@M-Thirumal One more info. Take this thread as an example on how to setup an Ubuntu server to have only the client component. http://askubuntu.com/questions/501091/command-pg-dump-not-found
Thanks @douglascrp . I found a problem. I did few changes in
alfresco-bart.sh
fi
if [ -d "$ALF_CONTENTSTORE3" ]; then
OPT_ALF_CONTENTSTORE3=" --exclude **$ALF_CONTENTSTORE3**"
fi
if [ -d "$ALF_CONTENTSTORE4" ]; then
OPT_ALF_CONTENTSTORE4=" --exclude **$ALF_CONTENTSTORE4**"
fi
if [ -d "$ALF_CONTENTSTORE5" ]; then
OPT_ALF_CONTENTSTORE5=" --exclude **$ALF_CONTENTSTORE5**"
fi
if [ -d "$LOCAL_BACKUP_DB_DIR" ]; then
OPT_LOCAL_BACKUP_DB_DIR=" --exclude **$LOCAL_BACKUP_DB_DIR**"
fi
This problem with duplicity. ** Thanks @douglascrp
@M-Thirumal Yes, that is a know issue, describe here #12 Could you please change that and send us a pull request?
I have installed PostgreSQL and Alfresco in different server. I am not able to take back up using BART. Getting below error
Fatal Error: The file specification /home/thirumal/alfresco-db-backup cannot match any files in the base directory /opt/alfresco-community Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory.
Any suggestion ?