Skip to content
ispyisail edited this page Sep 28, 2017 · 10 revisions

28 September 2017

Had some problems getting dvr-recover to work with windows 10

This is my procedure that is known to work

Found an old PC with IDE cable and installed Ubuntu desktop 12.04. Make sure your PC is connected to your network and enable openssh-server. Either use command line on the Ubuntu desktop or make remote connection with putty. Connected the drive from the DVR to be recovered into the Ubuntu PC.

Note: I choose Ubuntu 12.04 because it was around the time dvr-recover was written. Other versions may work just as well.

Update OS

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install openssh-server

Find and Select Drives

Check which drives are connected

sudo fdisk -l

Copy DVR Drive

Make a drive copy, This many take a long time (hours)

cd ~

sudo dd if=/dev/sdb of=disk.img bs=10M

Install dvr-recover

Install dvr-recover via Git

sudo apt-get install git

cd ~

git clone https://github.com/haliner/dvr-recover.git

Setup dvr-recover

cd dvr-recover/

python dvr-recover.py setup

python dvr-recover.py setup input add ~/disk.img

python dvr-recover.py setup export_dir ~/Videos

Scan and Create Videos

python dvr-recover.py create

python dvr-recover.py sort

python dvr-recover.py show

python dvr-recover.py export

Copy videos to new location

Recovered videos will be in

CD ~/Videos

or

/home/user/Videos