Giter Site home page Giter Site logo

Comments (10)

zakrian07 avatar zakrian07 commented on September 25, 2024

why are mounted files on drive still coming under root?
is there any solution?

from docker-automysqlbackup.

selim13 avatar selim13 commented on September 25, 2024

Hello and sorry for the late response.
I've added gosu to the image in 2.7 tag to allow running automysqlbackup process as a regular user.
To use it, run the image with the USER_ID environment variable set to desired host's user id. For example -e USER_ID=1000.

from docker-automysqlbackup.

zakrian07 avatar zakrian07 commented on September 25, 2024

image
I'm on the latest 2.7.0 but still permission set with root
can you look and fix

from docker-automysqlbackup.

zakrian07 avatar zakrian07 commented on September 25, 2024

any update on it
it still taking backups with root privilliages

from docker-automysqlbackup.

francoisduprez avatar francoisduprez commented on September 25, 2024

any update on it it still taking backups with root privilliages

Problem was solved by @selim13. I have no problèmes anymore. You hav to adjust youre docker-compose.yml and add USER_ID=1000 or something else. It's working like a charm.

from docker-automysqlbackup.

zakrian07 avatar zakrian07 commented on September 25, 2024

from docker-automysqlbackup.

francoisduprez avatar francoisduprez commented on September 25, 2024

Can you show me your docker compose file

When I'm home I will post my docker compose file.

from docker-automysqlbackup.

zakrian07 avatar zakrian07 commented on September 25, 2024

from docker-automysqlbackup.

francoisduprez avatar francoisduprez commented on September 25, 2024

`version: "3.7"

networks:
lokaal:
name: lokaal
driver: bridge

services:
zmmysqlbackup:
image: 'selim13/automysqlbackup:latest'
container_name: 'automysqlbackup'
restart: unless-stopped
volumes:
- '/mnt/backup/db_backup:/backup'
environment:
PUID: "1002"
PGID: "985"
TZ: "Europe/Amsterdam"
USERNAME: "root"
PASSWORD: "Francois1541GT"
DBHOST: "mariadb"
DBEXCLUDE: "performance_schema information_schema"
CRON_SCHEDULE: "0 0 * * *"
EXTRA_OPTS: "--single-transaction"
USER_ID: "1002"
GROUP_ID: "972"
networks:
- lokaal

`

from docker-automysqlbackup.

zakrian07 avatar zakrian07 commented on September 25, 2024

Wondering what is PUID: "1002"
PGID: "985" ?

from docker-automysqlbackup.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.