Comments (10)
why are mounted files on drive still coming under root?
is there any solution?
from docker-automysqlbackup.
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.
I'm on the latest 2.7.0 but still permission set with root
can you look and fix
from docker-automysqlbackup.
any update on it
it still taking backups with root privilliages
from docker-automysqlbackup.
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.
from docker-automysqlbackup.
Can you show me your docker compose file
When I'm home I will post my docker compose file.
from docker-automysqlbackup.
from docker-automysqlbackup.
`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.
Wondering what is PUID: "1002"
PGID: "985" ?
from docker-automysqlbackup.
Related Issues (17)
- Startup jobs (cron/backup) don't work HOT 3
- Got error: 1556: You can't use locks with log tables when using LOCK TABLES HOT 2
- How to start selim13/automysqlbackup as a daemon? HOT 4
- start.sh - bad substitution
- feature request: add ignore table env variable HOT 3
- Typo version mysql5.7 HOT 1
- Add ability do disable weekly / monthly backup HOT 2
- Add Support for Ports HOT 4
- Regularly (re)build of the image HOT 1
- How to send error notications? HOT 1
- Can the container cron wake up the host? HOT 2
- Add Retention Options HOT 2
- releases? HOT 1
- MySQL 8: caching_sha2_password not supported HOT 4
- selim13/automysqlbackup:2.6-3-debian doesn't do full backups HOT 1
- Not creating any backups HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-automysqlbackup.