Re: [BackupPC-users] backuppc+rsyncd
2008-07-16 09:27:12
Hi Fatima,
fatima ech-charif wrote:
> i will to backup host windows with protocol rsyncd
> but i got this problem :
> 1- Erreur: Backup number for host x.x.x.x does not exist
> 2-Backup failed on x.x.x.x (Can't read PC's config file: Couldn't
> execute /etc/backuppc/192.168.1.118.pl <http://192.168.1.118.pl>:
> my file x.x.x.x.pl <http://x.x.x.x.pl> is in attached
You're using my suggested CLIENT.pl file from the wiki :-)
You need to adapt the file to your needs, especially give the right
rsyncd-sharename, rsyncd-username and rsyncd-password.
taken from your attached file:
# What transport to use backup the client [smb|rsync|rsyncd|tar|archive]:
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncdUserName} = 'backuppc';
$Conf{RsyncdPasswd} = 'YOUR-PASSWORD-GOES-IN-HERE';
$Conf{RsyncShareName} = [
'root'
];
Username, Password and Sharename should be the same like on your client
pc /etc/rsyncd.conf
You can test your rsyncd-setup with:
# rsync RSYNCD-USERNAME@CLIENTPC::
This should give you a list of the rsyncd-shares you configured on the
client
# rsync RSYNCD-USERNAME@CLIENTPC::RSYNCSHARENAME
should return the filelist.
If this is working, you can continue testing your BackupPC configuration.
On the backuppc-server I had problems accessing the configuration files
from the backuppc-server GUI until I did:
# sudo chown backuppc:www-data *.pl
You can also try to restart your BackupPC Server with
# sudo /etc/init.d/backuppc restart
Good Luck :-)
- Kurt
PS: I'll send you the configuration files from a working client via
private mail.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/
|
|
|