Re: [BackupPC-users] Backup of Localhost (server) fails - fileListReceive failure
Hi, mollcons wrote on 2011-10-21 12:58:25 -0700 [[BackupPC-users] Backup of Localhost (server) fails - fileListReceive failure]: [...] full backup started for directory /home Running: /usr/bin/ssh -v -q -x -l root \$\{hostip\} /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /home/ 'ssh -v' is a stupid idea - it will always lead to failing backups: Fatal error (bad version): OpenSSH_5.6p1, OpenSSL 1.0.0e-fips 6 Sep 2011 The only confusing thing about this is that the quoted extraneous output is, in fact, a version description. It is, however, not the *rsync* version in the rsync protocol format, which rsync would expect here. Hope that helps. Regards, Holger -- 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Backup of Localhost (server) fails - fileListReceive failure
I am setting up BackupPC on my newly imaged Fedora 15 PC. Despite checking that the backuppc user can access the required folders through SSH, I get the following error in my log. Contents of file /raidata/backup//pc/legolas/XferLOG.bad.z, modified 2011-10-21 20:53:26 full backup started for directory /home Running: /usr/bin/ssh -v -q -x -l root \$\{hostip\} /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /home/ Xfer PIDs are now 20396 Got remote protocol 1852141647 Fatal error (bad version): OpenSSH_5.6p1, OpenSSL 1.0.0e-fips 6 Sep 2011 Read EOF: Connection reset by peer Tried again: got 0 bytes fileListReceive() failed Done: 0 files, 0 bytes Got fatal error during xfer (fileListReceive failed) Backup aborted (fileListReceive failed) Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0) [Crying or Very sad] +-- |This was sent by ch...@mollingtonconsultants.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] backup of localhost with rsync always aborts
Hello all together, since a few days i have a problem during the backup of the server itself (localhost). I use rsync to backup some directories of the server. This method worked fine for the last half year. But since a few days the backups of the localhost are starting correctly but after a few minutes the traffic on the disc stops and after 20 hours ($Conf{ClientTimeout} = 72000;) the process is aborted. My other 2 clients, connected by LAN, are still backed up without any problems. Does anyone has an idea what's going wrong? I'm really confused... Sven -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Backup of localhost
Is there a howto somewhere to do this...or even a mini howto? Can't seem to get to first base with this. The xfer.log: Running: /usr/bin/ssh -q -x -l root localhost /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . / Xfer PIDs are now 8169 Can't write 4 bytes to socket -- [EMAIL PROTECTED] 977-4412 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup from localhost failed
Matthias Meyer wrote: Is it right that localhost use ssh? Well it will work if the backuppc user has the proper credentials to login to localhost as root. It seems that this might not be the case. You don't need to use ssh and probably shouldn't however. I'd recommend using rsync or tar to backup localhost and just give the backuppc user sudo permissions. -- Randy Barlow http://electronsweatshop.com But you are a chosen race, a royal priesthood, a holy nation, a people for his own possession, that you may proclaim the excellencies of him who called you out of darkness into his marvelous light. Once you were not a people, but now you are God's people; once you had not received mercy, but now you have received mercy. ~1 Peter 2:9-10 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
On Fri, 2006-08-04 at 08:09, Rob Morin wrote: How can i tell if it used the config.pl in te pc folder or the main one? It seemed to have work ok last night but not sure if it used the new config or the main one? the new config uses this for backing up the localhost If you view the XferLOG in the web interface (under the backup summary list) it will show the command used. More generically you can see the last time a file was accessed with ls -lu filename, so if nothing else read it after the run you might tell from the timestamp - unless the backup includes it. -- Les Mikesell [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
The main config is always used but you can define in the per pc config file some parameters that overload (I don't if you say this way in english, I'm french :/) the same parameters of the main config.pl file. For exemple, with your per pc config, all the main variables will be used except these ones which will be read from the per pc configuration file: $Conf{TarShareName} $Conf{XferMethod} $Conf{TarClientCmd} $Conf{TarFullArgs} $Conf{TarFullArgs} $Conf{CompressLevel} $Conf{TarIncrArgs} $Conf{TarClientRestoreCmd} On Fri, 04 Aug 2006 09:09:55 -0400 Rob Morin [EMAIL PROTECTED] wrote: How can i tell if it used the config.pl in te pc folder or the main one? It seemed to have work ok last night but not sure if it used the new config or the main one? the new config uses this for backing up the localhost # start of the per pc config # $Conf{TarShareName} = ['/']; $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/var/log', '/mnt/usb', '/data/var/log', '/data/var/spool', '/data/BACKUP']; $Conf{XferMethod} = 'tar'; $Conf{TarClientCmd} = '/usr/bin/sudo' . ' $tarPath -c -v -f - -C $shareName' . ' --totals'; $Conf{TarFullArgs} = '$fileList'; $Conf{CompressLevel} = 3; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; $Conf{TarClientRestoreCmd} = '/usr/bin/sudo' . ' $tarPath -x -p --numeric-owner --same-owner' . ' -v -f - -C $shareName+'; # end of the per pc config # Thanks.. Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Les Mikesell wrote: On Thu, 2006-08-03 at 14:00 -0400, Rob Morin wrote: Ahh i see ok so if i force an incremental for all machines at, say midnight or 11pm they will always backup at that time then? ok cool... The next one won't start until about 24 hours has elapsed since the last run - then some other things could defer it. Another quick question, rather than do the rsync thing over ssh, i want to use a conf file someone on the list provided me to be placed in the pc's name dir... IE pc/localhost, now do i name the file config.pl or the name of the directory/pc IE localhost.pl as i forst named it localhost.pl and it still used ssh rather than tar Naming it config.pl in the pc/hostname directory will work. This file only needs to contain the settings that differ from the global config.pl file. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 82 05 Mail: [EMAIL PROTECTED] Web : http://www.firewall-services.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
Ok cool thanks, i forgot that that log was there i see this , so i guess its using tar! File /mnt/usb/BACKUP/pc/localhost/XferLOG.1.z Contents of file /mnt/usb/BACKUP/pc/localhost/XferLOG.1.z, modified 2006-08-04 02:09:50 Running: /usr/bin/sudo /bin/tar -c -v -f - -C / --totals --newer=2006-08-02 10:00:01 --exclude=./proc --exclude=./sys --exclude=./dev --exclude=./tmp --exclude=./var/log --exclude=./mnt/usb --exclude=./data/var/log --exclude=./data/var/spool --exclude=./data/BACKUP . Xfer PIDs are now 32057,32056 create 755 0/0 0 . create 755 0/0 0 lost+found create 755 0/0 0 etc create 644 0/0 624 etc/fstab create 755 0/0 0 etc/mkinitrd create 755 0/0 0 etc/mkinitrd/scripts create 755 0/0 0 etc/network Thats great, thanks! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Les Mikesell wrote: On Fri, 2006-08-04 at 08:09, Rob Morin wrote: How can i tell if it used the config.pl in te pc folder or the main one? It seemed to have work ok last night but not sure if it used the new config or the main one? the new config uses this for backing up the localhost If you view the XferLOG in the web interface (under the backup summary list) it will show the command used. More generically you can see the last time a file was accessed with ls -lu filename, so if nothing else read it after the run you might tell from the timestamp - unless the backup includes it. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
Another question, why does the backup seem to start at 11am? is there a place to alter this. my server(localhost) is now backing up itself and the load is now at 6.00, this makes other services slow on the machine But it should do just an incremental backup now , right since it did its first backup yesterday? Any help appreciated Thanks.. Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- daniel berteaud wrote: On Wed, 02 Aug 2006 10:44:18 -0400 Rob Morin [EMAIL PROTECTED] wrote: Well I'm quite new in linux and maybe others users will tell you you shouldn't give www-data a sudo permission. Anyway, If you wan't backuppc to backup your localhost, the user how runs backuppc needs root permissions to reach some system files. I don't think adding these lines to sudoers introduce many security risk because you give root permission only for the /bin/tar program (or the /bin/rsync). Of course it would be better to run backuppc as a special user. If you have problem using sperl, I saw on that you can run a special instance of apache under another user, specially for backuppc. Maybe that would be more secure. I had to use the user www-data as the backup user , because there is a problem for me to use sperl on all my debian systems for some reason Now if i add www-data to sudoers( which my apache runs as) does this introduce a security issue? Thanks... Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- daniel berteaud wrote: Hello, I worked on the integration of backuppc to SME server distribution. I use it to save several host including the localhost. For the localhost, I use this per pc config: # start of the per pc config # $Conf{TarShareName} = ['/']; $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup']; $Conf{XferMethod} = 'tar'; $Conf{TarClientCmd} = '/usr/bin/sudo' . ' $tarPath -c -v -f - -C $shareName' . ' --totals'; $Conf{TarFullArgs} = '$fileList'; $Conf{CompressLevel} = 3; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; $Conf{TarClientRestoreCmd} = '/usr/bin/sudo' . ' $tarPath -x -p --numeric-owner --same-owner' . ' -v -f - -C $shareName+'; # end of the per pc config # For this to work, you need to allow the backuppc user to run tar with sudo. I use this line in /etc/sudoers: backuppc ALL=(root) NOPASSWD:/bin/tar I hope this can help. On Tue, 01 Aug 2006 08:33:19 -0400 Rob Morin [EMAIL PROTECTED] wrote: Hello all , i am new to this list I was looking around the archives for a method of backing up the localhost. I could not find anything for a newbie i did come across a small email about using a conf file named localhost.pl that was suppose to be in the package, however i did not see it in my tarball... Can some one suggest hat i should do or point me to some docs... Thanks Have a great day! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
Well, it should do incremental backups, depending on the configuration. You can verify the type of each backup in the cgi interface. You can specify in the per pc configuration file the blackout periods so that backups only occure when you want them to occure. For exemple (this is the default configuration) $Conf{BlackoutPeriods} = [ { hourBegin = 7.0, hourEnd = 19.5, weekDays = [1, 2, 3, 4, 5], }, ]; With this the backups won't occure (if the host is always connected, but, as we talk about the localhost, it will always be connected) from 7h00 to 19h30 during all the week (from monday to friday). You can define several blackout period. On Thu, 03 Aug 2006 11:29:57 -0400 Rob Morin [EMAIL PROTECTED] wrote: Another question, why does the backup seem to start at 11am? is there a place to alter this. my server(localhost) is now backing up itself and the load is now at 6.00, this makes other services slow on the machine But it should do just an incremental backup now , right since it did its first backup yesterday? Any help appreciated Thanks.. Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- daniel berteaud wrote: On Wed, 02 Aug 2006 10:44:18 -0400 Rob Morin [EMAIL PROTECTED] wrote: Well I'm quite new in linux and maybe others users will tell you you shouldn't give www-data a sudo permission. Anyway, If you wan't backuppc to backup your localhost, the user how runs backuppc needs root permissions to reach some system files. I don't think adding these lines to sudoers introduce many security risk because you give root permission only for the /bin/tar program (or the /bin/rsync). Of course it would be better to run backuppc as a special user. If you have problem using sperl, I saw on that you can run a special instance of apache under another user, specially for backuppc. Maybe that would be more secure. I had to use the user www-data as the backup user , because there is a problem for me to use sperl on all my debian systems for some reason Now if i add www-data to sudoers( which my apache runs as) does this introduce a security issue? Thanks... Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
On Thu, 2006-08-03 at 18:01 +0200, daniel berteaud wrote: Well, it should do incremental backups, depending on the configuration. You can verify the type of each backup in the cgi interface. You can specify in the per pc configuration file the blackout periods so that backups only occure when you want them to occure. For exemple (this is the default configuration) $Conf{BlackoutPeriods} = [ { hourBegin = 7.0, hourEnd = 19.5, weekDays = [1, 2, 3, 4, 5], }, ]; With this the backups won't occure (if the host is always connected, but, as we talk about the localhost, it will always be connected) from 7h00 to 19h30 during all the week (from monday to friday). You can define several blackout period. To be considered 'always connected', some number of pings have to succeed outside of the blackout period. I usually start the initial backup of a new machine late in the day. Subsequent automatic runs won't start until 24 hours have passed, then later after the target is determined to be always available the runs won't start until the blackout period. If you force an incremental just before you leave work you'll shift into that cycle. -- Les Mikesell [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
By the way the backup took 12 hours to do, meanwhile the load was over 7 all the time Woa! that was for 65 gigs Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Rob Morin wrote: Ahh i see ok so if i force an incremental for all machines at, say midnight or 11pm they will always backup at that time then? ok cool... Another quick question, rather than do the rsync thing over ssh, i want to use a conf file someone on the list provided me to be placed in the pc's name dir... IE pc/localhost, now do i name the file config.pl or the name of the directory/pc IE localhost.pl as i forst named it localhost.pl and it still used ssh rather than tar Thanks dude! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Les Mikesell wrote: On Thu, 2006-08-03 at 18:01 +0200, daniel berteaud wrote: Well, it should do incremental backups, depending on the configuration. You can verify the type of each backup in the cgi interface. You can specify in the per pc configuration file the blackout periods so that backups only occure when you want them to occure. For exemple (this is the default configuration) $Conf{BlackoutPeriods} = [ { hourBegin = 7.0, hourEnd = 19.5, weekDays = [1, 2, 3, 4, 5], }, ]; With this the backups won't occure (if the host is always connected, but, as we talk about the localhost, it will always be connected) from 7h00 to 19h30 during all the week (from monday to friday). You can define several blackout period. To be considered 'always connected', some number of pings have to succeed outside of the blackout period. I usually start the initial backup of a new machine late in the day. Subsequent automatic runs won't start until 24 hours have passed, then later after the target is determined to be always available the runs won't start until the blackout period. If you force an incremental just before you leave work you'll shift into that cycle. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
On Thu, 2006-08-03 at 14:00 -0400, Rob Morin wrote: Ahh i see ok so if i force an incremental for all machines at, say midnight or 11pm they will always backup at that time then? ok cool... The next one won't start until about 24 hours has elapsed since the last run - then some other things could defer it. Another quick question, rather than do the rsync thing over ssh, i want to use a conf file someone on the list provided me to be placed in the pc's name dir... IE pc/localhost, now do i name the file config.pl or the name of the directory/pc IE localhost.pl as i forst named it localhost.pl and it still used ssh rather than tar Naming it config.pl in the pc/hostname directory will work. This file only needs to contain the settings that differ from the global config.pl file. -- Les Mikesell [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
I had to use the user www-data as the backup user , because there is a problem for me to use sperl on all my debian systems for some reason Now if i add www-data to sudoers( which my apache runs as) does this introduce a security issue? Thanks... Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- daniel berteaud wrote: Hello, I worked on the integration of backuppc to SME server distribution. I use it to save several host including the localhost. For the localhost, I use this per pc config: # start of the per pc config # $Conf{TarShareName} = ['/']; $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup']; $Conf{XferMethod} = 'tar'; $Conf{TarClientCmd} = '/usr/bin/sudo' . ' $tarPath -c -v -f - -C $shareName' . ' --totals'; $Conf{TarFullArgs} = '$fileList'; $Conf{CompressLevel} = 3; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; $Conf{TarClientRestoreCmd} = '/usr/bin/sudo' . ' $tarPath -x -p --numeric-owner --same-owner' . ' -v -f - -C $shareName+'; # end of the per pc config # For this to work, you need to allow the backuppc user to run tar with sudo. I use this line in /etc/sudoers: backuppc ALL=(root) NOPASSWD:/bin/tar I hope this can help. On Tue, 01 Aug 2006 08:33:19 -0400 Rob Morin [EMAIL PROTECTED] wrote: Hello all , i am new to this list I was looking around the archives for a method of backing up the localhost. I could not find anything for a newbie i did come across a small email about using a conf file named localhost.pl that was suppose to be in the package, however i did not see it in my tarball... Can some one suggest hat i should do or point me to some docs... Thanks Have a great day! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Matt wrote: Hi, I am using the rsyncd transfer method and would like to have each new backup be base to the most recent incremental, thus completely avoiding full backup after the first initial backup. Is this now possible with version 3.0.0 beta? Maybe $Conf{IncrLevels} can be use to this end but I don't see how. Regards, ... Matt - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
On Wed, 02 Aug 2006 10:44:18 -0400 Rob Morin [EMAIL PROTECTED] wrote: Well I'm quite new in linux and maybe others users will tell you you shouldn't give www-data a sudo permission. Anyway, If you wan't backuppc to backup your localhost, the user how runs backuppc needs root permissions to reach some system files. I don't think adding these lines to sudoers introduce many security risk because you give root permission only for the /bin/tar program (or the /bin/rsync). Of course it would be better to run backuppc as a special user. If you have problem using sperl, I saw on that you can run a special instance of apache under another user, specially for backuppc. Maybe that would be more secure. I had to use the user www-data as the backup user , because there is a problem for me to use sperl on all my debian systems for some reason Now if i add www-data to sudoers( which my apache runs as) does this introduce a security issue? Thanks... Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- daniel berteaud wrote: Hello, I worked on the integration of backuppc to SME server distribution. I use it to save several host including the localhost. For the localhost, I use this per pc config: # start of the per pc config # $Conf{TarShareName} = ['/']; $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup']; $Conf{XferMethod} = 'tar'; $Conf{TarClientCmd} = '/usr/bin/sudo' . ' $tarPath -c -v -f - -C $shareName' . ' --totals'; $Conf{TarFullArgs} = '$fileList'; $Conf{CompressLevel} = 3; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; $Conf{TarClientRestoreCmd} = '/usr/bin/sudo' . ' $tarPath -x -p --numeric-owner --same-owner' . ' -v -f - -C $shareName+'; # end of the per pc config # For this to work, you need to allow the backuppc user to run tar with sudo. I use this line in /etc/sudoers: backuppc ALL=(root) NOPASSWD:/bin/tar I hope this can help. On Tue, 01 Aug 2006 08:33:19 -0400 Rob Morin [EMAIL PROTECTED] wrote: Hello all , i am new to this list I was looking around the archives for a method of backing up the localhost. I could not find anything for a newbie i did come across a small email about using a conf file named localhost.pl that was suppose to be in the package, however i did not see it in my tarball... Can some one suggest hat i should do or point me to some docs... Thanks Have a great day! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 82 05 Mail: [EMAIL PROTECTED] Web : http://www.firewall-services.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Backup to localhost?
Hello all , i am new to this list I was looking around the archives for a method of backing up the localhost. I could not find anything for a newbie i did come across a small email about using a conf file named localhost.pl that was suppose to be in the package, however i did not see it in my tarball... Can some one suggest hat i should do or point me to some docs... Thanks Have a great day! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Matt wrote: Hi, I am using the rsyncd transfer method and would like to have each new backup be base to the most recent incremental, thus completely avoiding full backup after the first initial backup. Is this now possible with version 3.0.0 beta? Maybe $Conf{IncrLevels} can be use to this end but I don't see how. Regards, ... Matt - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
On Tue, 2006-08-01 at 07:33, Rob Morin wrote: I was looking around the archives for a method of backing up the localhost. I could not find anything for a newbie i did come across a small email about using a conf file named localhost.pl that was suppose to be in the package, however i did not see it in my tarball... Can some one suggest hat i should do or point me to some docs... There is some extra overhead in running ssh back to the local machine like you would any other but it usually doesn't matter. As long as the backups are done the next morning I wouldn't bother making it a special case. -- Les Mikesell [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup to localhost?
Thanks! I figured once the first pass is done the rest will not be as bad... i will wait and see what happens, however i will create this handy conf file anyways Thanks for all the replies! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- daniel berteaud wrote: Hello, I worked on the integration of backuppc to SME server distribution. I use it to save several host including the localhost. For the localhost, I use this per pc config: # start of the per pc config # $Conf{TarShareName} = ['/']; $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup']; $Conf{XferMethod} = 'tar'; $Conf{TarClientCmd} = '/usr/bin/sudo' . ' $tarPath -c -v -f - -C $shareName' . ' --totals'; $Conf{TarFullArgs} = '$fileList'; $Conf{CompressLevel} = 3; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; $Conf{TarClientRestoreCmd} = '/usr/bin/sudo' . ' $tarPath -x -p --numeric-owner --same-owner' . ' -v -f - -C $shareName+'; # end of the per pc config # For this to work, you need to allow the backuppc user to run tar with sudo. I use this line in /etc/sudoers: backuppc ALL=(root) NOPASSWD:/bin/tar I hope this can help. On Tue, 01 Aug 2006 08:33:19 -0400 Rob Morin [EMAIL PROTECTED] wrote: Hello all , i am new to this list I was looking around the archives for a method of backing up the localhost. I could not find anything for a newbie i did come across a small email about using a conf file named localhost.pl that was suppose to be in the package, however i did not see it in my tarball... Can some one suggest hat i should do or point me to some docs... Thanks Have a great day! Rob Morin Dido InterNet Inc. Montreal, Canada Http://www.dido.ca 514-990- Matt wrote: Hi, I am using the rsyncd transfer method and would like to have each new backup be base to the most recent incremental, thus completely avoiding full backup after the first initial backup. Is this now possible with version 3.0.0 beta? Maybe $Conf{IncrLevels} can be use to this end but I don't see how. Regards, ... Matt - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/