modir
(Raffael)
March 23, 2020, 12:02pm
1
My onedb upgrade crashes because the disk it is using gets full. This is the output I get:
Unknown error running 'mysqldump -u oneadmin -p'XXXXXX' -h localhost -P 0 --add-drop-database --databases --add-drop-table opennebula > /var/lib/one/mysql_localhost_opennebula_2020-3-23_12:27:8.sql'
Can I define somewhere a different location for this file? Because I have another disk mounted in this system with enough space.
Versions of the related components and OS (frontend, hypervisors, VMs):
I am doing the upgrade from 5.8 to 5.10 if this is relevant.
Hi @modir ,
Did you check the man page of onedb
command?
Best Regards,
Anton Todorov
modir
(Raffael)
March 23, 2020, 12:21pm
3
Yes, but I didn’t see any parameter for setting a directory for all the temporary files.
The database backups are not so temporarily ones
use the -b
parameter to point the backup file on place where you have enough free space
Hope this helps.
BR,
Anton Todorov
modir
(Raffael)
March 23, 2020, 1:18pm
5
Thanks @atodorov_storpool !
I was searching in the wrong direction in this case. It would be great if this tool would give more output. If it would say before “Starting with backup” or something similar then it would be more obvious.