Page 1 of 1

makemkvcon failing to backup

Posted: Tue Nov 29, 2022 12:52 am
by loucipher
Just installed a fresh copy of latest Linux makemkv. Licensed and registered and all that. Trying to use makemkvcon to backup a disc into an empty directory. Getting an error that the folder already contains a backup.

Code: Select all

$ makemkvcon backup disc:/dev/sr0 ./
MakeMKV v1.17.2 linux(x64-release) started
Using LibreDrive mode (v06.3 id=F046CEB2F3AB)
Backing up disc into folder "file://./"
Folder ./ already contains a backup, please choose another folder
Backup failed
Backup failed.
Folder is definitely empty. Created an empty folder on several filesystems, from local ext4, NFS, tmp filesystem, same results on all. Tried specifying an absolute path instead of relative, same results. For giggles, I deleted ~/.MakeMKV and ~/.config/makemkvrc, reinstalled, re-registered. This is debian sid, all patched and up to date. I can back up in the GUI to an ISO, but not on the CLI with makemkvcon. This worked fine in the past, same hardware. Bug?

Re: makemkvcon failing to backup

Posted: Tue Nov 29, 2022 4:54 am
by beandog
What happens if you do . instead of ./

Re: makemkvcon failing to backup

Posted: Sat Dec 10, 2022 5:03 pm
by PriamX
Interesting. Same problem here. Even gives the same error when using the full pathname.

Re: makemkvcon failing to backup

Posted: Sat Dec 10, 2022 11:17 pm
by loucipher
Same thing. It doesn't matter what directory I specify, or whether it's relative or absolute, if it exists, it says it already contains a backup. I've verified this behavior for 1.17.2 on multiple computers, one running latest patched debian sid, one latest patched debian bullseye, multiple different models of drive.

Re: makemkvcon failing to backup

Posted: Tue Dec 27, 2022 2:37 am
by loucipher
Any devs wanna take a crack at this? Has to be a simple issue, just a check to see if a specified path has contents, no? Were but it open source, and I'd fix it myself!

Re: makemkvcon failing to backup

Posted: Tue Feb 21, 2023 11:12 pm
by PriamX
Since I installed 1.17.3 this hasn't been an issue anymore, seems to work fine now.

Re: makemkvcon failing to backup

Posted: Fri Sep 01, 2023 4:56 pm
by memrock
Didn't see any solution here so here's how I got it to work. I'm using v1.17.4, you just need to set a filename for the destination.
Also if you're getting "Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'", make sure you install the regular makemkv package alongside makemkvcon :D

Code: Select all

root@debian:/# makemkvcon -r backup disc:0 /root/makemkv/backup.iso
MSG:1005,0,1,"MakeMKV v1.17.4 linux(x64-release) started","%1 started","MakeMKV v1.17.4 linux(x64-release)"
DRV:0,2,999,1,"DVD-ROM HL-DT-ST DVD-ROM DH40N A100 K5HB5C10517","DVD Video Recording","/dev/sr0"
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5072,131072,1,"Backing up disc into folder \"file:///root/makemkv/backup.iso\"","Backing up disc into folder \"%1\"","file:///root/makemkv/backup.iso"
MSG:5070,128,0,"Backup done","Backup done"
MSG:5081,260,0,"Backup done.","Backup done."

Re: makemkvcon failing to backup

Posted: Sat Sep 02, 2023 7:51 pm
by flojo
memrock wrote:
Fri Sep 01, 2023 4:56 pm
Didn't see any solution here so here's how I got it to work. I'm using v1.17.4, you just need to set a filename for the destination.
Also if you're getting "Failed to execute external program 'mmgplsrv' from location '/usr/bin/mmgplsrv'", make sure you install the regular makemkv package alongside makemkvcon :D

Code: Select all

root@debian:/# makemkvcon -r backup disc:0 /root/makemkv/backup.iso
MSG:1005,0,1,"MakeMKV v1.17.4 linux(x64-release) started","%1 started","MakeMKV v1.17.4 linux(x64-release)"
DRV:0,2,999,1,"DVD-ROM HL-DT-ST DVD-ROM DH40N A100 K5HB5C10517","DVD Video Recording","/dev/sr0"
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5072,131072,1,"Backing up disc into folder \"file:///root/makemkv/backup.iso\"","Backing up disc into folder \"%1\"","file:///root/makemkv/backup.iso"
MSG:5070,128,0,"Backup done","Backup done"
MSG:5081,260,0,"Backup done.","Backup done."
I assume this dumps to a .iso file? This isn't the same thing as dumping the root of the disc into a directory, which I think is what most people want.

Anyhow, the disc dump works fine for me too on v1.17.4

Re: makemkvcon failing to backup

Posted: Wed Nov 15, 2023 1:10 am
by CA Opa
I'm running this command from a dos batch file. What am I doing wrong. I have tried 3 different output folders and get the same error.

Code: Select all

%makemkvcon64% backup --decrypt --cache=16 --noscan -r --progress=-same disc:0 "G:\New folder"

Code: Select all

MSG:1005,0,1,"MakeMKV v1.17.5 win(x64-release) started","%1 started","MakeMKV v1.17.5 win(x64-release)"
PRGT:5018,0,"Scanning CD-ROM devices"
PRGC:5018,0,"Scanning CD-ROM devices"
PRGV:0,0,65536
PRGV:0,0,65536
PRGV:65536,0,65536
PRGV:65536,65536,65536
DRV:0,0,999,0,"BD-RE HL-DT-ST BD-RE  WH16NS40 1.03 SIK93H2KB204","","K:"
DRV:1,0,999,0,"DVD+R-DL _NEC DVD_RW ND-2510A 2.19 MY47QA101n","","L:"
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
PRGV:0,65536,65536
PRGV:0,0,65536
MSG:5072,131072,1,"Backing up disc into folder \"file://G:\\New folder\"","Backing up disc into folder \"%1\"","file://G:\\New folder"
MSG:5068,516,1,"Folder G:\\New folder already contains a backup, please choose another folder","Folder %1 already contains a backup, please choose another folder","G:\\New folder"
MSG:5069,128,0,"Backup failed","Backup failed"
MSG:5080,516,0,"Backup failed.","Backup failed."

Re: makemkvcon failing to backup

Posted: Mon Dec 04, 2023 10:20 pm
by jemima
Sure that the disc id is the right one? I had the very same errors, when the disc ID was 01 (instead of 00, which was the internal CD drive)... oddly enough, even with 00, the disc from the external bluray drive (which is actually 01) spun up.