trellis-backup icon indicating copy to clipboard operation
trellis-backup copied to clipboard

No permissions to create backup directory

Open o1y opened this issue 9 years ago • 1 comments

The task Create backup directory fails:

"msg": "There was an issue creating /srv/www/example.com/backup as requested: [Errno 13] Permission denied: '/srv/www/example.com/backup'", "path": "/srv/www/example.com/backup", "state": "absent"

Solution is adding become: yes to server.yml as follows:

- name: Set up backups
  hosts: web:&{{ env }}
  become: yes
  roles:
    - { role: backup, tags: [backup] }
    - { role: Stouts.backup, tags: [backup] }

o1y avatar Aug 25 '16 10:08 o1y

README should be update to reflect this required change.

zessx avatar Nov 27 '18 10:11 zessx