10-03-2011
I would just add, that it would be useful to tell us about your environment (OS + version, dedicated or virtual, etc.).
For example, I don't take backups of my VM's, but I know that I have a Time Machine backup of my Mac, so if push came to shove, I could get the VMDK files back, and recover my files another way.
Knowing as much about your setup could help someone help you.
8 More Discussions You Might Find Interesting
1. SCO
I am unbale to uncompress a file which was compress then moved to another pc in ascii mode instead of binary mode. Is there any way to recover it. Please help us. While uncompress it is giving corrupt input. (3 Replies)
Discussion started by: raj2610
3 Replies
2. UNIX for Advanced & Expert Users
the file /etc/passwd has corrupted mistakenly.actually the file has saved as "oot:0:0:root:/root/sbin/bash".
first r of root has been deleted ..
can anyone tell me how can i recover as normal user (2 Replies)
Discussion started by: singh_hackerz
2 Replies
3. UNIX for Advanced & Expert Users
Hey peeps,
Here is somethin u might find interestin....
Is it possible to recover data from a partition which used to be an ext3 file sytem with some nice forgotten backups, which now is an lvm partion containg root partition of another OS. :)
I couldn't create any mess better than this, can... (2 Replies)
Discussion started by: squid04
2 Replies
4. UNIX for Dummies Questions & Answers
Hi there,
When I want to make a file unrecoverable, I use the following command:
foo:~$ shred -fuz filename
The problem is that I deleted many files using:
foo:~$ rm -f filename
How can I make those files unrecoverable?
Is there a command that shreds the disk free space?
So that no file can... (2 Replies)
Discussion started by: chebarbudo
2 Replies
5. UNIX for Advanced & Expert Users
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Discussion started by: king_hippo
0 Replies
6. Solaris
Is it possible to reset a normal user password , by editing password field in /etc/shadow file?
Thanks (6 Replies)
Discussion started by: ksvaisakh
6 Replies
7. Cybersecurity
Hello friends
I have an CentosOS 5 box running Apache, I want to Install a powerful File Integrity checker with recovery option to maintain any changes may be happened without my hand
Could you help me to recommend such solution
Thanks (3 Replies)
Discussion started by: reaky
3 Replies
8. UNIX for Advanced & Expert Users
is it possible to recovery a deleted file in AIX? (2 Replies)
Discussion started by: fiyas
2 Replies
LEARN ABOUT OSF1
db_recover
db_recover(8) System Manager's Manual db_recover(8)
NAME
db_recover - Restores the database to a consistent state (Enhanced Security)
SYNOPSIS
/usr/tcb/bin/db_recover [-cv] [-h home]
FLAGS
Failure was catastrophic. Specify a home directory for the database. The correct directory for enhanced security is /var/tcb/files.
Write out the pathnames of all of the database log files, whether or not they are involved in active transactions. Run in verbose mode.
DESCRIPTION
A customized version of the Berkeley Database (Berkeley DB) is embedded in the operating system to provide high-performance database sup-
port for critical security files. The DB includes full transactional support and database recovery, using write-ahead logging and check-
pointing to record changes.
The db_recover utility runs after an unexpected system failure to restore the security database to a consistent state. All committed
transactions are guaranteed to appear after db_recover has run, and all uncommitted transactions are completely undone. DB recovery is
normally performed automatically for the security files as part of system startup.
In the case of catastrophic failure, an archival copy, or snapshot of all database files must be restored along with all of the log files
written since the database file snapshot was made. (If disk space is a problem, log files may be referenced by symbolic links).
If the failure was not catastrophic, the files present on the system at the time of failure are sufficient to perform recovery.
If log files are missing, db_recover identifies the missing log files and fails, in which case the missing log files need to be restored
and recovery performed again.
The db_recover utility attaches to one or more of the Berkeley DB shared memory regions. In order to avoid region corruption, it should
always be given the chance to detach and exit gracefully. To cause db_recover to clean up after itself and exit, send it an interrupt sig-
nal (SIGINT).
RETURN VALUES
The db_recover utility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT VARIABLES
If the -h option is not specified and the environment variable DB_HOME is set, it is used as the path of the database home. The home
directory for security is /var/tcb/files.
FILES
/var/tcb/files/auth.db
/var/tcb/files/dblogs/*
RELATED INFORMATION
Commands: db_archive(8), db_checkpoint(8), db_printlog(8), db_dump(8), db_load(8), db_stat(8), secconfig(8) delim off
db_recover(8)