1

good day to all!

I goofed.

In prepping for a migration .. I DD'ed a drive to another spare to have a backup of the files.

Then I booted next weekend not knowing that I mounted the 2nd DD'ed backup drive (due to duplicate UUID's ... dummy me).

I did some small work thinking it was on the primary drive not the backup.

I then did RM-rf on one drive ... removed what I thought was the good drive ... rebooted ... and deleted the partition on the second drive thinking it was the 1st.

I have since learned not to DD a drive and leave it in there for the next boot.

Trouble is: ... I have one drive with the partition but RM-rf all files of my /home ... ... and another drive with the files intact but the partition deleted.

I would be happy with either due to the small amount of work done.

How do I get the partition data from the drive that was only RM -rf ... and restore it to the other drive that only had the partition deleted?

... or should I try to un-delete the data one the drive that was RM-rf?

18.04.1 Ubuntu.

Thanks!

0 Answers0