Thread: [Clonezilla-live] Clonezilla deleted all files on the target partition - Data lost.
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
|
From: Simon L. <si...@si...> - 2009-08-17 21:00:42
|
Dear all Clonezilla users, Today, I used Clonezilla for the first time. As a test I decided to see how it worked. I used the 'clone partition to an image' option ( I cannot remember the exact terminology). Clonezilla asked me where it could write the TARGET images to. I instructed it to use my USB *BACKUP* disc under the directory /, expecting it to write a file into it. No, it deleted everything and wrote this onto the disc partition: # ls -l /media/1.2.2-26/ total 25 -r--r--r-- 1 sloewent root 107 2009-07-20 03:38 Clonezilla-Live-Version -r--r--r-- 1 sloewent root 17982 2009-07-19 02:50 COPYING dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 isolinux dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 live dr-xr-xr-x 5 sloewent root 2048 2009-07-20 03:38 utils As a result, I have lost all my backups, including all my work related to music that I have had since 2001. All files. Everything. Yes, this does equate to a heavy financial loss. Yes, I cannot reproduce the data. Yes, I lost the invoices that I had to keep for tax purposes thatI have to produce some time next year. * Does anyone know of any tools that can recover lost files? The filesystem type is ext3. * Regards, S. PS. Of course, I thank-you in advance if I am not lectured about keeping files in disc one partition and not having at least two or three disc backups, but discs are not that cheap, and I had expected Clonezilla to at least state that it was going to delete everything under the directory. Agreed, this was still a user-error. |
|
From: Simon L. <si...@si...> - 2009-08-17 21:10:50
|
I rechecked the drives, and I was very very very lucky. I had accidentally selected sdc2 for the TARGET image, when I had thought that I had selected /dev/sdb2 where the precious backed up data lies. The data is still there. However, what concerns me if that CZ still uses an entire disc directory to write its file system into, and if one selected the top level of the mount then all data there will disappear. I think that it ought to be clearer that it shall delete all data in that directory first, as the contents of the other drive shows. Final question: Can I use a set-up like this? /dev/sdc2 for the CZ operating system area. /dev/sdc2 for the target image. /dev/sda1 for the source partition. Regards, S. PS. USB drive has been disconnected and placed into a cupboard for safe keeping. Simon Loewen wrote: > Dear all Clonezilla users, > > Today, I used Clonezilla for the first time. As a test I decided to > see how it worked. I used the 'clone partition to an image' option ( I > cannot remember the exact terminology). > > Clonezilla asked me where it could write the TARGET images to. I > instructed it to use my USB *BACKUP* disc under the directory /, > expecting it to write a file into it. > > No, it deleted everything and wrote this onto the disc partition: > # ls -l /media/1.2.2-26/ > total 25 > -r--r--r-- 1 sloewent root 107 2009-07-20 03:38 Clonezilla-Live-Version > -r--r--r-- 1 sloewent root 17982 2009-07-19 02:50 COPYING > dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 isolinux > dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 live > dr-xr-xr-x 5 sloewent root 2048 2009-07-20 03:38 utils > > As a result, I have lost all my backups, including all my work related > to music that I have had since 2001. All files. Everything. Yes, this > does equate to a heavy financial loss. Yes, I cannot reproduce the > data. Yes, I lost the invoices that I had to keep for tax purposes > thatI have to produce some time next year. > > > > > * Does anyone know of any tools that can recover lost files? The > filesystem type is ext3. * > > Regards, S. > > > PS. Of course, I thank-you in advance if I am not lectured about keeping > files in disc one partition and not having at least two or three disc > backups, but discs are not that cheap, and I had expected Clonezilla to > at least state that it was going to delete everything under the > directory. Agreed, this was still a user-error. > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live -- PGP plugin for Microsoft Outlook: http://www.gpg4win.org/ PGP plugin for Thunderbird/Mozilla: http://enigmail.mozdev.org |
|
From: Bill G. <gu...@io...> - 2009-08-17 21:36:43
|
Hi Simon: I'm very glad that disaster was averted. We'll have to see what Steven Shiau says about your experience. I can't explain it. But I must say: I've been using clonezilla-live for a couple of years now, backing up to a variety of targets via ssh and local drives via USB, IDE and SATA interfaces, and I don't recall clonezilla EVER deleting anything during its backup process. It has an algorithm for naming the target directory and saves the image files there. It shows you this name and you have the opportunity of modifying it. It also warns you about what it is going to do, and gives you a chance to bail out. When restoring a partition, it gives you extra warnings. So I am truly puzzled about what happened to you. Simon Loewen wrote: > I rechecked the drives, and I was very very very lucky. > > I had accidentally selected sdc2 for the TARGET image, when I had > thought that I had selected /dev/sdb2 where the precious backed up data > lies. The data is still there. > > However, what concerns me if that CZ still uses an entire disc directory > to write its file system into, and if one selected the top level of > the mount then all data there will disappear. I think that it ought to > be clearer that it shall delete all data in that directory first, as > the contents of the other drive shows. > > Final question: > > Can I use a set-up like this? > > /dev/sdc2 for the CZ operating system area. > /dev/sdc2 for the target image. > /dev/sda1 for the source partition. > > Regards, > S. > > PS. USB drive has been disconnected and placed into a cupboard for safe > keeping. > > > Simon Loewen wrote: >> Dear all Clonezilla users, >> >> Today, I used Clonezilla for the first time. As a test I decided to >> see how it worked. I used the 'clone partition to an image' option ( I >> cannot remember the exact terminology). >> >> Clonezilla asked me where it could write the TARGET images to. I >> instructed it to use my USB *BACKUP* disc under the directory /, >> expecting it to write a file into it. >> >> No, it deleted everything and wrote this onto the disc partition: >> # ls -l /media/1.2.2-26/ >> total 25 >> -r--r--r-- 1 sloewent root 107 2009-07-20 03:38 Clonezilla-Live-Version >> -r--r--r-- 1 sloewent root 17982 2009-07-19 02:50 COPYING >> dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 isolinux >> dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 live >> dr-xr-xr-x 5 sloewent root 2048 2009-07-20 03:38 utils >> >> As a result, I have lost all my backups, including all my work related >> to music that I have had since 2001. All files. Everything. Yes, this >> does equate to a heavy financial loss. Yes, I cannot reproduce the >> data. Yes, I lost the invoices that I had to keep for tax purposes >> thatI have to produce some time next year. >> >> >> >> >> * Does anyone know of any tools that can recover lost files? The >> filesystem type is ext3. * >> >> Regards, S. >> >> >> PS. Of course, I thank-you in advance if I am not lectured about keeping >> files in disc one partition and not having at least two or three disc >> backups, but discs are not that cheap, and I had expected Clonezilla to >> at least state that it was going to delete everything under the >> directory. Agreed, this was still a user-error. >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Clonezilla-live mailing list >> Clo...@li... >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live > -- -Bill- --------------------------------- Bill Gurley, Technical Director Department of Chemistry Univ. of Tennessee, Knoxville 865-974-3145 |
|
From: Les M. <les...@gm...> - 2009-08-17 21:56:13
|
Simon Loewen wrote:
> I rechecked the drives, and I was very very very lucky.
>
> I had accidentally selected sdc2 for the TARGET image, when I had
> thought that I had selected /dev/sdb2 where the precious backed up data
> lies. The data is still there.
>
> However, what concerns me if that CZ still uses an entire disc directory
> to write its file system into, and if one selected the top level of
> the mount then all data there will disappear. I think that it ought to
> be clearer that it shall delete all data in that directory first, as
> the contents of the other drive shows.
>
> Final question:
>
> Can I use a set-up like this?
>
> /dev/sdc2 for the CZ operating system area.
> /dev/sdc2 for the target image.
> /dev/sda1 for the source partition.
Are you doing a disk->image copy or disk->disk? In the disk->image
case, clonezilla should not delete anything. It should just create a
new directory of the name you give for the image and put some new files
under it. In the disk->disk mode it is going to duplicate the source
exactly and wipe out whatever was on the target just like an image->disk
run would.
--
Les Mikesell
les...@gm...
|
|
From: Simon L. <si...@si...> - 2009-08-18 07:37:22
|
Les Mikesell wrote: > Simon Loewen wrote: >> I rechecked the drives, and I was very very very lucky. >> >> I had accidentally selected sdc2 for the TARGET image, when I had >> thought that I had selected /dev/sdb2 where the precious backed up >> data lies. The data is still there. >> >> However, what concerns me if that CZ still uses an entire disc >> directory to write its file system into, and if one selected the top >> level of the mount then all data there will disappear. I think that >> it ought to be clearer that it shall delete all data in that >> directory first, as the contents of the other drive shows. >> >> Final question: >> >> Can I use a set-up like this? >> >> /dev/sdc2 for the CZ operating system area. >> /dev/sdc2 for the target image. >> /dev/sda1 for the source partition. > > Are you doing a disk->image copy or disk->disk? In the disk->image > case, clonezilla should not delete anything. It should just create a > new directory of the name you give for the image and put some new files > under it. In the disk->disk mode it is going to duplicate the source > exactly and wipe out whatever was on the target just like an image->disk > run would. > Hi Les & Bill, I used disk->image. During the process it prompted where to place the target images, which I set to / on a usb partition. It then set the target dir to /home/partimage (or something similar) to / on the usb partition. I think at this point it copied its O/S into there and chrooted onto it. Afterwards, as I mentioned afore, it wrote these files onto it: -r--r--r-- 1 sloewent root 107 2009-07-20 03:38 Clonezilla-Live-Version >> -r--r--r-- 1 sloewent root 17982 2009-07-19 02:50 COPYING >> dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 isolinux >> dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 live >> dr-xr-xr-x 5 sloewent root 2048 2009-07-20 03:38 utils Perhaps, I skipped over a step. It was around 10pm I did this. I shall read the documentation again to see where I went wrong. S. |
|
From: Simon L. <si...@si...> - 2009-08-18 09:41:18
|
Here we go. This is the part of the process that wrote over the data in the disc partition: http://clonezilla.org/clonezilla-live/doc/fine-print.php?fullmode=0&path=./01_Save_disk_image/08-select-disk-as-img-repo.doc#08-select-disk-as-img-repo.doc On the bottom of the page one can see the process, "Then Clonezilla shows you the disk usage report:" At this point I aborted the process. |
|
From: Kevin W. W. <kev...@gm...> - 2009-08-18 12:52:34
|
Simon Loewen wrote: > Here we go. This is the part of the process that wrote over the data in > the disc partition: > > http://clonezilla.org/clonezilla-live/doc/fine-print.php?fullmode=0&path=./01_Save_disk_image/08-select-disk-as-img-repo.doc#08-select-disk-as-img-repo.doc > > On the bottom of the page one can see the process, > "Then Clonezilla shows you the disk usage report:" > > At this point I aborted the process. If file systems have "labels" it would be helpful to display them as well to avoid choosing the wrong partition. And then once chosen, it could perhaps do an 'ls -l' of it's root directory and ask you to confirm and if you say 'no' you get returned to this step. -kevin -- Kevin W. Wall "The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents." -- Nathaniel Borenstein, co-creator of MIME |
|
From: Simon L. <si...@si...> - 2009-08-20 14:58:13
|
Hi all, Just a quick request for clarification on the FAQ/Q&A page: under item 74: When I use clonezilla to clone MS windows, there is no any problem when saving an image from template machine. However, after the image is restored to another machine, it fails to boot, the error message is "Missing Operating System" or just a blinking underscore. What's going on ? There is a possible solution of: [ ] -t1 Client restores the prebuilt MBR from syslinux (For Windows only) when you restore the image. What does the (For Windows only) bit refer to? I thought that Clonezilla could only be run from Debian/Ubuntu. Does this imply a Windows based version of the s/w? If not, then what does this refer to, or is it so blatently obvious that I have missed the point? ;) Cheers, S. |
|
From: Simon L. <si...@si...> - 2009-08-20 15:00:03
|
Sorry : it was Item 21, not 73. S. Simon Loewen wrote: > Hi all, > > Just a quick request for clarification on the FAQ/Q&A page: > > under item 74: When I use clonezilla to clone MS windows, there is no > any problem when saving an image from template machine. However, after > the image is restored to another machine, it fails to boot, the error > message is "Missing Operating System" or just a blinking underscore. > What's going on ? > > There is a possible solution of: > > [ ] -t1 Client restores the prebuilt MBR from syslinux (For Windows > only) when you restore the image. > > What does the (For Windows only) bit refer to? I thought that > Clonezilla could only be run from Debian/Ubuntu. Does this imply a > Windows based version of the s/w? If not, then what does this refer to, > or is it so blatently obvious that I have missed the point? ;) > > Cheers, S. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live -- Important: I do not consent to receive advertisements from anyone. If I receive advertisements from you then your Email will be marked as SPAM and all your Emails will be rejected. Marketing: http://www.spamhaus.org/faq/answers.lasso?section=Marketing%20FAQs Software users' rights: US http://cr.yp.to/softwarelaw.html |
|
From: Steven S. <st...@nc...> - 2009-08-21 08:45:50
|
Simon Loewen wrote: > Hi all, > > Just a quick request for clarification on the FAQ/Q&A page: > > under item 74: When I use clonezilla to clone MS windows, there is no > any problem when saving an image from template machine. However, after > the image is restored to another machine, it fails to boot, the error > message is "Missing Operating System" or just a blinking underscore. > What's going on ? > > There is a possible solution of: > > [ ] -t1 Client restores the prebuilt MBR from syslinux (For Windows > only) when you restore the image. > > What does the (For Windows only) bit refer to? I thought that > Clonezilla could only be run from Debian/Ubuntu. Does this imply a > Windows based version of the s/w? If not, then what does this refer to, > or is it so blatently obvious that I have missed the point? ;) It's mean the -t1 will only work for the restored OS is MS Windows. Since the restored MBR from syslinux is used to restore a clean MBR. Steven. > > Cheers, S. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |
|
From: Simon L. <si...@si...> - 2009-08-21 12:37:30
|
> It's mean the -t1 will only work for the restored OS is MS Windows. > Since the restored MBR from syslinux is used to restore a clean MBR. > > Steven. >> Does this mean that I have to either backup only the WINXP partition with the -t1 option? I did this anyway last night. |
|
From: Steven S. <st...@nc...> - 2009-08-21 12:47:06
|
Simon Loewen wrote: >> It's mean the -t1 will only work for the restored OS is MS Windows. >> Since the restored MBR from syslinux is used to restore a clean MBR. >> >> Steven. >> > > Does this mean that I have to either backup only the WINXP partition > with the -t1 option? > > I did this anyway last night. > No. When you save a whole disk image, it will automatically be saved. Steven. -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |
|
From: Steven S. <st...@nc...> - 2009-08-19 06:31:34
|
If you create an image by choosing disk -> image, Clonezilla should not delete any files on the mounted dir, i.e. any files on /home/partimag will not be deleted. For what you mentioned, I think maybe it's because you abort the process, and unplug the USB flash drive without unmounting it or shutting down the system normally. Could you please make sure you did that or? Sorry to hear that. We will try to find a better way to avoid this. Maybe give some warning messages. Regards, Steven. Simon Loewen wrote: > Here we go. This is the part of the process that wrote over the data in > the disc partition: > > http://clonezilla.org/clonezilla-live/doc/fine-print.php?fullmode=0&path=./01_Save_disk_image/08-select-disk-as-img-repo.doc#08-select-disk-as-img-repo.doc > > On the bottom of the page one can see the process, > "Then Clonezilla shows you the disk usage report:" > > At this point I aborted the process. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |
|
From: Jay M. <jay...@gm...> - 2009-09-19 09:54:46
|
On Tue, Aug 18, 2009 at 2:30 AM, Simon Loewen <si...@si...> wrote: > Dear all Clonezilla users, > > Today, I used Clonezilla for the first time. As a test I decided to > see how it worked. I used the 'clone partition to an image' option ( I > cannot remember the exact terminology). > > Clonezilla asked me where it could write the TARGET images to. I > instructed it to use my USB *BACKUP* disc under the directory /, > expecting it to write a file into it. > > No, it deleted everything and wrote this onto the disc partition: > # ls -l /media/1.2.2-26/ > total 25 > -r--r--r-- 1 sloewent root 107 2009-07-20 03:38 Clonezilla-Live-Version > -r--r--r-- 1 sloewent root 17982 2009-07-19 02:50 COPYING > dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 isolinux > dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 live > dr-xr-xr-x 5 sloewent root 2048 2009-07-20 03:38 utils > > As a result, I have lost all my backups, including all my work related > to music that I have had since 2001. All files. Everything. Yes, this > does equate to a heavy financial loss. Yes, I cannot reproduce the > data. Yes, I lost the invoices that I had to keep for tax purposes > thatI have to produce some time next year. > > > * Does anyone know of any tools that can recover lost files? The > filesystem type is ext3. * Hope this message gets to you in time: here's a nice tutorial on recovering deleted files in Linux: http://www.linuxforu.com/how-to/recovering-deleted-files-easily/ I found this tutorial very good and so made an .ODT (OO.org Writer) file of the same; let me know if you would like me to email it to you. Jay -- Linux User 483705 | openSUSE 11.1, Ubuntu 9.04 (i686) w/ Windows XP Smolts Profile: http://www.smolts.org/client/show/?uuid=pub_b541a450-9bc1-45fd-beab-d46ee43a0108 |
|
From: Steven S. <st...@nc...> - 2009-09-19 11:12:40
|
Simon, Sorry to hear that. However, by default Clonezilla will _NOT_ delete any files on the target directory when you save an image on that. It will just mount the target media as /home/partimag then save the image on that. Did you remember the steps you have done? Did you interrupt when Clonezilla saves an image? If you can provide more info, I think we might have some way to show some warning messages to avoid that. Steven. Jay Mistry wrote: > On Tue, Aug 18, 2009 at 2:30 AM, Simon Loewen <si...@si...> wrote: > >> Dear all Clonezilla users, >> >> Today, I used Clonezilla for the first time. As a test I decided to >> see how it worked. I used the 'clone partition to an image' option ( I >> cannot remember the exact terminology). >> >> Clonezilla asked me where it could write the TARGET images to. I >> instructed it to use my USB *BACKUP* disc under the directory /, >> expecting it to write a file into it. >> >> No, it deleted everything and wrote this onto the disc partition: >> # ls -l /media/1.2.2-26/ >> total 25 >> -r--r--r-- 1 sloewent root 107 2009-07-20 03:38 Clonezilla-Live-Version >> -r--r--r-- 1 sloewent root 17982 2009-07-19 02:50 COPYING >> dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 isolinux >> dr-xr-xr-x 2 sloewent root 2048 2009-07-20 03:38 live >> dr-xr-xr-x 5 sloewent root 2048 2009-07-20 03:38 utils >> >> As a result, I have lost all my backups, including all my work related >> to music that I have had since 2001. All files. Everything. Yes, this >> does equate to a heavy financial loss. Yes, I cannot reproduce the >> data. Yes, I lost the invoices that I had to keep for tax purposes >> thatI have to produce some time next year. >> >> >> * Does anyone know of any tools that can recover lost files? The >> filesystem type is ext3. * >> > > Hope this message gets to you in time: here's a nice tutorial on > recovering deleted files in Linux: > > http://www.linuxforu.com/how-to/recovering-deleted-files-easily/ > > I found this tutorial very good and so made an .ODT (OO.org Writer) > file of the same; let me know if you would like me to email it to you. > > Jay > > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |