Re: [BackupPC-users] (no subject)
Hi.Still doesnt work. RegardsAndrzej___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] (no subject)
You'll need to prepend your command with the following: $sshPath -q -x -l backuppc $host curl... or $sshPath -q -x -l root $host curl... Click on the hyperlink DumpPreUserCmd for more details and examples, such as: '$sshPath -q -x -l root $host /usr/bin/dumpMysql'; From: Евгений Sent: Thursday, March 10, 2022 8:03 AM To: General list for user discussion, questions and support Subject: [BackupPC-users] (no subject) Hello. I'm trying to do backup with DumpPreUserCmd. This command is like: curl -s -u login:password -o /home/backuppc/mydir/myfile.zip http://$host/path/to/api and then xfer method tar from /home/backuppc/mydir curl download data, but output file is zero size. this end with error of zero data backuped. with curl -v I can see, that downloading goes without errors and conpletes with real size of file. I have no idea how to find reason to such error. Any help? I use bpc in docker. version - 4.4.0 also attached xfer log ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] (no subject)
Sorry for missed subject =(Resolved it. Backup after curl - tar archive (not compressed).It somewhat affected tar xfer method. I put curl into script and add pipe to gzip. after that tar method succeded in creating backup with .tar.gz suffix. 10.03.2022, 22:13, "Евгений" :Hello.I'm trying to do backup with DumpPreUserCmd.This command is like: curl -s -u login:password -o /home/backuppc/mydir/myfile.zip http://$host/path/to/apiand then xfer method tar from /home/backuppc/mydircurl download data, but output file is zero size. this end with error of zero data backuped.with curl -v I can see, that downloading goes without errors and conpletes with real size of file.I have no idea how to find reason to such error. Any help? I use bpc in docker. version - 4.4.0 also attached xfer log,,___BackupPC-users mailing listBackupPC-users@lists.sourceforge.netList: https://lists.sourceforge.net/lists/listinfo/backuppc-usersWiki: https://github.com/backuppc/backuppc/wikiProject: https://backuppc.github.io/backuppc/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] (no subject)
On Tue, Oct 1, 2013 at 12:55 AM, Prem squirr...@yahoo.com wrote: Hi, After upgrading from 3.2.1 to 3.3.0 I get this error when stopping the backuppc service: #service backuppc stop * Stopping backuppc... No process in pidfile '/var/run/backuppc/BackupPC.pid' found running; none killed. I checked the actual /etc/init.d/backuppc but cant see annything wrong. Any idea how to resolve this? You'll have to figure out why the pid file isn't being written at startup. This is probably very specific to your linux distribution, version, and how you installed and upgraded. -- Les Mikesell lesmikes...@gmail.com -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] (no subject)
I would have definitely checked that wouldnt I? ;) Its running and I could even kill the process and start it back...just getting the error when I stop the service... On Wednesday, October 2, 2013 3:05 PM, vano backuppc-fo...@backupcentral.com wrote: Probably start backuppc, because it's not running. After upgrading from 3.2.1 to 3.3.0 I get this error when stopping the backuppc service: # (root at mi-backup)service backuppc stop * Stopping backuppc... No process in pidfile '/var/run/backuppc/BackupPC.pid' found running; none killed. I checked the actual /etc/init.d/backuppc but cant see annything wrong. Any idea how to resolve this? +-- |This was sent by v...@qrz73.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk ___ 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/-- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___ 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/
Re: [BackupPC-users] (no subject)
On 2013-02-03 01:08, Matthew G. Ayres wrote: All the data is there I just can’t seem to get it threw the web interface I can get use the command line backup_zcat but it is not the best option Does BackupPC_tarCreate work? If so, then it's just your web server. Is it running as the backuppc user? Or is index.cgi setuid backuppc? Regards, Tyler -- A bad analogy is like a leaky screwdriver. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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/
Re: [BackupPC-users] (no subject)
. http://crecerproducciones.com.ar/day.link.php?ofugoogleId=42lu4 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ 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/
Re: [BackupPC-users] (no subject)
I'm pretty sure your right. I just got e-mails from you with links to great deals! on love drugs.. Les Mikesell wrote: Luis Paulo wrote: What's up, Les? Think someone may have hacked my gmail account. I don't normally send directly from it the way that originated. I've changed the password, but don't know if that's enough. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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/
Re: [BackupPC-users] (no subject)
What's up, Les? On Sun, Apr 11, 2010 at 10:39 PM, Les Mikesell lesmikes...@gmail.comwrote: http://BrionyTorreon3280.co.cc -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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/
Re: [BackupPC-users] (no subject)
Luis Paulo wrote: What's up, Les? Think someone may have hacked my gmail account. I don't normally send directly from it the way that originated. I've changed the password, but don't know if that's enough. -- Les Mikesell lesmikes...@gmail.com -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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/
Re: [BackupPC-users] (no subject)
Right. Much to read on google :) On Mon, Apr 12, 2010 at 12:33 AM, Les Mikesell lesmikes...@gmail.comwrote: Luis Paulo wrote: What's up, Les? Think someone may have hacked my gmail account. I don't normally send directly from it the way that originated. I've changed the password, but don't know if that's enough. -- Les Mikesell lesmikes...@gmail.com -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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/
Re: [BackupPC-users] (no subject)
Might it be a problem with permissions? check to see if Selinux is turned on, and if so, turn it off -- I destroy my enemies when I make them my friends - Abraham Lincoln - 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=100url=/ ___ 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/
Re: [BackupPC-users] (no subject)
First I would make sure that rsync is running (look at ps -ef for the rsync process). From the command line you should be able to: rsync [EMAIL PROTECTED]::root password: [password] and get the contents of your root directory listing. The username is the username specified in your conf file (/etc/rsyncd.conf) and matches an entry in your secrets file (/etc/rsyncd.secrets). The password is the password from the secrets file. One caveat is that if your password is more than 8 characters then you will need to put it in a file and use the --password-file option on rsync (many systems will not properly take passwords over 8 characters). Once you have rsync working from the command line then you are ready to tackle the BackupPC stuff. On 7/24/08, fatima ech-charif [EMAIL PROTECTED] wrote: i want to backup localhost with rsyncd but i got this problem full backup started for directory root (baseline backup #18) Got fatal error during xfer (auth failed on module root) Backup aborted (auth failed on module root) full backup started for directory root (baseline backup #18) Got fatal error during xfer (auth failed on module root) thanks - 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=100url=/ ___ 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/ -- Jonathan Craig - 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=100url=/ ___ 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/
Re: [BackupPC-users] (no subject)
fatima ech-charif wrote: i want to backup localhost with rsyncd but i got this problem full backup started for directory root (baseline backup #18) Got fatal error during xfer (auth failed on module root) Backup aborted (auth failed on module root) full backup started for directory root (baseline backup #18) Got fatal error during xfer (auth failed on module root) This indicates that your rsyncd-configuration is wrong. 1) Make sure that rsyncd is started by: rsync localhost:: This should return all configured shares. This hould return a line with the RSYNCD-SHARENAME 2) Make sure that you can connect to the share with rsync [EMAIL PROTECTED]::RSYNCD-SHARENAME This should return a list of the files after asking for your RSYNCD-PASSWORD I guess you made a mistake configuring username,password,sharename? Or maybe rsyncd is not running? Maybe try to see if rsync is running? ps -A|grep rsync Good luck. - Kurt - 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=100url=/ ___ 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/
Re: [BackupPC-users] (no subject)
Make sure that rsyncd is started by: rsync localhost:: This should return all configured shares. This hould return a line with the RSYNCD-SHARENAME Beware: this is true only if you have 'list = true' (or yes, or 1) in / etc/rsyncd.conf (or equivalent). But why not simply take a look at /var/log/rsyncd.log? If you have no rsyncd.log file, you can add 'log file = /var/log/rsyncd.log' in the main section of /etc/rsyncd.conf. Another thing: be sure you 'chmod 600 /etc/rsyncd.secrets' (or equivalent) or it may not work (with 'strict modes = true') Hope this helps. -- Vincent - 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=100url=/ ___ 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/
Re: [BackupPC-users] (no subject)
?? this is the backuppc list my friend. i suggest you find the cygwin list for specific help. may i suggest you also unistall cygwin and then reinstall it as a more priviledged user. On Mon, Jul 7, 2008 at 9:35 AM, fatima ech-charif [EMAIL PROTECTED] wrote: i would like install cygwin in windows xp but i got yhis problem: running no package /etc/postinstall/00ash.sh thanks - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ 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/ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ 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/
Re: [BackupPC-users] (no subject)
On Mon, Jun 09, 2008 at 02:55:56PM +, fatima ech-charif wrote: hello i have this problem, when i started backuppc, i get this: Can't create a test hardlink between a file in /data/BackupPC/pc and /data/BackupPC/cpool. Either these are different file systems, or this file system doesn't support hardlinks, or these directories don't exist, or there is a permissions problem, or the file system is out of inodes or full. Use df, df -i, and ls -ld to check each of these possibilities. Quitting... What kind of file system is /data/BackupPC ? Are the permissions correct? Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.craniosacralzentrum.de www.forteego.de - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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/
Re: [BackupPC-users] (no subject)
kanti wrote: This is an edited version of a previous post when i type on the browser http://localhost/BackupPC after that its ask for a user name and passwd . so i enterd the Username - admin and passwd - admin1234 as follows After that i m got those options which i alreday told u . And secondly i didn't make any changes in #vi config.pl file . what ever the default setting its remain same . And for ur information the configuration the main config.pl for $Conf{CgiAdminUsers} is like this # If you want every user to have admin privileges (careful!), set # $Conf{CgiAdminUsers} = '*'. # # Examples: #$Conf{CgiAdminUserGroup} = 'admin'; #$Conf{CgiAdminUsers} = 'craig celia'; #-- administrative users are the union of group admin, plus # craig and celia. # #$Conf{CgiAdminUserGroup} = ''; #$Conf{CgiAdminUsers} = 'craig celia'; #-- administrative users are only craig and celia'. # $Conf{CgiAdminUserGroup} = ''; $Conf{CgiAdminUsers} = ''; Change this to $Conf{CgiAdminUsers} = 'admin'; If you are using mod_perl, you will have to restart the httpd service after making the change. If you run as a normal CGI script it will take effect without a restart. -- Les Mikesell [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/
Re: [BackupPC-users] (no subject)
Being a novice I hesitate to give advice but I had the same problem which I solved by adding a link apache.conf to backuppc.conf as I found on this site: http://wiki.debian.org/DebianEdu/HowTo/BackupPC Then restart apache. Hope that helps GerryMc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gilles Guiot Sent: 05 February 2008 16:29 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] (no subject) Hello all, I'm on a server installed with debian testing (iso in date of 2008/02/04) I installed the latest version of backup PC byt apt-get. Everything went fine, like with other installs of backuppc. Only glitch is that i cant 'access the interface http://localhost/backuppc I keep getting a message : the resquested url /backuppc wasn't found on this server. Apache says it's working fine, and the LOG in var/lib/backuppc/log only tells me = - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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/
Re: [BackupPC-users] (no subject)
Hello thanks for the reply. Just solved the problem. uninstalled completely backuppc and apache. (remove --purge + rm backuppc) then installed apache2 (just noted it was the installed package when apt-get install apache). Then selected apache2 at the backuppc installation prompt.. et voilà silly mistake on my part apache and apache2 have indeed different conf files... this one is solved :) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; backuppc-users@lists.sourceforge.net Subject: RE: [BackupPC-users] (no subject) Date: Tue, 5 Feb 2008 18:53:03 + Being a novice I hesitate to give advice but I had the same problem which I solved by adding a link apache.conf to backuppc.conf as I found on this site: http://wiki.debian.org/DebianEdu/HowTo/BackupPC Then restart apache. Hope that helps GerryMc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gilles Guiot Sent: 05 February 2008 16:29 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] (no subject) Hello all, I'm on a server installed with debian testing (iso in date of 2008/02/04) I installed the latest version of backup PC byt apt-get. Everything went fine, like with other installs of backuppc. Only glitch is that i cant 'access the interface http://localhost/backuppc I keep getting a message : the resquested url /backuppc wasn't found on this server. Apache says it's working fine, and the LOG in var/lib/backuppc/log only tells me = _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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/
Re: [BackupPC-users] (no subject)
Hello again, I tried to change what you said... (sudo -i) and now I get a different error: Fatal error (bad version): stdin: is not a tty This is the configuration file: # ## Backup For Host: host1 ## $Conf{XferMethod} = 'rsync'; $Conf{RsyncClientPath} = '/usr/bin/rsync'; $Conf{RsyncClientCmd} = '$sshPath -l root xxx.xxx.xxx.xxx nice -n 19 sudo -i $rsyncPath $argList+'; $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root xxx.xxx.xxx.xxx nice -n 19 sudo $rsyncPath $argList+'; $Conf{RsyncShareName} = ['/etc', '/var/www']; $Conf{BackupFilesExclude} = ['swapfile','access_log', 'error_log']; $Conf{PingMaxMsec} = 300; # What would be wrong? Thanks and regards, Mariano -Original Message- From: Joe Krahn [mailto:[EMAIL PROTECTED] Sent: viernes, 01 de febrero de 2008 07:54 p.m. To: Mariano Sokal Subject: Re: [BackupPC-users] (no subject) Mariano Sokal wrote: Hello from Buenos Aires. I have just installed backuppc, and I was doing some tests with ./BackupPC_dump -v -f host1. And I´m getting the following error: Running: /usr/bin/ssh -l root xx.xx.xx.xx nice -n 19 sudo i /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive -D --exclude=swapfile --exclude=access_log --exclude=error_log --ignore-times . /etc/ Got remote protocol 1868854643 *Fatal error (bad version): sudo:* Can't write 43 bytes to socket Any ideas? Best regards, Mariano Sokal Is that sudo i supposed to be sudo -i? Joe Krahn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/
Re: [BackupPC-users] (no subject)
I just figured this out myself. You have to runs ssh with flags -t -t (or just -tt). That flag says to allocate a tty, but you need 2 to force a tty when ssh is not called from a tty. BUT, I also see that you are using ssh -l root. The point of using sudo is that you don't need remote-root access. The default configuration needs to be better designed to get this right, with proper security considerations. Another problem I realized is that rsync cannot preserve user/group values unless the local rsync is run as root. I am going to try to work on this. Hasn't someone else on this list worked on this?? Mariano Sokal wrote: Hello again, I tried to change what you said... (sudo -i) and now I get a different error: Fatal error (bad version): stdin: is not a tty This is the configuration file: # ## Backup For Host: host1 ## $Conf{XferMethod} = 'rsync'; $Conf{RsyncClientPath} = '/usr/bin/rsync'; $Conf{RsyncClientCmd} = '$sshPath -l root xxx.xxx.xxx.xxx nice -n 19 sudo -i $rsyncPath $argList+'; $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root xxx.xxx.xxx.xxx nice -n 19 sudo $rsyncPath $argList+'; $Conf{RsyncShareName} = ['/etc', '/var/www']; $Conf{BackupFilesExclude} = ['swapfile','access_log', 'error_log']; $Conf{PingMaxMsec} = 300; # What would be wrong? Thanks and regards, Mariano -Original Message- From: Joe Krahn [mailto:[EMAIL PROTECTED] Sent: viernes, 01 de febrero de 2008 07:54 p.m. To: Mariano Sokal Subject: Re: [BackupPC-users] (no subject) Mariano Sokal wrote: Hello from Buenos Aires. I have just installed backuppc, and I was doing some tests with ./BackupPC_dump -v -f host1. And I´m getting the following error: Running: /usr/bin/ssh -l root xx.xx.xx.xx nice -n 19 sudo i /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive -D --exclude=swapfile --exclude=access_log --exclude=error_log --ignore-times . /etc/ Got remote protocol 1868854643 *Fatal error (bad version): sudo:* Can't write 43 bytes to socket Any ideas? Best regards, Mariano Sokal Is that sudo i supposed to be sudo -i? Joe Krahn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/
Re: [BackupPC-users] (no subject)
Les Mikesell wrote: Joe Krahn wrote: BUT, I also see that you are using ssh -l root. The point of using sudo is that you don't need remote-root access. The default configuration needs to be better designed to get this right, with proper security considerations. When you need this remote access to have read/write permission on all of your target files, how much more secure do you think you can make it? Right! So sudo really is not useful with the BackupPC design. Ideally, automatic restores should be executed under the user that requested them, and restoration if privileged files should require that the local restore command be invoked or authenticated locally by root. If you disallow remote root write access, then some access restrictions can actually be enforced. Some security can be added with ssh; see http://www.linux.com/feature/113847 Joe Krahn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/
Re: [BackupPC-users] (no subject)
Joe Krahn wrote: BUT, I also see that you are using ssh -l root. The point of using sudo is that you don't need remote-root access. The default configuration needs to be better designed to get this right, with proper security considerations. When you need this remote access to have read/write permission on all of your target files, how much more secure do you think you can make it? -- Les Mikesell [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/
Re: [BackupPC-users] (no subject)
Carl Keil wrote: I'm sorry for the delay, I'm just now getting a chance to try the perl -ne suggestion. What do you mean by backuppc's header info? How would I search for that? Thanks for your suggestions, backuppc stores the compressed backed up files in compressed blocks with an md4 rsync checksum. For instance, you can't just gunzip filename from the pool to examine the contents of the file. You have to use backuppc's zcat utility. I don't know that the format is documented outside of the perl module that does it. Kinda looks like it does zlib blocks and it tweaks the first byte... Take a look at BackuppC::FileZIO for more details... http://backuppc.cvs.sourceforge.net/backuppc/BackupPC/lib/BackupPC/FileZIO.pm?revision=1.26view=markup Rich - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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/
Re: [BackupPC-users] (no subject)
is this OSX server? id be interested in your success if so. on a desktop i dont know the usefulness(to me) but to each their own. On 10/25/07, Fabrice Blatch [EMAIL PROTECTED] wrote: hello i'm wanting to install and configure backuppc 3.0 on a Mac OS X 10.4.10 system. has anyone out there done so successfully, if so, would you please help me to achieve it. thank you - 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 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ - 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 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] (no subject)
Kimball writes: Hokay, I'm stuck. I give. I need help. The documentation for UserCmdCheckStatus says: [snip] But it still runs the backup (and writes over my mount point for my external drive) I've verified that the script returns a non-zero when the drive is not present: sillyHost:~ backuppc$ /usr/bin/ssh -q -x -l kimball 192.168.0.21 /usr/local/bin/checkHonker Checking for Honker Honker NOT mounted sillyHost:~ backuppc $ echo $? 1 What am I missing? What version of BackupPC are you running? Craig - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] (no subject)
Craig, On Sep 20, 2007, at 8:27 PM, Craig Barratt wrote: Kimball writes: Hokay, I'm stuck. I give. I need help. The documentation for UserCmdCheckStatus says: [snip] But it still runs the backup (and writes over my mount point for my external drive) I've verified that the script returns a non-zero when the drive is not present: sillyHost:~ backuppc$ /usr/bin/ssh -q -x -l kimball 192.168.0.21 / usr/local/bin/checkHonker Checking for Honker Honker NOT mounted sillyHost:~ backuppc $ echo $? 1 What am I missing? What version of BackupPC are you running? Thanks for the reply, but I discovered (and later discussed on this list) what the problem was: My script was checking for the existence of the backup volume, which does not exist on Mac OS X when it is unplugged (it's a firewire disk, and when unplugged, /Volumes/Honker disappears). However, before this script is run as the before dump check, backuppc checks that /Volumes/Honker/Backups (my preferred backup location) exists, and creates it if it does not exist - only it gets created on the local drive, because the firewire drive is unplugged. Thus, my script was always returning a successful return value. See later posts from me about possible solutions and work- arounds. Thanks! -- Kimball - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] (no subject)
On 03/07 08:52 , James Ward wrote: The servers PID is 3784, on host gorleben, version 2.1.2pl1, started at 2/26 13:55. Host User#Full Full Age/days Full Size/GB Speed MB/ sec#Incr Incr Age/days State Last attempt gorgonbackuppc3 12.21973.02 8.426 6.1 idlenothing to do localhost backuppc3 12.20.000.086 6.1 idlenothing to do medusabackuppc4 8.5 1768.93 8.486 5.5 idlenothing to do uranusbackuppc4 5.5 1801.85 8.126 8.5 idlebackup done It hasn't done a backup in a few days... Any idea why? any jobs queued or running? out of disk space? -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.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] (no subject)
SAJChurchey writes: I'm trying to restore a full backup to a newly installed server after we re-installed the OS. I'm trying to use rsync method. Whenever I try to restore files I get the following errors on the entire pool. Remote[2]: skipping non-regular file filename What could be causing these errors? None of the files in question are symlinks. So I don't understand what I need to do to restore this. Any help would be greatly appreciated. Hmmm. It appears that the file mode is not being interpreted correctly by rsync. First thing to try: replace --devices with -D in both $Conf{RsyncArgs} and $Conf{RsyncRestoreArgs}. Failing that, try just a smaller subdirectory and you could try setting $Conf{XferLogLevel} to around 5 or so to get more detailed information. If you are still unsuccesful, try tar (either changing the XferMethod or manually just by running BackupPC_tarCreate and pipe it into something like ssh -l root HOST tar -C /somewhere -xpf -). Craig Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] (no subject)
On Thu, 2006-02-16 at 00:02, Alexey Parshin wrote: I've installed backuppc on my Gentoo Linux server. It even runs the backups and reported for one of them that it's done (Others are still running). However, if I switch to the LOG file in CGI interface - it shows: Can't open log file /var/lib/backuppc/log/LOG I can see the error file, XferLOG.1.z, but donno what program can unpack it :( Any help is appreciated.. Does /var/lib/backuppc/log/LOG exist? I don't know much about gentoo but the httpd process has to have permission to access the file. One way this might happen is that you have set the setuid bit on the BackupPC_Admin program, made it owned by the backuppc user, and run it as a normal cgi. This also requires that you have the suidperl perl program which may or may not be a separate package to install (in RedHat/Fedora it is called perl-suidperl). -- Les Mikesell [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/