Hi, I’m trying to get to grips with the urbackupclientctl linux command line client.
Specifically, I’m curious about the map-to and map-from options.
How is that supposed to work? I assume those parameters are to be used if you want to restore to a different target directory than the original backup.
So according to urbackup my backup path for the file is:
/SnapShots/urbackup_snap_SRV/www/.mysql_history
I would like to restore that file to the directory /test/ on my server.
I’m trying the following command, but I get “Restore failed” error. I also see in the debug logs that urbackup is trying to restore to the original directory.
urbackupclientctl restore-start -b 472 -d SRV/www/.mysql_history -m /SnapShots/urbackup_snap_SRV -t /test/