Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 18:05
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
catastrophic loss of data
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
NETTKNUT


Joined: 27 Oct 2011
Posts: 90
Location: Wales

PostPosted: Sat 05 Apr 2014, 17:45    Post subject:  catastrophic loss of data
Subject description: hard disc partially erased
 

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.
Back to top
View user's profile Send private message 
ardvark


Joined: 01 Jul 2013
Posts: 847
Location: USA

PostPosted: Sat 05 Apr 2014, 19:39    Post subject:  

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. Smile

EDIT: Just noticed this program, too.

Regards...

_________________
Our Lord and Savior Jesus Christ loves and cares about you most of all!

PLEASE READ! You don't have to end up here!

Last edited by ardvark on Sat 05 Apr 2014, 20:21; edited 1 time in total
Back to top
View user's profile Send private message 
perdido

Joined: 09 Dec 2013
Posts: 67

PostPosted: Sat 05 Apr 2014, 20:13    Post subject:  

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 Sat 05 Apr 2014, 20:26; edited 1 time in total
Back to top
View user's profile Send private message 
perdido

Joined: 09 Dec 2013
Posts: 67

PostPosted: Sat 05 Apr 2014, 20:25    Post subject:  

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.php?68521-Puppy-Linux-Using-TestDisk-to-recover-lost-partititions-files-amp-make-HDD-bootable


.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4129
Location: Earth

PostPosted: Sat 05 Apr 2014, 20:47    Post subject:  

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

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 340
Location: The other Mr. 305

PostPosted: Sat 05 Apr 2014, 21:05    Post subject:  

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.
Back to top
View user's profile Send private message 
perdido

Joined: 09 Dec 2013
Posts: 67

PostPosted: Sun 06 Apr 2014, 08:51    Post subject:  

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


.
Back to top
View user's profile Send private message 
perdido

Joined: 09 Dec 2013
Posts: 67

PostPosted: Sun 06 Apr 2014, 10:51    Post subject:  

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

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


.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3589
Location: World_Hub

PostPosted: Sun 06 Apr 2014, 15:09    Post subject:  

Interesting and may be of help >> Bring back deleted files with lsof.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2417
Location: New Zealand

PostPosted: Sun 06 Apr 2014, 15:34    Post subject: Re: catastrophic loss of data
Subject description: hard disc partially erased
 

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)
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3357
Location: Oregon

PostPosted: Sun 06 Apr 2014, 19:29    Post subject:  

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.
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2778
Location: Everybody knows this is nowhere...

PostPosted: Sun 06 Apr 2014, 19:45    Post subject:  

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 Wink works great on vfat partitions, but I've yet to need it on an ext# partition so YMMV...

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3357
Location: Oregon

PostPosted: Mon 07 Apr 2014, 02:12    Post subject:  

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.
Back to top
View user's profile Send private message 
Fossil

Joined: 13 Dec 2005
Posts: 555
Location: Gloucestershire, UK.

PostPosted: Mon 07 Apr 2014, 03:53    Post subject:  

NETTKNUT, sorry for the loss. Is this a full or frugal install?
Quote:
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.
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3357
Location: Oregon

PostPosted: Mon 07 Apr 2014, 14:25    Post subject:  

I would also suggest saving your important data to an external storage device to cover the possibility of a hard drive crash or failure.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0829s ][ Queries: 11 (0.0039s) ][ GZIP on ]