I’m making incremental backups using xtrabackup.
My problem is that I can’t find how do I have to do to perform the restoration.
I’d like to restore (prepare) my backup into a different directory where the backup is.
Else I think that when I apply my incremental backups will overwrite full backup information.
At the moment I’m copying full backup directory in a tmp one and then I prepare the incremental backups.
I have 31 GB of backup and to copy it is a long process.
As I understand, if I apply incremental backups over a full backup I’ll get the full backup after the incremental period. But I’ll lose my previous full backup, isn’t it?
I need to keep my full backup as it was before.
Anyone knows how could I prepare a incremental backup pointing a different directory?
I can’t find any information about it.
I’ve tried using different options as --datadir, --tmpdir even --targetdir (that I don’t rememeber where found it) but my tmp directory continues being empty.