BackupPC-users

Re: [BackupPC-users] Bare metal restore

2010-05-10 13:48:07
Subject: Re: [BackupPC-users] Bare metal restore
From: Stefan Peter <s_peter AT swissonline DOT ch>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 10 May 2010 19:45:49 +0200
Am 10.05.2010 16:41, schrieb Boniforti Flavio:
> Hello Joshua
> 

> What my concern is about, is the fact that when I'd be reinstalling from
> scratch on a new HDD, how would I get to the same state of installed/not
> installed packages as it was on its latest useful backup? Is there any
> way to somehow extract some sort of "Sysmte State" (like on Windows
> boxes) to know which packages are installed, and which aren't? 

Under Debian, a '$sshPath -q -x -l root $host /usr/bin/dpkg
--get-selections >/root/selections.txt' in the DumpPreUserCmd works
wonders.

Other package managers may have something similar.

Of course, you need access to this file prior to restoring the data in
order to be able to re-install your packages on a basic OS installation
(this will be along the lines of 'dpkg --set-selections
</root/selections.txt' under Debian).

Regards
Stefan Peter



------------------------------------------------------------------------------

_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/