Backup DB by a user

Is it possible to do this for an unprivileged user?
Opera Snapshot_2024-03-09_231904_hostom

No v-* command can only used by root or users with sudo permissions

And … mysqldump -u user -p password database > test.sql ???

mysqldump -u USERXX -pPASSXX BDXX > /home/USERDOMXX/web/DOMXX/public_html/testXX.sql


$fecha = date("Y-m-d_His");  
$nombre = "/home/xxxx/web/".$fecha.".sql";

system('mysqldump -u XXXXX -pXXXXX BDXXXX > /home/xxxx/xxx/'.$nombre);
system('zstd '.$nombre);


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.