LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2011, 06:06 AM   #1
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Rep: Reputation: 15
Post flashback linux 4


Hi All,

Can you please share, how can we get data back (in a previous date) similar to flashback in RHEL 4.

Actually we want to get one of our mount point back dated, but don't know, how to accomplish this.

Thanks,
 
Old 09-06-2011, 11:09 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
??? what ???
back date a mount point ???


Quote:
how can we get data back
did you delete it ? or overwrite it
 
Old 09-06-2011, 11:20 PM   #3
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for update John,
Actually its deleted, a tar backup taken before system update, which is now needed, as we want to restore in previous state its almost 20 days back.
 
Old 09-06-2011, 11:23 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by aamerjavaid View Post
Actually its deleted, a tar backup taken before system update, which is now needed, as we want to restore in previous state its almost 20 days back.
Are you asking how to extract a tar file?

If not, can you please be more specific as to what you what to do?

Evo2.
 
Old 09-06-2011, 11:23 PM   #5
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Original Poster
Rep: Reputation: 15
However if we can flashback OVERWRITTEN, it will be also the best solution, we just want to restore/recreate a tar of 50G, not the whole mount point.

Thanks,
 
Old 09-06-2011, 11:28 PM   #6
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Evo2,
We have updated a database/Apps on a Linux box, before upgrade, we have taken tar backup of database/Apps, it worked, but some how, the tar backup got removed from the filesystem, and we want to go back to previous state, and there are 2 options as john pointed out
1). Restore the filesystem to 20 days back without a backup
2). Get back tar backup somehow on filesystem

Thanks,
 
Old 09-06-2011, 11:42 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
restore from the tape drive back up from 90 days back or 60 days back

you DO have multiple back ups ? right?


Quote:
and there are 2 options as john pointed out
??? WTF what ?????

i ASKED if you deleted it or overwrote it

so WHAT DID YOU DO !


lets see you said this is RHEL4
is it using ext2 or what as a file system
if the physical drive was UNPLUGGED as soon as "delete"( rm -R) was typed then "photorec " or "extundelete " might
 
Old 09-07-2011, 01:01 AM   #8
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Hi John,
Its a TEST Server and some Project updated/testing was going on that server, and we don't have backup either on TAPE or Disk. if we couldn't recover this, developers have to work for next 3 months.
its ext3 filesystem, and tar was removed with (rm) some 20 days back.

Can you help suggest some options, if we can recover from this, or please suggest some options/guidelines so that atleast avoid this in future.

Thanks,
 
Old 09-07-2011, 02:26 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
ts ext3 filesystem, and tar was removed with (rm) some 20 days back.
if the file on a working and in use drive was removed 20 days ago
you are out of luck
you could send it to a recovery specialist at about $5,000+ to $20,000

extundelete
http://extundelete.sourceforge.net/
might but do not count on it .

however if the file was not removed 5 Minuets ago do not expect much
or PhotoRec
http://www.cgsecurity.org/wiki/PhotoRec
 
Old 09-07-2011, 03:44 AM   #10
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Post

Thank you very much John,
I will give it a try.
 
  


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
LXer: Microsoft's Courtroom Flashback LXer Syndicated Linux News 0 12-02-2006 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 PM.

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