Restore (was: swapping LVs about)
Alexander Skwar
listen at alexander.skwar.name
Sun Sep 3 14:59:58 UTC 2006
· Gabriel M Dragffy <dragffy at yandex.ru>:
> On Sun, 2006-09-03 at 14:42 +0200, Alexander Skwar wrote:
>> · Garyu <ulist at gs1.ubuntuforums.org>:
>>
>> > I don't know anything about snapshots, but isn't this what "fakeroot" is
>> > supposed to be for?
>>
>> Hm, isn't fakeroot a program, which fakes those programs it runs into
>> "believing" that they are run by root?
>>
>> Alexander Skwar
>> --
>> The proof of the pudding is in the eating.
>> -- Miguel de Cervantes
>
> I remember, Alexander pointed me to creating snapshot volumes and then
> using partimage to make a back of these. After much tinkering and
> learning (modprobe dm-snapshot saved a lot of time!!)
:)
> I have created
> desired backups.
Fine.
> Now my next question is how to restore them... I have
> backups of the system mounts such as /, /usr, /var etc. Must I boot into
> another linux installation or can I somehow do it online?
It very much depends on what kind of restore you're talking
about. If you need to restore *everthing*, then yes, I'd suggest
to do this from some other distribution, as you might have
problems overwriting certain files in / or /usr.
But if you just need to restore one file, then no, you don't
need another distribution. How did you make the backup? Into
a cpio/tar or with something like rsnapshot, which will, essentially,
just copy all the files over to some other directory?
Alexander Skwar
--
"Here's something to think about: How come you never see a headline like
`Psychic Wins Lottery.'"
-- Comedian Jay Leno
More information about the ubuntu-users
mailing list