Open syncpark opened 2 years ago
Does a backup require the root privilege? If not, it shouldn't be in Roxy. Since Roxy runs as root, we should minimize its capability, keeping only those features that have to run as root.
Yes. Not for Data backup. But for OS backup and restore, factory reset requires root privilege. I thought Roxy can be used to manage System configuration and Process management (Postgres, Kafka, REview, Hog, ...) via Cli or Web UI.
How about adding a binary to Roxy sharing the task?
systemctl
when system boot up, or by the scheduler to backup. In this case, Roxy can not read command from stdin. Config file name can be transferred to Roxy by environment variables, but the triggering to task is impossible.