catastrophic loss of data

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
NETTKNUT
Posts: 135
Joined: Thu 27 Oct 2011, 09:51
Location: Wales

catastrophic loss of data

#1 Post by NETTKNUT »

I am operating Slacko Puppy 3.3 on an old P3 machine at 660 Mhz and 500 megs RAM. I was attempting to back up some important data to a CD when the hard disc was partially wiped out. I was in the initial stages of trying to set up the puppy utility "Pmirror backup a directory" when it started running and file names flew past on my screen. I suspected this was abnormal so switched off my machine. My personal files in root/my-documents are nearly all missing beyond Jan 2012. My e-mails might be missing but I still have to check SeaMonkey. Is there any way I can recover my documents and (recent) e-mails at least? Also some of the puppy files shown on startup (to choose from) are missing, including the one I normally run. This was my first attempt at backing up data on puppy. Any help would be more than welcome.Thanks.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#2 Post by ardvark »

Hi...

If it was Windows, I would recommend Recuva but perhaps this program might work in Puppy. I can't tell you anything about it because I've never used it. There is a list of additional programs here, although many are for Windows and Mac OS's. :)

EDIT: Just noticed this program, too.

Regards...
Last edited by ardvark on Sun 06 Apr 2014, 00:21, edited 1 time in total.
Our Lord and Savior [url=http://peacewithgod.jesus.net/]Jesus Christ[/url] loves and cares about you most of all!

PLEASE READ! You don't have to end up [url=http://www.spiritlessons.com/Documents/BillWiese_23MinutesInHell_Text.htm]here![/url]

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#3 Post by perdido »

I feel your pain!

You might want to try the puprescue ISO, it was made for recovering windows files but maybe has an undelete for linux, worth a look.

http://www.murga-linux.com/puppy/viewtopic.php?t=69651

Don't boot or use that hard drive for anything until you are done trying to recover files. If you use it before recovering the files, there is a chance some of the deleted stuff will be overwritten.


.
Last edited by perdido on Sun 06 Apr 2014, 00:26, edited 1 time in total.

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#4 Post by perdido »

Testdisk for ext2 (not ext3 or ext4, you didn't say what yours is)
This is supposed to undelete files

http://www.pcguide.com/vb/showthread.ph ... D-bootable


.

gcmartin

#5 Post by gcmartin »

If its a Linux formated partition, I would consider booting with pfix=fsck, first. You can do this by either booting a Live PUP or by booting your PUP where you hit F2 on boot screen and follow instructions to "puppy pfix=fsck"

Then look to see if your data is intact when you get to a PUP desktop.

If you're still missing data, I would consider use of a tool like testdisk by booting a CD version of modern PUP to attempt recovery.

Hope this helps

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#6 Post by slavvo67 »

Your e-mail provider is most likely required to have at least 3 months of your e-mails. If you do not have success, there's a good chance you can obtain them for your Gmail, Ymail or Hotmail e-mails (via Google, Yahoo or MSFT). If it's through GoDaddy or someone else, they probably have them, too.

There's obviously good and bad of knowing this but this is probably one of the good things to know in this instance.

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#7 Post by perdido »

PhotoRec (file undelete utility) and Testdisk thread

http://www.murga-linux.com/puppy/viewtopic.php?t=28453

Links to pet files in thread

https://sites.google.com/site/ieincp/home/all/testdisk


.

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#8 Post by perdido »

Here is a current thread in this very forum about a similar issue

http://www.murga-linux.com/puppy/viewtopic.php?t=92885


.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

Interesting and may be of help >> Bring back deleted files with lsof.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

Re: catastrophic loss of data

#10 Post by greengeek »

NETTKNUT wrote:I was in the initial stages of trying to set up the puppy utility "Pmirror backup a directory" when it started running and file names flew past on my screen.
Could you set up a different machine (with non-critical data) and try the setup of Pmirror again? This might give you some clues about whether Pmirror was deleting those filenames you saw, or relocating them. Possibly those files may still be on disk, but in a directory you would not expect (eg, I can copy files to something like sda2 even if the real sda2 is not mounted - the files don't get lost, just not accessible in the normal place) Maybe Pmirror has moved the files to somewhere like /mnt/sdxxx and the files are still in the filesystem, but just not where you expect??

Also, how is puppy installed? Do you use a savefile? If so, do you have a backup copy of the savefile from previous times?
(I lost heaps of data one time before I realised how important it was to make a copy of the savefile once a month)

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#11 Post by 8-bit »

The one time I thought I had lost some files (frugal install), I ran chkdsk on it and some data was returned.
But it was a mess as it was all run together with no indication of what data recovered belonged to what files.
In the end, I ended up restoring from a pupsave backup I had made with a utility called Hot backup.
Also, Hot backup as part of its process does a file system check on the copied pupsave file as well as adding the current date to it.
The date helps in that one can restore the contents to a specific date if you have more than one backup of pupsave.

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#12 Post by starhawk »

8-bit wrote:The one time I thought I had lost some files (frugal install), I ran chkdsk on it and some data was returned.
But it was a mess as it was all run together with no indication of what data recovered belonged to what files.
In the end, I ended up restoring from a pupsave backup I had made with a utility called Hot backup.
Also, Hot backup as part of its process does a file system check on the copied pupsave file as well as adding the current date to it.
The date helps in that one can restore the contents to a specific date if you have more than one backup of pupsave.
(1) fsck /dev/sda1 (where sda1 is the partition with the bellyache)
(2) fsck -a /dev/sda1 (sda1 as above)
(3) files reappear

...nifty little trick my local Linux Guru told me ;) works great on vfat partitions, but I've yet to need it on an ext# partition so YMMV...

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#13 Post by 8-bit »

Thank you for passing that along. It may save a file that I could loose in event of a power failure with my pupsave not getting updated properly.
My best suggestion to anyone working on a long project is to save it often with progressive version numbers. That way, one can fall back to a saved project and not loose it all.

User avatar
Fossil
Posts: 1157
Joined: Tue 13 Dec 2005, 21:36
Location: Gloucestershire, UK.

#14 Post by Fossil »

NETTKNUT, sorry for the loss. Is this a full or frugal install?
My personal files in root/my-documents are nearly all missing beyond Jan 2012.
It would be wise - if you have a frugal install - to keep personal documents and anything else worthy of saving and backing up, in a folder outside the Puppy save file. Then, should the worse case scenario strike and the save file become corrupted, at least all your personal information is safe. It's also easier to maintain a structured personal folder system and back it up. Not a lot of use now, but something to consider for the future.

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#15 Post by 8-bit »

I would also suggest saving your important data to an external storage device to cover the possibility of a hard drive crash or failure.

User avatar
NETTKNUT
Posts: 135
Joined: Thu 27 Oct 2011, 09:51
Location: Wales

Catastrophic loss of data

#16 Post by NETTKNUT »

Thanks for all your help. this is just an update of where I've got to. As my machine has two hard discs I have reinstalled puppy on the second (unaffected) disc. I saw that the puppy utility gparted had an option to attempt to recover lost data. I ran this but it took about 4 hours on my slow 660MHz machine. It found something on two of the three partitions on my suspect disc but it could not read anything. Anyway I've saved them to look at later. Someone mentioned a Puppy backup file, I had not come across this but it would be useful to know the details for future use. The most promising tip was 'Test Disc', which I'll try next,

Post Reply