in reply to backuping mysql

It doesn't look like you've understood the module documentation. Read what the method $mb->data_backup() does before you try and treat it as a file name.

Replies are listed 'Best First'.
Re^2: backuping mysql
by frank1 (Monk) on Jul 03, 2024 at 13:27 UTC

    $mb->data_backup() returns a full DATA backup of current database

    i thought when i do like this

    my $backup_db = $mb->data_backup(); my $file = $backup_db; $file .= ".sql";

    i will be able to have the full backup file and give it extension and save it to my dir

        any solution or example on how i can make this thing to work

          A reply falls below the community's threshold of quality. You may see it by logging in.