From: Kurt T. <kur...@we...> - 2008-07-24 13:28:11
|
fatima ech-charif wrote: > i install backuppc in ubuntu 7.10 > and i want tio backup host client linux > so do you have some example file configuration for linux client > thanks As Nils suggested: > See the documentation: http://backuppc.sourceforge.net/faq/ > BackupPC.html If you have a specific problem, please tell us about it. Have you read the backuppc manual/faq - most stuff I learned from there - then in case of a specific problem you'll find great feedback here. Reading the documentation is important to learn and understand how your backup-system is working :-) regarding your question: I'm backing up my server with backuppc via rsyncd. You need to install rsyncd: https://help.ubuntu.com/community/rsync I don't use xinetd but can start rsync with # sudo /etc/init.d/rsync start Here you'll see a working configuration for an ubuntu server: (btw. if someone with mopre experience can look at my /etc/rsyncd.conf and give some hints about what are the most secured settings I would appriciate that, since I just tried to get rsyncd working :-o) - Kurt *** BEGIN /etc/backuppc/localhost.pl *** $Conf{FullPeriod} = '6.97'; $Conf{IncrPeriod} = '0.97'; $Conf{FullKeepCnt} = [ '2' ]; $Conf{IncrKeepCnt} = '14'; $Conf{XferMethod} = 'rsyncd'; $Conf{RsyncdUserName} = 'YOUR-RSYNCD-USERNAME'; $Conf{RsyncdPasswd} = 'YOUR-RSYNCD-PASSWORD'; $Conf{RsyncShareName} = [ 'YOUR-RSYNCD-MODULE-NAME' ]; $Conf{BackupFilesExclude} = { '*' => [ '/proc', '/dev', '/cdrom', '/media', '/floppy', '/mnt', '/var/lib/backuppc', '/lost+found', '/sys' ] }; $Conf{XferLogLevel} = '1'; $Conf{CompressLevel} = '3'; $Conf{IncrLevels} = [ '1', '2', '3' ]; *** BEGIN /etc/rsyncd.conf #gid = user max connections = 0 #transfer logging = true log format = %h %o %f %l %b log file = /var/log/rsyncd.log [YOUR-RSYNCD-MODULE-NAME] path = / read only = no uid = root gid = nogroup list = yes auth users = YOUR-RSYNCD-USER secrets file = /etc/rsyncd.secrets *** BEGIN /etc/rsyncd.secrets YOUR-RSYNCD-USER:YOUR-RSYNCD-PASSWORT |