Recovery Script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Recovery Script
# 1  
Old 07-15-2011
Recovery Script

Hi

I would like to make a script where, if a file is deleted in unix by any chance or by mistake, can it be recovered through a script... if yes what all commands will be needed. Could you please guide me in this case, to understand the concept.

Help will be highly appreciated
# 2  
Old 07-15-2011
Fine requirement. But to my knowledge files once deleted cannot be recovered Smilie as its removed from the memory once for all. If required we would be able to find if any files get deleted or not over a period of time.
# 3  
Old 07-15-2011
The recovery process heavily depends on the way you backed up your files.
Without a backup an undelete is not possible with the tools a shell script provides. The data your files contained may still be on your disk, but the inode entries are discarded.
# 4  
Old 07-15-2011
you may can give a try with the scalpel tool

How To Recover Deleted Files/Data In Ubuntu Linux
# 5  
Old 07-15-2011
Is this file getting updated continuously or just a config file?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Backup and Recovery

Is it possible to take incremental backup in Linux using tar command? Please guide me. Suppose I have a directory /data. And want incremental backup. What will be the incremental "tar" command syntax? (6 Replies)
Discussion started by: engineer2002
6 Replies

2. Shell Programming and Scripting

Script to automate recovery process

Hello All! First post... I am working on a script that is used to recover a crashed drive from an rsync backup. I'm down to the place where I need to create all of the directories in /mnt where I will then mount each of the volumes and begin the restore process to each volume... I have... (3 Replies)
Discussion started by: RogerBaran
3 Replies

3. Homework & Coursework Questions

Password recovery in login script help

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Hi guys. My case study is about creating a script that includes password recovery whenever a user forgets... (1 Reply)
Discussion started by: jenimesh19
1 Replies

4. Shell Programming and Scripting

bash script for password recovery

Hi all, I'm a complete newbie to bash scripting, although I have some experience in programming. The thing is that I have a .dmg file on my mac which I protected with a password, and now I've forgotten it. I remember the first few letters of the password and the characters that represent the... (4 Replies)
Discussion started by: sujay.jauhar
4 Replies

5. AIX

Automated Disk space recovery script

Hi, I have to write a shell script for disk space recovery - We have been facing disk space shortage issues very often. d=`df -k |awk '{print $5}' | egrep "" | cut -c-2` if then echo "DISK SPACE STATUS :NOT OK" >> /backup/stats/healthcheck/SCP1_BLU_HCsummary_$dt.txt else echo "DISK... (3 Replies)
Discussion started by: vasukv
3 Replies

6. AIX

AIX DR Recovery

I will be going for a DR test next month and have few concerns regarding restoring user vg's System which will be restored is on P750 (AIX 6.1) and the DR hdwr is P570. I do have bootable mksysb of the system and also have savevg (with no data) using "savevg -r -f " for the user volume... (5 Replies)
Discussion started by: mk8570
5 Replies

7. Solaris

Solaris recovery

Some thing happened to our solaris 10 ( sparc ) box and it is not coming up now. These are some of the console messages : I assume it is not able to find very basic system libraries so i need to tell it some how to find it under /lib:/usr/lib. I booted it from the CD but now i... (4 Replies)
Discussion started by: rajwinder
4 Replies

8. Solaris

crashdump recovery help

Hi all, how i recovery the files when system is crash? (using crashdump concept) regards Krishna (1 Reply)
Discussion started by: murthy76
1 Replies

9. UNIX for Dummies Questions & Answers

Password Recovery

Hi, I am new to unix and I set a password for a user and now I need to recover what that password was. Is there a way, where as root, I can view what a users passwords is? Thanks, Eric (2 Replies)
Discussion started by: ejbrever
2 Replies

10. UNIX for Dummies Questions & Answers

Password recovery

We recently terminated a developer at my place of employment who created scripts on a windows server (that i do not have access to) that invoke FTP sessions on my UnixWare 7.1.1 servers. I need to know the password that is being used. Does anyone know of a good password crack? (8 Replies)
Discussion started by: rm -r *
8 Replies
Login or Register to Ask a Question