10-21-2015
yes or no, depends on your luck. But if you ask it - no, it is not possible.
9 More Discussions You Might Find Interesting
1. AIX
Are there any products out there that provide a disk imaging solution for AIX (and HPUX and Solaris for that matter)? In a development environment where users are looking to restore an OS quickly back to a certain point in time, what is there available for this besides opening up the system,... (7 Replies)
Discussion started by: tb0ne
7 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 Dummies Questions & Answers
Hi,
We have a file which needs supper user previleges to delete. There are 10 users having super user preveleges. Some times back that file got deleted. How to know who has deleted that file? (6 Replies)
Discussion started by: siba.s.nayak
6 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. Shell Programming and Scripting
I accidently deleted the files from linux machine. How to restore back the files. (1 Reply)
Discussion started by: sandy1028
1 Replies
6. Solaris
hi there,
Is there any way to retrive the deleted files from solaris,
we are using solaris 10 and the file seems delete when it is opened.
I search over by Google but no good result...
tnx :-) (4 Replies)
Discussion started by: dagigg
4 Replies
7. AIX
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
8. AIX
Hi
Can ony one advise which files can be deleted in /usr in an aix hacmp node ? Im new to aix and Im not sure which files can be deleted ?
#df -g /usr
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd2 7.00 1.00 86% 67013 22% /usr
... (4 Replies)
Discussion started by: samsungsamsung
4 Replies
9. UNIX for Advanced & Expert Users
Hi,
Please let me know the way to recover the files deleted from home directory by 'rm*' command .
Thanks in advance. (10 Replies)
Discussion started by: ravigupta2u
10 Replies
LEARN ABOUT DEBIAN
bup-damage
bup-damage(1) General Commands Manual bup-damage(1)
NAME
bup-damage - randomly destroy blocks of a file
SYNOPSIS
bup damage [-n count] [-s maxsize] [--percent pct] [-S seed] [--equal]
DESCRIPTION
Use bup damage to deliberately destroy blocks in a .pack or .idx file (from .bup/objects/pack) to test the recovery features of bup-fsck(1)
or other programs.
THIS PROGRAM IS EXTREMELY DANGEROUS AND WILL DESTROY YOUR DATA
bup damage is primarily useful for automated or manual tests of data recovery tools, to reassure yourself that the tools actually work.
OPTIONS
-n, --num=numblocks
the number of separate blocks to damage in each file (default 10). Note that it's possible for more than one damaged segment to
fall in the same bup-fsck(1) recovery block, so you might not damage as many recovery blocks as you expect. If this is a problem,
use --equal.
-s, --size=maxblocksize
the maximum size, in bytes, of each damaged block (default 1 unless --percent is specified). Note that because of the way bup-
fsck(1) works, a multi-byte block could fall on the boundary between two recovery blocks, and thus damaging two separate recovery
blocks. In small files, it's also possible for a damaged block to be larger than a recovery block. If these issues might be a
problem, you should use the default damage size of one byte.
--percent=maxblockpercent
the maximum size, in percent of the original file, of each damaged block. If both --size and --percent are given, the maximum block
size is the minimum of the two restrictions. You can use this to ensure that a given block will never damage more than one or two
git-fsck(1) recovery blocks.
-S, --seed=randomseed
seed the random number generator with the given value. If you use this option, your tests will be repeatable, since the damaged
block offsets, sizes, and contents will be the same every time. By default, the random numbers are different every time (so you can
run tests in a loop and repeatedly test with different damage each time).
--equal
instead of choosing random offsets for each damaged block, space the blocks equally throughout the file, starting at offset 0. If
you also choose a correct maximum block size, this can guarantee that any given damage block never damages more than one git-fsck(1)
recovery block. (This is also guaranteed if you use -s 1.)
EXAMPLE
# make a backup in case things go horribly wrong
cp -a ~/.bup/objects/pack ~/bup-packs.bak
# generate recovery blocks for all packs
bup fsck -g
# deliberately damage the packs
bup damage -n 10 -s 1 -S 0 ~/.bup/objects/pack/*.{pack,idx}
# recover from the damage
bup fsck -r
SEE ALSO
bup-fsck(1), par2(1)
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown- bup-damage(1)