10 More Discussions You Might Find Interesting
1. Solaris
hi all
i have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it?
right now i don't have veritas file system setup. i have only ufs file sysytem
please help some production data is to be restore. (3 Replies)
Discussion started by: nikhil kasar
3 Replies
2. Shell Programming and Scripting
How do i make a hardlink readable,writable, and executable by me?
I am kinda hoping for a command i can use
Also, i was wondering what file type are hardlinks and softlinks?Are they directories? (10 Replies)
Discussion started by: lilbo4231
10 Replies
3. UNIX for Dummies Questions & Answers
I want to copy over the contents of one partition on hard drive A to another partition on hard drive B. Using DD command caused problems since it overwrote the partition information on hard drive B and made hard drive B's partition size the same as the one on partition A.
Our department manager... (5 Replies)
Discussion started by: mojoman
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
i am a real dummy to unix and in need of help.My platform is Sun solaris(5.9)
I have a dump file, an oracle cold backup taken with ufsdump command. This dump file resides on the disk, not the tape.
I want to extract this dump file to a directory. But i cant, i read about ufsrestore... (1 Reply)
Discussion started by: merope
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all, having problem with dump & restore for cloning simple linux system.
The command is : dump -0u -f /temp/var.dump /dev/sda5
But somehow the result displayed:
~~~~~~
dump: ACLs in inode #1250760 won't be dumped: Inappropriate ioctl for device
dump: ACLs in inode #1250761 won't be... (1 Reply)
Discussion started by: mycoolwater
1 Replies
6. Red Hat
Hi,
I am using RHEL 4.0
I need to take backup of a directory and then restore it to some other location.
For taking Backup of final directory, I am using this code:
dump -0aj -f /home/vicky/final.dump /home/vicky/final/
Now, I am trying to restore this final.dump to some other... (2 Replies)
Discussion started by: vikas027
2 Replies
7. UNIX for Dummies Questions & Answers
Q1: Let's say I create a hard-link bar.c in /tmp to a file foo.c which resides in /var/tmp. Is there a easy way to find out which file /tmp/bar.c hardlinks to (and vice-versa - i.e which files have got hard-linked from /var/tmp/foo.c) when one does not (and wants to) know the location of the other... (0 Replies)
Discussion started by: mahatma
0 Replies
8. Shell Programming and Scripting
Hi all,
I want to restore DB file in many mysql servers, i already using script for sending the dumpfile in all servers, but it's just annoying if i have to restore the dumpfile in all servers, i want just execute 1 script, and will restore in all remote mysql servers. I make script but not... (2 Replies)
Discussion started by: blesets
2 Replies
9. UNIX for Dummies Questions & Answers
I have a file with .dmp.gz. I am trying to uncompress this file in a new directory. was able to use gzip to take off the gz extension. How do I get the .dmp extension off? Will ufsrestore work on SUN system?
HELP! (2 Replies)
Discussion started by: sankera
2 Replies
10. UNIX for Dummies Questions & Answers
I am using command substitution into a find command in a script where I have built a menu to do a bunch of tasks within my unix account. When I choose the options for to find a file/files that have the same inode of the entered filename, ie hardlinks, nothing shows up. When I choose the appropiate... (2 Replies)
Discussion started by: hunternjb
2 Replies
EXTUNDELETE(1) General Commands Manual EXTUNDELETE(1)
NAME
extundelete - utility to undelete files from an ext3 or ext4 partition.
SYNOPSIS
extundelete [options] device-file...
DESCRIPTION
extundelete is a utility that can recover deleted files from an ext3 or ext4 partition
extundelete uses the information stored in the partition's journal to attempt to recover a file that has been deleted from the partition.
There is no guarantee that any particular file will be able to be undeleted, so always try to have a good backup system in place, or at
least put one in place after recovering your files!
OPTIONS
--version
Prints the version number of extundelete.
--help Print a brief usage summary for extundelete.
Partition name
Name of the partition that has deleted files, such as /dev/sda3.
Could also be the file name of a copy of the partition, such as that made with dd.
--superblock
Prints information about the filesystem from the superblock.
--journal --superblock
Prints information about the journal from the journal's superblock.
--inode #
Prints the information from the inode number of the filesystem given, such as "--inode 2".
--block #
Prints the contents of the block, called as "--block 9652".
--restore-file path/to/deleted/file
Attempts to restore the file which was deleted at the given filename, called as "--restore-file dirname/filename".
--restore-inode #
Used to restore inodes by number, called as "--restore-inode 2569".
Also accepts a list of inodes separated by only commas, such as "--restore-inode 2569,5692,6925".
--restore-files filename
Restores a list of files. First, construct a list of files in the same style as would be
used in the --restore-file option, and save it to the file "filename".
Then, this option may be used to attempt to restore those files with a single call to extundelete.
This form also reduces redundancy from multiple calls parsing the journal multiple times.
--output-dir path/to/dump/recovered/files
Restores files in the output dir 'path'.
By default the restored files are created under current directory 'RECOVERED_FILES'
--restore-all
Restores all files possible to undelete to their names before deletion, when possible. Other files are restored to a filename like
"file.NNNN".
--restore-directory path/of/directory
Restores all files possible to link to specified directory to their names before deletion, when possible.
-j journal_dev
Specifies the device that is the external journal of the file system.
-b block_number
Specifies the block number of the backup superblock to be used when opening the file system.
-B block_size
Specifies the block size of the partition to be used when opening the file system.
--before date
Only restore files deleted before the date specified, which should be in the form of the number of seconds since the UNIX epoch.
Use a shell command like
$ date -d "Aug 1 9:02" +%s
to convert a human-readable date to the proper format. The conversion from the number of seconds to a readable format may be found
by using either of the following:
$ date -d@1234567890
$ perl -le "print scalar localtime 1234567890"
--after date
Only restore files deleted after the date specified, which should be in the form of the number of seconds since the UNIX epoch.
See the notes for the --before option for more information.
AUTHOR
extundelete was written by Nic Case <number9652@users.sourceforge.net> Copyright (C) 2009, 2010
This manual page was written by Elias Alejandro Ano Mendoza <ealmdz@gmail.com>, for the Debian project (and may be used by others).
September 29, 2010 EXTUNDELETE(1)