Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Backuppc] Problème Backuppc (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Nitral
n00b
n00b


Joined: 03 May 2010
Posts: 11

PostPosted: Fri Jun 11, 2010 7:54 am    Post subject: [Backuppc] Problème Backuppc (résolu) Reply with quote

Bonjour,


Je suis en train d'installer le logiciel Backuppc sur mon serveur Gentoo, et lorsque je veux sauvegarder un poste Linux, j'ai une erreur :

full backup started for directory /root/asauver
Got fatal error during xfer (Unable to read 4 bytes)
Backup aborted (Unable to read 4 bytes)

J'arrive bien à me connecter depuis le serveur vers le client en ssh, il me demande pas le mot de passe (par clés publique/privé). Mais lorsque je lance la sauvegarde j'ai cette erreur. Je n'arrive pas à comprendre pourquoi.

Voila si quelqu'un s'y connait avec le logiciel Backuppc qu'il me fasse signe!


Last edited by Nitral on Wed Jun 16, 2010 9:27 am; edited 2 times in total
Back to top
View user's profile Send private message
ceric35
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2006
Posts: 115

PostPosted: Fri Jun 11, 2010 7:57 am    Post subject: Reply with quote

T'es tu bien connecter sur le client en étant utilisateur "backuppc" sur
le serveur ?

Généralement, backuppc tourne en utilsateur backuppc
et il faut faire une connection au moins une fois
pour accepter la signature du client.

Code:
su backuppc
ssh <nomduclientdanslaconfbackuppc>
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Fri Jun 11, 2010 8:26 am    Post subject: Reply with quote

Peux-tu mettre ton titre du topic en conformité avec les conventions de notre forum s'il te plait ? Merci :)

Et montre ta config (les parties pertinentes, genre les commandes de backup) pour qu'on puisse t'aider. T'utilises la méthode rsync je suppose, il est bien installé sur la machine distante ?
Back to top
View user's profile Send private message
Nitral
n00b
n00b


Joined: 03 May 2010
Posts: 11

PostPosted: Fri Jun 11, 2010 9:15 am    Post subject: Reply with quote

J'utilise effectivement la méthode rsync, je me suis déjà connecté sur la machine distante en tant que backuppc (j'ai tapé 'yes' à la première connexion).

Rsync est bien installé sur la machine distante.

J'ai bien rempli mes deux fichiers de configuration sur le serveur, à savoir nomdemachine.pl et hosts.

$Conf{XferMethod} = 'rsync' ;

$Conf{RsyncShareName} = '/asauver' ;

$Conf{FullPeriod} = 7;

$Conf{IncrPeriod} = 1;

$Conf{FullKeepCnt} = 1;
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Fri Jun 11, 2010 11:38 am    Post subject: Reply with quote

Et pour $Conf{RsyncClientPath} et $Conf{RsyncClientCmd} ?

EDIT: et t'as vérifé les logs de transferts pour voir s'il y a d'autres infos ?
Back to top
View user's profile Send private message
Nitral
n00b
n00b


Joined: 03 May 2010
Posts: 11

PostPosted: Fri Jun 11, 2010 12:01 pm    Post subject: Reply with quote

$Conf{RsyncClientPath} = '/usr/bin/rsync';

$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+'; (normal, je veux me connecter en root sur la machine distante).

Par contre si je jette un coup d'œil sur 'nano /var/lib/backuppc/pc/mon_pc/XferLOG.bad.z, ça me sort une page avec des caractères incompréhensibles, genre : x^uP�n�0^L��+xìªN.

Sinon aucune autre info valable sur les logs.
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Fri Jun 11, 2010 1:32 pm    Post subject: Reply with quote

Normal pour le log, il est compressé avec une méthode interne de Perl, qui ne passe pas avec gzip ni uncompress d'ailleurs. Regarde depuis l'interface web, tu pourras les lire (ou ya ptêt moyen via les outils en CLI, mais j'ai pas cherché).

Sinon le ssh en root, c'est quand même pas top, je te conseillerai plutôt de faire un user backuppc ajouté au sudoers et limite à l'execution de rsync --server --sender (c'est là que sudo a une vraie utilitée), $Conf{RsyncClientCmd} = '$sshPath -c blowfish -q -x -l backuppc $host sudo $rsyncPath $argList+'; pis voilà. :)

EDIT: BackupPC_zcat pour lire les .z, je viens de tester.
Back to top
View user's profile Send private message
Nitral
n00b
n00b


Joined: 03 May 2010
Posts: 11

PostPosted: Mon Jun 14, 2010 9:54 am    Post subject: Reply with quote

Ok pour le Ssh root par contre je n'accède pas à l'interface graphique, je fais tout en ligne de commande... -_-'

Edit : Résolu, j'ai réussi la sauvegarde, merci quand même.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum