s! .*!!'`;" /> `
V
V
Vyacheslav2016-11-05 19:41:25
Debian
Vyacheslav, 2016-11-05 19:41:25

How to restore debian from dump?

Good afternoon.
The server was spinning on Debian.
Dumped
#/bin/sh
if [ 0 -ne "`date +%w`" ]; thenlvl=1; elselvl=1; fi
for p in `mount -t ext2,ext3,ext4 | sed 's!/dev/!!;s! .*!!'`; do
dump -${lvl} -a -j5 -h0 -f /var/sysdump/`date +%Y%m%d`.${p}.${lvl}.dump /dev/${p}
done
find /var/sysdump -ctime +60 -delete
Today I found that I got an error reading dev1/ on startup.
I don't know what the error is.
There are files with Dump. I see them through the Windows program Diskinternals Reader.
The question is how now to restore the entire system from a file?
How to copy the Dump somewhere?
Do I need to install Debian from scratch...
In general, I ask for advice on restoration ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question