LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2017, 05:54 AM   #1
Essex20
LQ Newbie
 
Registered: Jan 2017
Location: Germany
Distribution: Linux Mint KDE 17.3-x64
Posts: 2

Rep: Reputation: Disabled
Question ddrescue, safe to resume with image moved/copied?


Hello Board,

I am actually recovering a 450 GB Partition to an Image
connected over USB with 2 TB of free space at the office.

The problem is, I actually need the 2 TB Harddrive at home for some
changes and could therefore attach a 1 TB Harddisk at the Office.
This is enough to write the first Image (and after that, the second one without
the -n flag).

I used:
Code:
ddrescue -n /dev/sdb5 /media/michael/black2tb/ddrescue/norman_nosplit.img ddrescue_norman.log
I know, if I use a logfile (mapfile) with ddrescue,
that I am able to resume an interrupted ddrescue job only with restarting
the same command.

So, my question here is, after interrupting ddrescue (with CTRL-C),
is it safe to move/copy the 450 GB Image (outfile) to the 1 TB normally
(with mv/cp or Dolphin/mc etc.), and invoking the ddrescue command again
(with the updated target outfile, which would be
Code:
/media/michael/white1tb/norman_nosplit.img
)?

The rescue job is running since ~2 weeks (and is currently at Phase 2),
so I don't want to loose this progress!
Is it safe or do I have to do it on special way?

I searched but found no answer of this specific question.

Thanks in advance
Michael
 
Old 01-06-2017, 10:34 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,555

Rep: Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088
That should be fine. That image is just a file, and ddrescue doesn't care where it is or how it is named. Just restart ddrescue with the copied image file and of course the same logfile (or copy thereof), and it will pick up from where it left off.
 
1 members found this post helpful.
Old 01-12-2017, 07:43 PM   #3
Essex20
LQ Newbie
 
Registered: Jan 2017
Location: Germany
Distribution: Linux Mint KDE 17.3-x64
Posts: 2

Original Poster
Rep: Reputation: Disabled
It worked like a charm. Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting data from a ddrescue image ARC-FOX Ubuntu 2 07-26-2013 05:46 AM
extracting data from a ddrescue image ARC-FOX Ubuntu 2 07-26-2013 05:43 AM
Mount image of NTFS generated by ddrescue krofna Linux - General 1 01-18-2013 06:39 PM
a half or so ddrescue image raven4d Linux - Software 5 08-31-2012 02:32 PM
Can a Linux OS be copied or moved from one partition to another ? brjoon1021 Linux - General 5 07-17-2007 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration