Hi,
> Falko Trojahn wrote:
>
>> Hello all,
>>
>> for backing up Win* machines I use vss snapshots as in this description:
>>
>> http://www.goodjobsucking.com/?p=62
>>
>> When trying to restore some files/directories using method 1, the
>> restore fails with "inet connect: Connection timed out", since there is
>> no rsync running on the target machine during restore.
>>
>> Is there a possiblity to set other XFerMethod etc. for restore?
>>
>> Or do you see another option here?
>>
>> using backuppc version 3.1.0-9 on Debian Squeeze.
Am 25.11.2011 19:57, schrieb Matthias Meyer:
> I use the $Conf{DumpPreUserCmd} to run a script on my windows client which
> will start the rsync daemon if it is not running.
> It is nearly the same as you do before "dump" during your "preusercmd.sh"
> e.g. pre-restore.cmd:
> /bin/rsync --daemon --detach --config=/etc/rsyncd.conf
Thanx for your answer. In the meantime I've found the following solution:
- backup takes place using VSS snapshot - e.g. partitions C: and D:
snapshot are mounted as A: and B:, which has corresponding rsyncd
configuration - so this cannot be used for restore
- I've created another rsyncd.conf for partitions C: and D:,
and now rsyncd is started/stopped using
$Conf{RestorePreUserCmd} = '/etc/backuppc/bin/prerestorecmd-domain.sh
$host';
$Conf{RestorePostUserCmd} = '/etc/backuppc/bin/postrestorecmd-domain.sh
$host'
- "read only = no" in rsyncd.conf is essential :)
Best regards,
Falko
--
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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/
|