D
D
driverx182019-12-08 18:51:01
linux
driverx18, 2019-12-08 18:51:01

How bad is it to specify credits in crontab?

I want to make database backups every half an hour.
The syntax went something like this:

*/30 * * * * docker exec db mysqldump -u login -p password dbname

Those. login, password, database name are fully disclosed. How bad is this idea, or is this how it's usually done? Despite the fact that only I have the password from the server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arman, 2019-12-08
@driverx18

https://stackoverflow.com/questions/9293042/how-to...

A
Alexander Karabanov, 2019-12-10
@karabanov

https://habr.com/ru/company/southbridge/blog/478930/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question