Safecopy

Fórum: 

Sziasztok. Mivel sikeresen töröltem a winchesteremről mindent(gyors törlés) elvileg még menthető..szóval telepítettem a safecopy alkalmazást de nem tudom,hogy kell elindítani. Tudnátok ebben segíteni? köszi : Gábor

kimarite képe

A TestDisk nem jó? (másolásra

A TestDisk nem jó? (másolásra)

https://unix.stackexchange.com/questions/24518/recovering-ntfs-drive-with-safecopy/24534#24534
http://tuxdiary.com/2014/12/10/safecopy/

Safecopy 1.7 by CorvusCorax
Usage: safecopy [options] <source> <target>
Options:
	--stage1 : Preset to rescue most of the data fast,
	           using no retries and avoiding bad areas.
	           Presets: -f 10% -r 10% -R 1 -Z 0 -L 2 -M BaDbLoCk
	                    -o stage1.badblocks
	--stage2 : Preset to rescue more data, using no retries
	           but searching for exact ends of bad areas.
	           Presets: -f 128* -r 1* -R 1 -Z 0 -L 2
	                    -I stage1.badblocks
	                    -o stage2.badblocks
	--stage3 : Preset to rescue everything that can be rescued
	           using maximum retries, head realignment tricks
	           and low level access.
	           Presets: -f 1* -r 1* -R 4 -Z 1 -L 2
	                    -I stage2.badblocks
	                    -o stage3.badblocks
	All stage presets can be overridden by individual options.

http://safecopy.sourceforge.net/

Értékelés: 

0
Még nincs értékelve
kimarite képe

data recovery tool for problematic or damaged media

https://packages.ubuntu.com/focal/safecopy
https://packages.debian.org/bullseye/safecopy

A példában

  • a ./ nem kell a parancssor elejére.
  • a /dev/cdrom, amiről...
  • a backup.iso, amibe...

Másként (példa):

sudo safecopy /dev/sdb data.img --stage3
  • sudo - admin jog
  • safecopy - futtatás
  • /dev/sdb - második lemez (b), amiről...
  • data.img - mentés neve, amibe... (itt nem látható a mentés helye, úgy, mint elérési út.  Fontos! -> másik külső tároló legyen)
  • stage3 - részletesség

Értékelés: 

0
Még nincs értékelve

data recovery tool for problematic or damaged media

Köszi a választ! ezt igy mindet be kell irni? bocsi de fogalmam sincs, nem csináltam még ilyet... az lemaradt,hogy 1tb-os külső vinyót kellene helyreállítanom,és nem lemezképbe,hanem úgy ahogy volt. ezt aképet láttam én is,próbáltam beírni az első sort és utána inditani, de semmi..

Értékelés: 

0
Még nincs értékelve
kimarite képe

data recovery tool for problematic or damaged media

#3 próbáltam beírni az első sort

Egészen pontosan milyen sort futtattál? Ugyanazt, mint a képen? A /dev/cdrom a DVD ROM...

Értékelés: 

0
Még nincs értékelve
kimarite képe

Savecopy

Nem állít helyre, hanem mentést készít másolással:

save + copy

Nem az eredetit állítja vissza, hanem a mentésben teszi meg a lehetőséget a javításra..

A Safecopy egy adatmentő eszköz, amely megpróbál minél több adatot kinyerni egy kereshető, de problémás (azaz sérült szektorok) forrásból. A forrás magában foglalja a cserélhető adathordozókat (például CD-ket, DVD-ket és Blu-ray lemezeket) és a merevlemezpartíciókat. A szoftver szükség esetén eszközspecifikus alacsony szintű műveletekhez folyamodik.

A szoftver előnye, hogy a helyreállítás akkor is folytatódik, ha az I/O hibák más eszközökkel nem folytatódna.

Az olyan normál másolóeszközök, mint a cat, a cp vagy a dd nem teszik lehetővé egy lemezről vagy médiaeszközről képfájl létrehozását, ha egy szektor beolvasása meghibásodott.

A funkciók közé tartoznak:

-- Olvashatóbb kimenetet biztosít, mint más helyreállító eszközök.
-- Feltámaszt egy fájlt egy csatlakoztatott, de sérült adathordozóról, amelyen a másolás sikertelen.
-- Létrehoz egy fájlrendszer-képet egy sérült lemezről vagy adathordozóról.
-- Az adatok minél alaposabb vagy minél gyorsabb helyreállítása, vagy ezek kombinációja.
-- Az adatmentési művelet későbbi időpontban történő folytatása badblockok kimenetével vagy anélkül.
-- Megkeresni a sérült fájlokat a részben sikeres mentett fájlrendszerben.
-- A megmentett adatok két részleges képének kombinálása a tényleges (sérült) forrásadatok nélkül.
-- Általános hardveres hozzáférés.
-- Blokk- és kihagyási méretek megadása.
-- Inkrementális adatmentés.
-- Támogatja a RAW-hozzáférést.
https://www.linuxlinks.com/safecopy/

Értékelés: 

0
Még nincs értékelve
kimarite képe

data recovery tool for problematic or damaged media

#6 De mi volt a kimenet? Az sdb eszközzel....

A mentés elérési útját megadtad?

  • egy befűzött pendrive elérési útja ..., olyan, ami nagyobb, mint a menteni kívánt képfájl, azaz elfér rajta a mentés?
  • A rendszeren egy könyvtár, aminek írásához jogod van.

Értékelés: 

0
Még nincs értékelve
kimarite képe

data recovery tool for problematic or damaged media

#8 Szöveget így: szöveg megosztása (szöveget képen NE ossz meg)
Képet az Imgur vagy az imgBB portálokkal, regisztráció után. Nem kell beágyazni, de hasznos elolvasnod:
https://linuxmint.hu/comment/25562#comment-25562

Értékelés: 

0
Még nincs értékelve

data recovery tool for problematic or damaged media

ha már beolvasta a lemezt,kiir csomó lehetőséget,meg szöveget,hogy kell elinditani hogy csinálja?

Low level device calls enabled mode: 1
Reported low level blocksize: 4096
Filesize not reported by stat(), trying seek().
Unable to determine input file size.
Blocksize: 4096
Fault skip blocksize: 65536
Resolution: 4096
Min read attempts: 3
Head moves on read error: 1
Starting block: 0
Source: /path/to/problemfile
Destination: /home/gabor/saved-file
Error opening sourcefile: /path/to/problemfile : No such file or directory
Safecopy 1.7 by CorvusCorax
Usage: safecopy [options]
Options:
--stage1 : Preset to rescue most of the data fast,
using no retries and avoiding bad areas.
Presets: -f 10% -r 10% -R 1 -Z 0 -L 2 -M BaDbLoCk
-o stage1.badblocks
--stage2 : Preset to rescue more data, using no retries
but searching for exact ends of bad areas.
Presets: -f 128* -r 1* -R 1 -Z 0 -L 2
-I stage1.badblocks
-o stage2.badblocks
--stage3 : Preset to rescue everything that can be rescued
using maximum retries, head realignment tricks
and low level access.
Presets: -f 1* -r 1* -R 4 -Z 1 -L 2
-I stage2.badblocks
-o stage3.badblocks
All stage presets can be overridden by individual options.
-b : Blocksize for default read operations.
Set this to the physical sectorsize of your media.
Default: 1*
Hardware block size if reported by OS, otherwise 4096
-f : Blocksize when skipping over badblocks.
Higher settings put less strain on your hardware,
but you might miss good areas in between two bad ones.
Default: 16*
-r : Resolution in bytes when searching for the exact
beginning or end of a bad area.
If you read data directly from a device there is no
need to set this lower than the hardware blocksize.
On mounted filesystems however, read blocks
and physical blocks could be misaligned.
Smaller values lead to very thorough attempts to read
data at the edge of damaged areas,
but increase the strain on the damaged media.
Default: 1*
-R : At least that many read attempts are made on the first
bad block of a damaged area with minimum resolution.
More retries can sometimes recover a weak sector,
but at the cost of additional strain.
Default: 3
-Z : On each error, force seek the read head from start to
end of the source device as often as specified.
That takes time, creates additional strain and might
not be supported by all devices or drivers.
Default: 1
-L : Use low level device calls as specified:
0 Do not use low level device calls
1 Attempt low level device calls
for error recovery only
2 Always use low level device calls
if available
Supported low level features in this version are:
SYSTEM DEVICE TYPE FEATURE
Linux cdrom/dvd bus/device reset
Linux cdrom read sector in raw mode
Linux floppy controller reset, twaddle
Default: 1
--sync : Use synchronized read calls (disable driver buffering).
Safecopy will use O_DIRECT if supported by the OS
and O_SYNC otherwise.
Default: Asynchronous read buffering by the OS is allowed
--forceopen : Keep trying to reopen the source after a read errer
useful for USB drives that go away temporarily.
Warning: This can cause safecopy to hang
until aborted manually!
Default: Abort on fopen() error
-s : Start position where to start reading.
Will correspond to position 0 in the destination file.
Default: block 0
-l : Maximum length of data to be read.
Default: Entire size of input file
-I : Incremental mode. Assume the target file already
exists and has holes specified in the badblockfile.
It will be attempted to retrieve more data from
the listed blocks or from beyond the file size
of the target file only.
Warning: Without this option, the destination file
will be emptied prior to writing.
Use -I /dev/null if you want to continue a previous
run of safecopy without a badblock list.
Implies: -c 0 if -c is not specified
Default: none ( /dev/null if -c is given )
-i : Blocksize to interpret the badblockfile given with -I.
Default: Blocksize as specified by -b
-c : Continue copying at this position.
This allows continuing if the output is a block device
with a fixed size as opposed to a growable file,
where safecopy cannot determine how far it already got.
The blocksize used is the same as for the -I option.
-c 0 will continue at the current destination size.
Implies: -I /dev/null if -I is not specified
Default: none, 0 if -I is specified
-X : Exclusion mode. If used together with -I,
excluded blocks override included blocks.
Safecopy will not read or write any data from
areas covered by exclude blocks.
Default: none ( 0 if -I is given )
-x : Blocksize to interpret the badblockfile given with -X.
Default: Blocksize as specified by -b
-o : Write a badblocks/e2fsck compatible bad block file.
Default: none
-S : Use external script for seeking in input file.
(Might be useful for tape devices and similar).
Seekscript must be an executable that takes the
number of blocks to be skipped as argv1 (1-64)
the blocksize in bytes as argv2
and the current position (in bytes) as argv3.
Return value needs to be the number of blocks
successfully skipped, or 0 to indicate seek failure.
The external seekscript will only be used
if lseek() fails and we need to skip over data.
Default: none
-M : Mark unrecovered data with this string instead of
skipping it. This helps in later finding corrupted
files on rescued file system images.
The default is to zero unreadable data on creation
of output files, and leaving the data as it is
on any later run.
Warning: When used in combination with
incremental mode (-I) this may overwrite data
in any block that occurs in the -I file.
Blocks not in the -I file, or covered by the file
specified with -X are save from being overwritten.
Default: none
--debug : Enable debug output. Level is a bit field,
add values together for more information:
program flow: 1
IO control: 2
badblock marking: 4
seeking: 8
incremental mode: 16
exclude mode: 32
or for all debug output: 255
Default: 0
-T : Write sector read timing information into
this file for later analysis.
Default: none
-h | --help : Show this text

Valid parameters for -f -r -b options are:
Amount in bytes - i.e. 1024
% Percentage of whole file/device size - e.g. 10%
* -b only, number times blocksize reported by OS
* -f and -r only, number times the value of -b

Description of output:
. : Between 1 and 1024 blocks successfully read.
_ : Read of block was incomplete. (possibly end of file)
The blocksize is now reduced to read the rest.
|/| : Seek failed, source can only be read sequentially.
> : Read failed, reducing blocksize to read partial data.
! : A low level error on read attempt of smallest allowed size
leads to a retry attempt.
[xx](+yy){ : Current block and number of bytes continuously
read successfully up to this point.
X : Read failed on a block with minimum blocksize and is skipped.
Unrecoverable error, destination file is padded with zeros.
Data is now skipped until end of the unreadable area is reached.
< : Successful read after the end of a bad area causes
backtracking with smaller blocksizes to search for the first
readable data.
}[xx](+yy) : current block and number of bytes of recent
continuous unreadable data.

Copyright 2012 CorvusCorax
This is free software. You may redistribute copies of it under
the terms of the GNU General Public License version 2 or above.
.
There is NO WARRANTY, to the extent permitted by law.

Értékelés: 

0
Még nincs értékelve
kimarite képe

data recovery tool for problematic or damaged media

#10 ha már beolvasta a lemezt

Milyen lemezről van szó? Mi olvasta be?
Egészen pontosan le tudnád lépésekben írni, mit csinálsz? Mert most ez érthetetlen sajnos.

Értékelés: 

0
Még nincs értékelve
kimarite képe

data recovery tool for problematic or damaged media

#13 :) https://giphy.com/clips/hamlet-muppets-kermit-evil-t6KpkzeB5EEuHFIVQv

Értékelés: 

0
Még nincs értékelve

Kísérlet adatmentésre

Még nem használtam, de azért megemlítem: A GParted-nek van "Kísérlet adatmentésre" opciója.
https://ibb.co/MZr16Dm
Kell hozzá a "gpart" csomag ... ez nem része az alaptelepítésnek - telepíteni kell.
sudo apt install gpart

Grafikus, magyar nyelvű, - úgy-hogy szerintem egy próbát megér.

Egy másik grafikus felületű file recovey program a "QphotoRec".
https://www.youtube.com/watch?v=abyBS8fWT2s
Ha tudod hogy milyenfájl típusokat szeretnél visszaállítani, ez is könnyen megadható / bejelölhető.
(Hogy ne mindenféle szirt-szart állítson vissza - hatalmas mennyiségben - hanem csak azt ami neked
ténylegesen hiányzik.)

Ha a GParted nem válik be, és gondolod hogy kipróbálod ezt, akkor majd leírom hogy juthatsz hozzá.

Értékelés: 

0
Még nincs értékelve