Automatic PAW backup

Post Reply
moralez
Posts: 1
Joined: Wed Jul 11, 2018 4:14 pm
OLAP Product: TM1, PAW, Cognos
Version: Planning Anaytics 2.0
Excel Version: 2012

Automatic PAW backup

Post by moralez » Wed Jul 11, 2018 6:21 pm

Hello All,

I have tried perform automatic backup for PAW by schedule in Task Scheduler and in TM1 by Chore but cannot reach successful result.
Does anyone know how that can be done?

We use Windows server 2012.

I have next error when I try run backup.sh from scripts folder:
"C:\Program Files\Docker Toolbox\docker.exe: error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.30/containers/create: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running."

Also I have modified scripts Start.bat and winstart.sh.
All works fine when I run Start.bat from file manager (successfull result)
But script is stuck when I run it from Task Scheduler or TM1.
I think problem in backup.sh at next section:
docker run --rm --network "${PAW_NET}" -v "${BACKUP_DIR}/mongo":/backup:z --user "$TOOL_USER:$TOOL_GROUP" mongo:3.2.10 bash -c "mongodump --host mongo --out /backup &> /backup/backup.log"
I'm shure that all variables is good but this command cause stuck.
After running scripts from Tm1 i see only mongo folder without files in backup directory.

Anyone can help me?

Post Reply