We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Cli command to backup only databases
Cli command to backup only databases
Hello
I want the shell command to backup all databases of a user.
Thanks
I want the shell command to backup all databases of a user.
Thanks
Re: Cli command to backup only databases
Is there any command for this at all?
Re: Cli command to backup only databases
There is v-backup-user, but for all files and bases from user.
Re: Cli command to backup only databases
I think it can be resolved with sh script
Something to think about:
Something to think about:
Code: Select all
mysqldump ...options... --databases `mysql -B -N -e "SHOW DATABASES LIKE 'user\_%'"`
Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR mysqldump [OPTIONS] --all-databases [OPTIONS]