Re: [Dhis2-users] Backup Script Error

2017-07-03 Thread gerald thomas
Dear All, The issue had been solved. The instance user (dhis) didn't have permission to the sub-folders in the backup directory; i change permission and it is OK. backup user (testuser) created is giving a link to the directory so that he can have access to the directory which makes him to be OK.

Re: [Dhis2-users] Backup Script Error

2017-07-03 Thread gerald thomas
When i tried to run the dhis2-backup from instance user itself "dhis" i am getting this error: dhis2-backup /usr/bin/dhis2-backup: line 32: /var/lib/dhis2/dhis/backups//backup2017-07-03-daily/dhis.sql.gz.in_progress: Permission denied Mon Jul 3 09:26:59 UTC 2017 [!!ERROR!!] Failed to produce pla

[Dhis2-users] Backup Script Error

2017-07-03 Thread gerald thomas
Dear All, I noticed that whenever i enter "dhis2-backup" on the terminal it does not ask me for the instance name. Because i create a user whose responsibility is to run automated backups but it is now since every time it executes the backup command, the system response with an error shown below: