Re: [BackupPC-users] vmware/virtuabox/etc.?
On Wed, Apr 8, 2009 at 3:13 PM, Les Mikesell lesmikes...@gmail.com wrote: a VMware/virtualbox or other virtual machine image that could run on any machine that would be able to access this disk via a USB adapter for quick emergency restores. Does anyone have experience with any of the virtual machine's USB handling to know if this would be practical and which technology would be best at it? Virtualbox handles USB devices (like harddisks) good. You can start virtualbox on your windows/linux box, boot your virtual debian, install backuppc and mount the USB device on the backuppc directory :-) (and don't forget to config/backup your /etc/backuppc dir) cheers Kristof -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] What is it doing? How to see progess?
Are you using rsync or rsyncd? I'm using rsyncd (XferMethod=rsyncd), in an ssh-tunnel (I repeat this because maybe that could be the culprit): Here the commands used: Executing DumpPreUserCmd: /var/lib/backuppc/tunnel.sh -f administra...@mail.omvsa.ch -L 8874:127.0.0.1:873 sleep 20 Because rsync has problems when syncing to Windows systems (this is a problem with protocol 28 that is resolved in protocol 30 but backuppc does not yet support protocol 30). If so, then try using rsyncd instead (and look at the archives for more details). As you talk about protocol 28 and 30, look at this log output: Executing DumpPreUserCmd: /var/lib/backuppc/tunnel.sh -f administra...@mail.omvsa.ch -L 8874:127.0.0.1:873 sleep 20 SSH Tunnel started successfully. full backup started for directory profilo Connected to localhost:8874, remote version 30 Negotiated protocol version 28 - Do you see that there is this thing mentioned? Is there the problem? After above lines, I get: Connected to module profilo Sending args: --server --sender -rtvz --port=8874 --delete --ignore-errors --numeric-ids --delete-excluded --stats --progress --block-size=2048 --ignore-times . . Checksum seed is 1239221555 Got checksumSeed 0x49dd0533 -- Then it goes on with getting files, creates the list, starts to send empty checksums and in the end it remains stuck at: Sending csums, cnt = 0, phase = 1 Any other clues? Thanks, Flavio Boniforti. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] What is it doing? How to see progess?
If you want, this one is nice too: watch ls -l /proc/pid/fd | grep backuppc Look: Every 2.0s: ls -la /proc/27161/fd |grep backuppc Thu Apr 9 08:44:36 2009 dr-x-- 2 backuppc backuppc 0 9 apr 08:43 . dr-xr-xr-x 7 backuppc backuppc 0 9 apr 08:42 .. l-wx-- 1 backuppc backuppc 64 9 apr 08:43 0 - /dev/null l-wx-- 1 backuppc backuppc 64 9 apr 08:43 1 - pipe:[5257127] l-wx-- 1 backuppc backuppc 64 9 apr 08:43 2 - pipe:[5257127] l-wx-- 1 backuppc backuppc 64 9 apr 08:43 3 - /var/lib/backuppc/pc/mail.omvsa.ch/LOG.042009 l-wx-- 1 backuppc backuppc 64 9 apr 08:43 4 - /var/lib/backuppc/pc/mail.omvsa.ch/XferLOG.z l-wx-- 1 backuppc backuppc 64 9 apr 08:43 5 - /var/lib/backuppc/pc/mail.omvsa.ch/NewFileList lrwx-- 1 backuppc backuppc 64 9 apr 08:43 6 - socket:[5257182] No files are being transferred... :-/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] vmware/virtuabox/etc.?
I did a little test with my laptop. VMware server 2.0 free download Memory available for OS 384 MB Debian etch Freecom Hard Drive Pro 250 GB USB2 disk formatted ext3 bs 4096 dd if=/dev/zero of=/dev/sdb1 bs=4k count=300k 307200+0 records in 307200+0 records out 1258291200 bytes (1.3 GB) copied, 63.8275 seconds, 19.7 MB/s dd of=/dev/null if=/dev/sdb1 bs=4k count=300k 307200+0 records in 307200+0 records out 1258291200 bytes (1.3 GB) copied, 70.719 seconds, 17.8 MB/s dd if=/dev/zero of=/dev/sdb1 bs=64k count=100k 102400+0 records in 102400+0 records out 6710886400 bytes (6.7 GB) copied, 324.055 seconds, 20.5 MB/s If you want another test, i can easily install something else on this VM debian, cause it's only a test system. Greetings, Koen Linders -Oorspronkelijk bericht- Van: Les Mikesell [mailto:lesmikes...@gmail.com] Verzonden: woensdag 8 april 2009 23:30 Aan: General list for user discussion, questions and support Onderwerp: Re: [BackupPC-users] vmware/virtuabox/etc.? Rob Owens wrote: Both Virtualbox and the current vmware server/player claim to work with USB 2.0 but I haven't done any speed tests yet - in fact I haven't been able to get virtualbox to see usb drives at all. I think USB only works in the closed source version of VirtualBox. Yes, I think that's what I'm using. It does see the USB, installs some sort of new driver on the windows side and lets me tell the guest to capture it, but then the status always shows as busy and the guest never sees it. If you decide to got the live cd route, you might want to try Ubuntu. Version 8.10 comes with a nice and easy USB stick installer. Sidux has one, too. I think clonezilla has a ubuntu-base version. I'll try that again. But I'm still interested in a VM that has decent USB speed so I can plug ext3 drives into my laptop and access them while still running windows. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] I don't get how to do a local backup with tar
Hi, Laurin d'Volts wrote on 2009-04-08 23:10:37 -0500 [[BackupPC-users] I don't get how to do a local backup with tar]: I'm playing with the CGI, and I can't grasp the logic of backuppc. I won't comment on that. What I want to do is tar only certain folders. xfermethod = tar TarShareName = / Backupfilesonly = /home/laurin/images For some odd reason, when I go back to localhost Home it wants to archive the entire root. I don't understand this. Am I not specifying to only select /home/laurin/images from the various files/folders that exist under root? No. Otherwise it would work. Let's have a lengthy discussion, trying unsuccessfully to pry details about your configuration from you, so we can figure out where your typo is, so you can figure out that the configuration files are somehow connected to the matter. Then you'll google up something, break your system somehow, and summarize that you've fixed it. Sounds like a good thing to spend my time on. Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/
[BackupPC-users] Backup remote ftp server (internet site)
Hi all, i've installed BackupPC 3.2.0. It works very well! I'm trying to do a remote ftp server backup. The ftp server is a internet site; i've ftp access to manage all site files. My aim is to backup this site. So, i create a new host, and set: $Conf{ClientNameAlias} - the full ftp address $Conf{XferMethod} - FTP $Conf{FtpShareName} - tryed both nothing and /htdocs (it's a web site, and this it it's root). $Conf{FtpUserName} - ftp host username $Conf{FtpPasswd} - ftp host password but, if i try to run a full backup, it does not run with this error: Last error is xfer start failed: Can't open connection to : Invalid argument. Any suggets/tips? Thanks! Regards M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
Tried again, running it... Here the last log lines: Sending csums, cnt = 0, phase = 1 Child is sending done Got done from child Got stats: 3579597837 204684981 75895600 0 ('errorCnt' = 0,'ExistFileSize' = 0,'ExistFileCnt' = 0,'TotalFileCnt' = 0,'ExistFileCompSize' = 0,'TotalFileSize' = 0) finish: removing in-process file angelo/Application Data/Microsoft/Forms/RefEdit.exd attribWrite(dir=fprofilo/angelo/Application Data/Microsoft) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/fangelo/fApplication Data/fMicrosoft/attrib attribWrite(dir=fprofilo/angelo/Application Data) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/fangelo/fApplication Data/attrib attribWrite(dir=fprofilo/angelo) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/fangelo/attrib attribWrite(dir=fprofilo) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/attrib attribWrite(dir=) - /var/lib/backuppc/pc/mail.omvsa.ch/new//attrib Child is aborting Got exit from child Done: 0 files, 0 bytes Got fatal error during xfer (aborted by user (signal=INT)) Backup aborted by user signal Not saving this as a partial backup since it has fewer files than the prior one (got 1 and 0 files versus 1) From: Boniforti Flavio [mailto:fla...@piramide.ch] Sent: Wednesday, April 08, 2009 11:21 PM To: list for user discussion, questions and support Subject: [BackupPC-users] Sending csums, cnt = 0, phase = 1 - Backups stuck! Hello everybody. Just wanted to open a new and different thread, only for this single issue: my backups start, open the ssh tunnel correctly, create the list for the files to transfer, sends empty checksums and then remains stuck here: Sending csums, cnt = 0, phase = 1 Need help, thanks! Regards, Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Switzerland Phone: +41 91 751 68 81 Fax: +41 91 751 69 14 Url: http://www.piramide.ch E-mail: fla...@piramide.ch-- -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
You can't directly backup an ftp host. You could: 1) do a pre-backup script to mount the ftp site using your favorite method, and a post-backup script to dismount it. (Dan answered this to me some time ago) 2) Or via cron you could do wget and backup the local folder with backuppc (Dan doing it by cron is a hack and will likely cause you to have failed backups if a minor change is made. you should use the pre and post backup commands to handle this. you could mirror the whole ftp with wget or something to a local directory, then backup that directory, but still you should do it with a pre backup script, not with cron) Greetings, Koen Linders -Oorspronkelijk bericht- Van: Mirco Piccin [mailto:pic...@gmail.com] Verzonden: donderdag 9 april 2009 12:48 Aan: backuppc-users@lists.sourceforge.net Onderwerp: [BackupPC-users] Backup remote ftp server (internet site) Hi all, i've installed BackupPC 3.2.0. It works very well! I'm trying to do a remote ftp server backup. The ftp server is a internet site; i've ftp access to manage all site files. My aim is to backup this site. So, i create a new host, and set: $Conf{ClientNameAlias} - the full ftp address $Conf{XferMethod} - FTP $Conf{FtpShareName} - tryed both nothing and /htdocs (it's a web site, and this it it's root). $Conf{FtpUserName} - ftp host username $Conf{FtpPasswd} - ftp host password but, if i try to run a full backup, it does not run with this error: Last error is xfer start failed: Can't open connection to : Invalid argument. Any suggets/tips? Thanks! Regards M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
HI You can't directly backup an ftp host. You could: 1) do a pre-backup script to mount the ftp site using your favorite method, and a post-backup script to dismount it. (Dan answered this to me some time ago) i read the post you are mentioning, but is this related to BackupPC release 3.2.0? In this release, infact, it's available backup via FTP method. Regards M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Include only specified folders - how
Ok, my setup On the host page - I selected SMB with sharename set to D$ I've setup my username and password (administrator) I've unticked BackupFilesExclude and Ticked BackupFilesExclude and tried various formats (including */Temp/* as found in EXCLUDE!!! - yes there is a Temp folder on D) I've tried /folder1 /folder2 */folder1/* */folder2/* D$/folder1/* D$/folder2/* and without the last two characters /* I've also tried \ in place of / for all above Any ideas welcome On Wed, Apr 8, 2009 at 11:36 PM, Ryan Knapper ryanknap...@gmail.com wrote: Unless I'm reading that wrong, if you've specified \\server\D$ then it's going to get all subfolders of D$. Have you specified multiple folders. like \\server\D$\folder1 and \\server\D$\folder2 ? On Wed, Apr 8, 2009 at 15:04, Bharat Mistry basmis...@googlemail.comwrote: I have set my pc to be backed up by smb if i specify D$ Include only specified folders with /folder1, /folder2 etc Doesn't work - SEEMS to ignore the setting -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/ -- [EOM] -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] BackupPC on OpenSolaris
Hi, Simon Fishley wrote on 2009-03-30 12:42:36 +0200 [[BackupPC-users] BackupPC on OpenSolaris]: I have been trying to get this added to the Wiki on SourceForge but it refuses to save my changes. Here then is a guide to installing BackupPC on OpenSolaris10. Please will someone try and get it onto the wiki? I have been trying to find the time to do so for a few days, but I haven't got around to it yet. Still, there is one thing I want to point out: INSTALL BACKUPPC on SOLARIS (running onSunOS 5.10 Generic_138889-05 i86pc i386 i86pc). **Credit for all this hard work goes to Garith Dugmore - THE Solaris Man.** [...] * For the next step hit enter for the defaults except for: /opt/csw/bin/perl configure.pl 1. -- BackupPC should run as user [backuppc]? nobody I think it is a really bad idea to run BackupPC as user nobody. There seems to be no reason not to create a 'backuppc' user. As far as I understand it, the 'nobody' user is used for daemons that do not need to own any files or access any specially protected files. This is not the case for BackupPC. The whole pool (all your backup data) is owned by BackupPC. If someone manages to gain 'nobody' privileges (!) on your system, they can read and even write to all of your backup data. True, the same holds for 'backuppc' privileges if you use that user, but the 'nobody' user is used for other services as well, possibly including services that are not much trusted. After all, if your service cannot be attacked and abused, why not just run it as 'root'? You lower the privileges to what is needed as a safeguard, and 'nobody' is a sort of least-privilege-pool for services that are supposed to have no privileges at all (but suddenly they do: they can read the BackupPC pool). root NFS access gets mapped to 'nobody' by default (for whatever that is actually worth; actually it means any 'root' with NFS access to your server can probably create setuid 'nobody' programs). [...] * Configure BackupPC startup script cd /etc/init.d/ ; touch backuppc Insert the following into the backuppc file you just created: That's kind of 'cat EOF /etc/init.d/backuppc', isn't it? :) [...] start) # # You can set the SMB share password here is you wish. Otherwise # you should put it in the config.pl script. # If you put it here make sure this file has no read permissions # for normal users! See the documentation for more information. # #BPC_SMB_PASSWD= #export BPC_SMB_PASSWD # su nobody -c /usr/local/BackupPC/bin/BackupPC -d One 'nobody' also found here ... [...] restart) /usr/bin/pkill -f /usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d su nobody -c /usr/local/BackupPC/bin/BackupPC -d ... and one here. [...] usermod -s /usr/bin/bash nobody Presuming that is Solaris' version of 'chsh': I'm not sure that is a good idea (or even necessary) for much the same reasons. What was it before? /bin/false? [...] * Setup up /opt/csw/etc/sudoers ; append: nobody ALL=NOPASSWD: /usr/sfw/bin//gtar nobody ALL=NOPASSWD: /usr/bin/env That's a free root shell for 'nobody', isn't it? Why did you add that? nobody ALL=NOPASSWD: /usr/bin/ssh nobody ALL=NOPASSWD: /opt/csw/bin/rsync 'tar' and 'rsync' are free access to any file on the system, even those not in the backup (read: /etc/shadow). I'm not sure what you would put 'env' and 'ssh' in there for. Configure Apache2 (you may need to install apache) Is Apache run as 'nobody'? Or is BackupPC_Admin setuid 'nobody'? ;-) Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
Hi, Koen Linders wrote on 2009-04-09 13:24:29 +0200 [Re: [BackupPC-users] Backup remote ftp server (internet site)]: You can't directly backup an ftp host. not true. Read the changelog for 3.2.0. Van: Mirco Piccin [mailto:pic...@gmail.com] Verzonden: donderdag 9 april 2009 12:48 Aan: backuppc-users@lists.sourceforge.net Onderwerp: [BackupPC-users] Backup remote ftp server (internet site) [...] i've installed BackupPC 3.2.0. [...] So, i create a new host, and set: $Conf{ClientNameAlias} - the full ftp address $Conf{XferMethod} - FTP $Conf{FtpShareName} - tryed both nothing and /htdocs (it's a web site, and this it it's root). $Conf{FtpUserName} - ftp host username $Conf{FtpPasswd} - ftp host password but, if i try to run a full backup, it does not run with this error: Last error is xfer start failed: Can't open connection to : Invalid argument. I doubt anyone has much experience with this feature as it is quite new (read: as yet unreleased). I haven't had time to download, much less look at 3.2.0, but the error message looks like something failed to parse correctly, as if the name of the host to connect to was . Maybe if you could at least post the comments from the default config.pl file regarding XferMethod FTP (or send them to me off-list), then I could try to guess what might be wrong (do you set the target address via ClientNameAlias? What format is it supposed to be in? What is the FtpShareName supposed to look like?). Does the XferLOG give any further hints? Can you increase the XferLogLevel? Since not much is happening, you might get something interesting from there ... Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
Didn't know it had changed. Latest version I have installed is 3.1 here. Sorry about the wrong info. Koen Linders Koen Linders wrote on 2009-04-09 13:24:29 +0200 [Re: [BackupPC-users] Backup remote ftp server (internet site)]: You can't directly backup an ftp host. not true. Read the changelog for 3.2.0. Van: Mirco Piccin [mailto:pic...@gmail.com] Verzonden: donderdag 9 april 2009 12:48 Aan: backuppc-users@lists.sourceforge.net Onderwerp: [BackupPC-users] Backup remote ftp server (internet site) [...] i've installed BackupPC 3.2.0. [...] So, i create a new host, and set: $Conf{ClientNameAlias} - the full ftp address $Conf{XferMethod} - FTP $Conf{FtpShareName} - tryed both nothing and /htdocs (it's a web site, and this it it's root). $Conf{FtpUserName} - ftp host username $Conf{FtpPasswd} - ftp host password but, if i try to run a full backup, it does not run with this error: Last error is xfer start failed: Can't open connection to : Invalid argument. I doubt anyone has much experience with this feature as it is quite new (read: as yet unreleased). I haven't had time to download, much less look at 3.2.0, but the error message looks like something failed to parse correctly, as if the name of the host to connect to was . Maybe if you could at least post the comments from the default config.pl file regarding XferMethod FTP (or send them to me off-list), then I could try to guess what might be wrong (do you set the target address via ClientNameAlias? What format is it supposed to be in? What is the FtpShareName supposed to look like?). Does the XferLOG give any further hints? Can you increase the XferLogLevel? Since not much is happening, you might get something interesting from there ... Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
I'm still working on it. Now I tried running the same backup WITHOUT tunneling through SSH, the results are exactly the same. What I now was wondering about is that thing about the rsync protocol (30 vs. 28). Can anybody help me in this? Connected to mail.omvsa.ch:873, remote version 30 Negotiated protocol version 28 I always land as above. The remote rsync server is cwRsync... Any help will be *really* appreciated! Thanks, Flavio Boniforti. From: Boniforti Flavio [mailto:fla...@piramide.ch] Sent: Thursday, April 09, 2009 11:28 AM To: General list for user discussion,questions and support Subject: Re: [BackupPC-users] Sending csums, cnt = 0,phase = 1 - Backups stuck! Tried again, running it... Here the last log lines: Sending csums, cnt = 0, phase = 1 Child is sending done Got done from child Got stats: 3579597837 204684981 75895600 0 ('errorCnt' = 0,'ExistFileSize' = 0,'ExistFileCnt' = 0,'TotalFileCnt' = 0,'ExistFileCompSize' = 0,'TotalFileSize' = 0) finish: removing in-process file angelo/Application Data/Microsoft/Forms/RefEdit.exd attribWrite(dir=fprofilo/angelo/Application Data/Microsoft) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/fangelo/fApplication Data/fMicrosoft/attrib attribWrite(dir=fprofilo/angelo/Application Data) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/fangelo/fApplication Data/attrib attribWrite(dir=fprofilo/angelo) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/fangelo/attrib attribWrite(dir=fprofilo) - /var/lib/backuppc/pc/mail.omvsa.ch/new/fprofilo/attrib attribWrite(dir=) - /var/lib/backuppc/pc/mail.omvsa.ch/new//attrib Child is aborting Got exit from child Done: 0 files, 0 bytes Got fatal error during xfer (aborted by user (signal=INT)) Backup aborted by user signal Not saving this as a partial backup since it has fewer files than the prior one (got 1 and 0 files versus 1) From: Boniforti Flavio [mailto:fla...@piramide.ch] Sent: Wednesday, April 08, 2009 11:21 PM To: list for user discussion, questions and support Subject: [BackupPC-users] Sending csums, cnt = 0, phase = 1 - Backups stuck! Hello everybody. Just wanted to open a new and different thread, only for this single issue: my backups start, open the ssh tunnel correctly, create the list for the files to transfer, sends empty checksums and then remains stuck here: Sending csums, cnt = 0, phase = 1 Need help, thanks! Regards, Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Switzerland Phone: +41 91 751 68 81 Fax: +41 91 751 69 14 Url: http://www.piramide.ch E-mail: fla...@piramide.ch-- -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
Still doing trials, I checked both Linux and Windows boxes what version of rsync they run. Both tell me: rsync version 3.0.5 protocol version 30 So why is the negotiated protocol version 28 and not 30? Could this be the actual problem? From: Boniforti Flavio [mailto:fla...@piramide.ch] Sent: Thursday, April 09, 2009 2:04 PM To: General list for user discussion,questions and support Subject: Re: [BackupPC-users] Sending csums, cnt = 0,phase = 1 - Backups stuck! I'm still working on it. Now I tried running the same backup WITHOUT tunneling through SSH, the results are exactly the same. What I now was wondering about is that thing about the rsync protocol (30 vs. 28). Can anybody help me in this? Connected to mail.omvsa.ch:873, remote version 30 Negotiated protocol version 28 I always land as above. The remote rsync server is cwRsync... Any help will be *really* appreciated! Thanks, Flavio Boniforti. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
On Thu, Apr 09, 2009 at 01:24:29PM +0200, Koen Linders wrote: You can't directly backup an ftp host. AFAIK, it's a new feature of BackupPC 3.2.0(beta)! Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] vmware/virtuabox/etc.?
Hi Ski, Performance is of course not really great but surprisingly good. I evaluated (very shortly) against mounting via NFS, and NFS just sucks with backuppc. I think it depends on the NFS server you are using. I have over 1500 clients backing up via 7 backuppc servers attached via nfs to a high performance Exastore NAS device. Works great. Ah, yes, that's possible, I have a much cheaper environment - and also a setup smaller by magnitudes. I had the impression that many very small disk accesses (as backuppc does when checking for newer file version etc.) is already a bad disk usage pattern by itself. And NFS didn't handle it better either ... Anyway, nice to know that a specialized NAS device could help there. Thomas signature.asc Description: This is a digitally signed message part -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] vmware/virtuabox/etc.?
Thomas Karcher wrote: Hi Ski, Performance is of course not really great but surprisingly good. I evaluated (very shortly) against mounting via NFS, and NFS just sucks with backuppc. I think it depends on the NFS server you are using. I have over 1500 clients backing up via 7 backuppc servers attached via nfs to a high performance Exastore NAS device. Works great. Ah, yes, that's possible, I have a much cheaper environment - and also a setup smaller by magnitudes. I had the impression that many very small disk accesses (as backuppc does when checking for newer file version etc.) is already a bad disk usage pattern by itself. And NFS didn't handle it better either ... Anyway, nice to know that a specialized NAS device could help there. Usually you are waiting on disk head motion - and if you run nfs in sync mode you wait for completion on every write. The things that can help are lots of physical disks in the volume (better odds for the head to already be near the right place) and running async with lots of buffering. Expensive devices might even have some battery-backed or nonvolatile buffering. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] vmware/virtuabox/etc.?
Koen Linders wrote: I did a little test with my laptop. VMware server 2.0 free download Memory available for OS 384 MB Debian etch Freecom Hard Drive Pro 250 GB USB2 disk formatted ext3 bs 4096 dd if=/dev/zero of=/dev/sdb1 bs=4k count=300k 307200+0 records in 307200+0 records out 1258291200 bytes (1.3 GB) copied, 63.8275 seconds, 19.7 MB/s dd of=/dev/null if=/dev/sdb1 bs=4k count=300k 307200+0 records in 307200+0 records out 1258291200 bytes (1.3 GB) copied, 70.719 seconds, 17.8 MB/s dd if=/dev/zero of=/dev/sdb1 bs=64k count=100k 102400+0 records in 102400+0 records out 6710886400 bytes (6.7 GB) copied, 324.055 seconds, 20.5 MB/s If you want another test, i can easily install something else on this VM debian, cause it's only a test system. Thanks - I updated VMware server on my XP laptop to the 2.0 version and got around 15+ MB/s with hdparm -tT and an older IDE drive with a USB adapter. Not great, but probably usable - and it will make it easy to use Centos with my custom install location in the image. I was also able to use this setup to build a bootable USB clonezille with the zip file contents you can download in a small fat partition and the rest of the drive as an ext3 partition to hold images. I still had some trouble getting it to boot every time but but I think that is a problem on the laptop. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] vmware/virtuabox/etc.?
stoffell wrote: On Wed, Apr 8, 2009 at 3:13 PM, Les Mikesell lesmikes...@gmail.com wrote: a VMware/virtualbox or other virtual machine image that could run on any machine that would be able to access this disk via a USB adapter for quick emergency restores. Does anyone have experience with any of the virtual machine's USB handling to know if this would be practical and which technology would be best at it? Virtualbox handles USB devices (like harddisks) good. You can start virtualbox on your windows/linux box, boot your virtual debian, install backuppc and mount the USB device on the backuppc directory :-) (and don't forget to config/backup your /etc/backuppc dir) I know it is supposed to work but so far it hasn't for me running with Windows XP as the host. The device shows up in the VM interface but always shows 'busy'. I see an open ticket here: http://www.virtualbox.org/ticket/3033 but no solution. In some ways I like virtualbox better than VMware (and there's a free version for the Mac) but in this case VMware seems to be the path of least resistance for now. I have been able to run vmdk disk images created by VMware under virtualbox with minimal tweaking so it shouldn't be a big deal to switch later. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] vmware/virtuabox/etc.?
On Thu, 2009-04-09 at 07:45 -0500, Les Mikesell wrote: Thomas Karcher wrote: Hi Ski, Performance is of course not really great but surprisingly good. I evaluated (very shortly) against mounting via NFS, and NFS just sucks with backuppc. I think it depends on the NFS server you are using. I have over 1500 clients backing up via 7 backuppc servers attached via nfs to a high performance Exastore NAS device. Works great. Ah, yes, that's possible, I have a much cheaper environment - and also a setup smaller by magnitudes. I had the impression that many very small disk accesses (as backuppc does when checking for newer file version etc.) is already a bad disk usage pattern by itself. And NFS didn't handle it better either ... Anyway, nice to know that a specialized NAS device could help there. Usually you are waiting on disk head motion - and if you run nfs in sync mode you wait for completion on every write. The things that can help are lots of physical disks in the volume (better odds for the head to already be near the right place) and running async with lots of buffering. Expensive devices might even have some battery-backed or nonvolatile buffering. yep, the NAS head has a lot, lot of buffering that is battery backed so the writes complete pretty quickly. ski -- When we try to pick out anything by itself, we find it connected to the entire universeJohn Muir Chris Ski Kacoroski, kacoro...@gmail.com, 206-501-9803 or ski98033 on most IM services -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] silly question - is there a Forum for BackupPC
Bharat Mistry wrote: This type of mailing list is very hard to follow just my 2cents worth! There is a gateway somewhere, but I don't recommend it because it makes things worse for the email users. And forums are horrible for people with more than a few interests. The best approach is to use a mailer that will display in thread order when you want. Or, if you are using google mail, use their web interface that automatically tracks conversations and filter the list to its own folder. That's a better view than most forum software will present if you don't mind using a browser. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] silly question - is there a Forum for BackupPC
Bharat Mistry wrote: This type of mailing list is very hard to follow You'll need to be using a threaded mail client. And no, there are no forums on Sourceforge for BackupPC. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
Hi, Sorry, that is a bug in Xfer::Ftp, line 190, which references $args-{host}, which, it seems, should read $args-{Host} instead (at least that's what getFTPArgs() returns). There are two more occurrences of the same typo and several usages of $t-{host} instead of $args-{Host}, though that is probably intentional (logging the host name as defined in BackupPC rather than the actual DNS name or IP used). I'd attach a patch, but it's really only :%s/\$args-{host}/$args-{Host}/gc i've applied in the /usr/share/backuppc/lib/BackupPC/Xfer/Ftp.pm the patch you provide (thanks!). I also edit $t-{host} occurences (that is used for log messages) in $t-{Host}. actually, a quick glance at the source code suggests that that should be the host name only (eg. 'ftp.sourceforge.net'). i've tried both using ftp address as Host name and as ClientAliasName, result is the exactly the same. Now error is like this: Last error is xfer start failed: Can't open connection to ftp..it: Invalid argument. Now looking to solve this :-D Regards! M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
Hi, Boniforti Flavio wrote on 2009-04-09 15:50:45 +0200 [Re: [BackupPC-users] Sending csums, cnt = 0, phase = 1 - Backups stuck!]: Therefore we should pray to get File::RsyncP which supports protocol version 30 asap, right? well, that's what Jeffrey's doing :-). Remind me, please, which version of BackupPC and File::RsyncP you are running and what your XferLogLevel is set to. If I'm using BackupPC 3.1.0-6 (on Debian testing) but don't know how to check File::RsyncP version. I just see this: ii libfile-rsyncp-perl 0.68-1.1+b1 Is this OK? I guess so. I have 0.64-1 on etch. You could try downgrading (dependencies permitting) just in case. 'apt-get install libfile-rsyncp-perl=0.64-1' - you'd need an etch source in sources.list. There don't seem to be any important changes between those versions. possible, try a command line rsync with the '--protocol=28' switch to see if native rsync has the same issue or not. Plain rsync (no ssh tunnel) with that switch is working and syncing: rsync -rtz - --protocol=28 --delete --ignore-errors --numeric-ids --delete-excluded --stats --progress mail.omvsa.ch::profilo/ /mnt/remote/Omv/daily.0/profilo/ Sorry, I meant a command line most closely resembling what BackupPC uses. Remove the '--server --sender', obviously. Try with that first, and if it gets stuck, add a '-v' or two (or four) and maybe '-P'. Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
Boniforti Flavio wrote: Plain rsync (no ssh tunnel) with that switch is working and syncing: rsync -rtz - --protocol=28 --delete --ignore-errors --numeric-ids --delete-excluded --stats --progress mail.omvsa.ch::profilo/ /mnt/remote/Omv/daily.0/profilo/ The problems I've seen with windows rsync seemed to involve long paths or non-ascii characters in the filenames. Be sure that you are testing exactly the same tree that backuppc is trying to copy. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] silly question - is there a Forum for BackupPC
Hi You'll need to be using a threaded mail client. And no, there are no forums on Sourceforge for BackupPC. gmail is the better friend for mailing list (threaded mail + enougt space)! Regards M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Try to backup non existent files....
Hi, and thanks for reply; Your source.gif screen shot didn't show the contents of \ELPRA01WS\ELPRA06SV. You need to descend into that directory. But I believe you that there is not file \ELPRA01WS\ELPRA06SV\E. it's right, sorry! Typically this timeout error is due to antivirus software taking too long. it seems strage, because there's no av running on both source and destination (backuppc host). However, if smbclient claims there is a file that doesn't exist you might try two things: - run smbclient manually (in interactive mode), cd to that directory and see what ls shows - running chkdsk - perhaps your client file system is corrupted? I'll try soon, and of course i let you know. Regards M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
Following is the BackupPC command, I don't see *relevant* differences... Sending args: --server --sender -rtvz --delete --ignore-errors --numeric-ids --delete-excluded --stats --progress --block-size=2048 --ignore-times . . Could the block-size do some damage??? No, it doesn't alter anything: sync done with the --block-size=2048... :-(/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
The problems I've seen with windows rsync seemed to involve long paths or non-ascii characters in the filenames. Be sure that you are testing exactly the same tree that backuppc is trying to copy. Yes, I also had some troubles with strange characters (or strange charsets): this issue has been solved with the UTF-8-enabled cygwin1.dll As already stated: my rsnapshot backups work seamlessly but get stuck on big files (where I don't know what the threshold is, because in one case it's around 300MB, in another case it's 900MB)... Nevertheless, thanks for your time and thoughts! Regards, Flavio. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Sending csums, cnt = 0, phase = 1 - Backups stuck!
Hi, Boniforti Flavio wrote on 2009-04-09 17:47:56 +0200 [Re: [BackupPC-users] Sending csums, cnt = 0, phase = 1 - Backups stuck!]: [...] Following is the BackupPC command, I don't see *relevant* differences... Sending args: --server --sender -rtvz --delete --ignore-errors --numeric-ids --delete-excluded --stats --progress --block-size=2048 --ignore-times . . Could the block-size do some damage??? ah. Remove the '-z'. BackupPC doesn't support that. I don't know about block-size, but why not simply stick with the default configuration? '--delete*' are meaningless and unsupported. '--stats --progress'? Are you deliberately trying to disrupt communications between rsync and BackupPC? ;-) From 3.1.0's default config file: $Conf{RsyncArgs} = [ # # Do not edit these! # '--numeric-ids', '--perms', '--owner', '--group', '-D', '--links', '--hard-links', '--times', '--block-size=2048', '--recursive', # # Rsync = 2.6.3 supports the --checksum-seed option # which allows rsync checksum caching on the server. # Uncomment this to enable rsync checksum caching if # you have a recent client rsync version and you want # to enable checksum caching. # #'--checksum-seed=32761', # # Add additional arguments here # ]; Note especially the part reading 'Do not edit these!'. Please reset your RsyncArgs to supported values and try again. Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
Hi, Mirco Piccin wrote on 2009-04-09 17:36:17 +0200 [Re: [BackupPC-users] Backup remote ftp server (internet site)]: There are two more occurrences of the same typo and several usages of $t-{host} instead of $args-{Host}, though that is probably intentional (logging the host name as defined in BackupPC rather than the actual DNS name or IP used). I'd attach a patch, but it's really only :%s/\$args-{host}/$args-{Host}/gc i've applied in the /usr/share/backuppc/lib/BackupPC/Xfer/Ftp.pm the patch you provide (thanks!). I also edit $t-{host} occurences (that is used for log messages) in $t-{Host}. no, $t-{host} is correct. $args are for Net::FTP (which expects a member Host), $t is from BackupPC (which uses a member host). actually, a quick glance at the source code suggests that that should be the host name only (eg. 'ftp.sourceforge.net'). i've tried both using ftp address as Host name and as ClientAliasName, result is the exactly the same. Now error is like this: Last error is xfer start failed: Can't open connection to ftp..it: Invalid argument. I haven't got time right now to trace down the invalid argument. Does the DNS name resolve? Have you tried with the numerical IP in ClientNameAlias? Have you tried appending a :21 (as in 127.0.0.1:21)? Don't know if it makes any difference (according to docs, both should work). Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
Hi There are two more occurrences of the same typo and several usages of $t-{host} instead of $args-{Host}, though that is probably intentional (logging the host name as defined in BackupPC rather than the actual DNS name or IP used). I'd attach a patch, but it's really only :%s/\$args-{host}/$args-{Host}/gc i've applied in the /usr/share/backuppc/lib/BackupPC/Xfer/Ftp.pm the patch you provide (thanks!). I also edit $t-{host} occurences (that is used for log messages) in $t-{Host}. no, $t-{host} is correct. $args are for Net::FTP (which expects a member Host), $t is from BackupPC (which uses a member host). yes, it's right! I've right now rollled back my Ftp.pm :-D I haven't got time right now to trace down the invalid argument. Does the DNS name resolve? Have you tried with the numerical IP in ClientNameAlias? Same result: Last error is xfer start failed: Can't open connection to xxx.xxx.xxx.xxx: Invalid argument. Have you tried appending a :21 (as in 127.0.0.1:21)? Don't know if it makes any difference (according to docs, both should work). appendig port number, ping fails: Pings to ftp.XXX.it have failed 1 consecutive times. It seems that is not so different to put ftp address as host or as ClientNameAlias, error is the same. I think that this problem is due to other variable. Regards, M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/
[BackupPC-users] is there a way to get an email of the files copied ?
What I would like is a email containing a list of files that were actually copied - this would be very useful for Incremental backups. I've looked at the docs but not found if this is possible or not. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] is there a way to get an email of the files copied ?
Op 9 apr 2009, om 19:19 heeft Bharat Mistry het volgende geschreven: What I would like is a email containing a list of files that were actually copied - this would be very useful for Incremental backups. I've looked at the docs but not found if this is possible or not. The transfer log contains such a list. See the XferLOG links on the BackupPC web page for a host. Nils Breunese. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/
[BackupPC-users] Feature request for 3.2: wait for children to remove zombies
Hi all: For the upcoming 3.2 release is anything being down to reap zombie processes? Currently if you have multiple shares being backed up on a single host, a share is backed up and the child process is just abandoned as far as I can tell. This leads to a bunch of zombies being generated. They seem to be finally reaped when the backup for the entire host exits (and I assume the zombies are inherited by init and then wait()'ed for by init). I can have 100 or more zombie processes at a time which makes finding and stopping other processes that are creating zombies somewhat difficult. Would it be possible to have the parent wait for each child processes before spawning a new backup process for the next share on a host in the 3.2 release? This would be helpful as it would allow us to not have to treat backuppc systems differently from the point of view of our normal system monitoring. -- -- rouilj John Rouillard System Administrator Renesys Corporation 603-244-9084 (cell) 603-643-9300 x 111 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Include only specified folders - how
Bharat writes: On the host page - I selected SMB with sharename set to D$ I've setup my username and password (administrator) I've unticked BackupFilesExclude and Ticked BackupFilesExclude and tried various formats (including */Temp/* as found in EXCLUDE!!! - yes there is a Temp folder on D) I've tried /folder1 /folder2 */folder1/* */folder2/* D$/folder1/* D$/folder2/* and without the last two characters /* I've also tried \ in place of / for all above I presume you are trying to include just /folder1 and /folder2 on the D$ share, right? If you are using the CGI interface it can be a bit confusing. For $Conf{BackupFilesOnly} the key should be D$ and the values should be the paths (relative to the share). The actual setting in the config.pl file should look like this: $Conf{BackupFilesOnly} = { 'D$' = ['/folder1', '/folder2'], } Please tell us the relevant config settings you have, and also include the first few lines of the XferLOG file so we can see exactly what command is being run. Craig -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
On Thu, Apr 9, 2009 at 5:48 AM, Mirco Piccin pic...@gmail.com wrote: Hi all, i've installed BackupPC 3.2.0. It works very well! I'm trying to do a remote ftp server backup. The ftp server is a internet site; i've ftp access to manage all site files. My aim is to backup this site. So, i create a new host, and set: $Conf{ClientNameAlias} - the full ftp address $Conf{XferMethod} - FTP $Conf{FtpShareName} - tryed both nothing and /htdocs (it's a web site, and this it it's root). $Conf{FtpUserName} - ftp host username $Conf{FtpPasswd} - ftp host password but, if i try to run a full backup, it does not run with this error: Last error is xfer start failed: Can't open connection to : Invalid argument. Any suggets/tips? Thanks! Regards M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/ Hello Mirco, Would you please post the host.pl script from /etc/BackupPC for me please, or email it to me privately? I'd like to have a look at the syntax. Thanks, -- Paul Mantz http://www.mcpantz.org BackupPC - Network Backup with De-Duplication http://www.backuppc.com Zmanda - Open source backup and recovery http://www.zmanda.com/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Feature request for 3.2: wait for children to remove zombies
John, It's still on my todo list - I didn't get around to it for 3.2.0beta0. I'll see if I can get it in before the final 3.2.0 release. Craig -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/
[BackupPC-users] BackupPC 3.2.0beta0 released
BackupPC 3.2.0beta0 has been released on SF.net. 3.2.0beta0 is the first beta release of 3.2.0. 3.2.0beta0 has several new features and quite a few bug fixes since 3.1.0. New features include: * Added FTP xfer method, implemented by Paul Mantz. * Added more options to server backup command: rather than just forcing an incremental or full backup, a regular (auto) backup can be queued (ie: do nothing/incr/full based on schedule), as well as doing just an incremental or full or nothing based on the client schedule. Based on patches submitted by Joe Digilio. * Added $Conf{CmdQueueNice} to specify nice level for command queue commands (eg: BackupPC_link and BackupPC_nightly). Suggested by Carl Soderstrom. * Changed bin/BackupPC_dump to not ping or lookup the host if $Conf{BackupsDisable} is set. Requested by John Rouillard. * Added variable substitution for host, confDir, client in RsyncArgs, and also added option RsyncArgsExtra to allow more easy customization of RsyncArgs on a per-client basis. Proposed (with patch) by Raman Gupta. * Added Xfer error column to the host summary table in the CGI interface. Based on patch submitted by Jan Kratochvíl. See the ChangeLog below for full details. Craig # # Version 3.2.0beta0, 5 April 2009 # * Added BackupPC::Xfer::Protocol as a common class for each Xfer method. This simplifies some of the xfer specific code. Implemented by Paul Mantz. * Added FTP xfer method, implemented by Paul Mantz. * Added BackupPC::Xfer module to provide a common interface to the different xfer methods. Implemented by Paul Mantz. * Moved setting of $bpc-{PoolDir} and $bpc-{CPoolDir} after the config file is read in BackupPC::Lib. Fix proposed by Tim Taylor and Joe Krahn, and rediscovered by several others including Holger Parplies. * Create $TopDir and related data directories in BackupPC_dump prior to hardlink test. Requested by Les Stott. * Fixed encoding of email subject header in bin/BackupPC_sendEmail as suggested by Jean-Claude Repetto. Also changed $Conf{EMailHeaders} charset to utf-8. Also changed bin/BackupPC_sendEmail to not send any per-client email if $Conf{BackupsDisable} is set. * Modified bin/BackupPC_dump to fix the case of a single partial backup followed by a successful incremental resulting in a full backup of level 1, rather than level 0. Reported by Jeff Kosowsky. * Fixed BackupPC::PoolWrite to always create the parent directory. This fixed a case with rsync/rsyncd where a file like -i in the top-level directory sorts before ., which meant the directory creation is after the file creation. Also PoolWrite errors now increment xferError count. Reported by Jeff Kosowsky. * BackupPC now gives a more useful error message if BackupPC_nightly takes more than 24 hours (ie: when the next one is meant to start). Reported by Tony Schreiner. * Added more options to server backup command: rather than just forcing an incremental or full backup, a regular (auto) backup can be queued (ie: do nothing/incr/full based on schedule), as well as doing just an incremental or full or nothing based on the client schedule. Based on patches submitted by Joe Digilio. * Modified lib/BackupPC/CGI/RSS.pm to replace \n with \r\n in the RSS http response headers. Patch submitted by Thomas Eckhardt. * Modified bin/BackupPC_archive to allow the archive request file name to contain spaces and dashes, requested by Tim Massey. * Fix to configure.pl for --no-fhs case to initialize ConfigDir from Dan Pritts. Also changed perl path to #!/usr/bin/env perl. * Modified bin/BackupPC_archiveHost to shell escape the output file name. That allows it to contain spaces and other special characters. Requested by Toni Van Remortel. Also updated bin/BackupPC_archiveHost to shell escape and check other arguments. * Added $Conf{CmdQueueNice} to specify nice level for command queue commands (eg: BackupPC_link and BackupPC_nightly). Suggested by Carl Soderstrom. * Added --config-override to configure.pl, allow config settings to be set on the command line. Proposed by Les Stott and Holger Parplies. * Moved call to NmbLookupFindHostCmd in BackupPC_dump to after the check of whether a backup needs to be done. This makes wakeonlan work correctly, rather than waking up the client every WakeupSchedule. Reported by David Lasker. * Improved settings for compression and compext in BackupPC_archiveStart based on compression type, as proposed by Paul Dugas. compext is now empty, .gz or .bz2 based on ArchiveComp. * Changed bin/BackupPC_dump to not ping or lookup the host if $Conf{BackupsDisable} is set. Requested by John Rouillard. * Changed BackupPC_tarCreate to disable output of final nulls in tar archive when -l or -L option is used. Reported
Re: [BackupPC-users] Feature request for 3.2: wait for children to remove zombies
On Thu, Apr 09, 2009 at 01:57:18PM -0700, Craig Barratt wrote: John, It's still on my todo list - I didn't get around to it for 3.2.0beta0. I'll see if I can get it in before the final 3.2.0 release. Thanks. I would really appreciate it. -- -- rouilj John Rouillard System Administrator Renesys Corporation 603-244-9084 (cell) 603-643-9300 x 111 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] BackupPC 3.2.0beta0 released
Craig Barratt wrote: BackupPC 3.2.0beta0 has been released on SF.net. 3.2.0beta0 is the first beta release of 3.2.0. 3.2.0beta0 has several new features and quite a few bug fixes since 3.1.0. New features include: I didn't see any mention of lib/BackupPC/Lib.pm being updated for the case when XFS is used as the pool file system and IO::Dirent is installed (as per http://www.mail-archive.com/backuppc-de...@lists.sourceforge.net/msg00195.html). Looking at the source of the Beta, this looks like the changes were not implemented. Was it just missed, or is there another reason? Chris -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Backup remote ftp server (internet site)
Hi Would you please post the host.pl script from /etc/BackupPC for me please, or email it to me privately? I'd like to have a look at the syntax. Here you are the .pl host file for this ftp client (i have renamed host, user passwd) : $Conf{ClientNameAlias} = 'ftp.x.it'; $Conf{FtpPasswd} = 'passwd'; $Conf{FtpUserName} = 'user'; $Conf{XferMethod} = 'ftp'; $Conf{PingMaxMsec} = '70'; $Conf{XferLogLevel} = '1'; Nothing else. I've tryied also to set $Conf{ClientNameAlias} with numerical IP (as Holger has suggested). I've set 70 as $Conf{PingMaxMsec} because of the rtt avg that is about 40 ms. The config.pl BackupPC config file, in the new FTP section, has standard values (i mean: as released). Hope this helps (me) Regards M -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] backups schedule
Hi, Enrique Jiménez Campos wrote on 2009-03-30 15:35:48 +0200 [[BackupPC-users] backups schedule]: Hi List ! i already read all official documentation about Backuppc schedule but i dont understand very much... i try to make auto full backup one day to week (02:00 am in all mondays for example) but i dont know what i have to define in config.pl... first of all, you don't. You define when backups may happen and BackupPC takes care of running them within these parameters. Second, if you really do want to do this, it's in the wiki under Tips and Tricks. Paul Dugas wrote on 2009-03-30 10:24:43 -0400 [Re: [BackupPC-users] backups schedule]: On Mon, 2009-03-30 at 15:35 +0200, Enrique Jiménez Campos wrote: (02:00 am in all mondays for example) I was taught to avoid 2am for scheduled tasks. Daylight-savings time changes occur at 2am. On mondays? Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] logging..
Hi, Simone Marzona wrote on 2009-03-15 07:13:31 +0100 [[BackupPC-users] logging..]: is there a wey to make backuppc log through syslog and not to his regular file(s)? not without patching the source. Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] logging..
On Fri, 10 Apr 2009, Holger Parplies wrote: Simone Marzona wrote on 2009-03-15 07:13:31 +0100 [[BackupPC-users] logging..]: is there a wey to make backuppc log through syslog and not to his regular file(s)? not without patching the source. Probably the simplest, but not most correct method, might be to use logger (/usr/bin/logger on debian, probably similar on other linuxes). I would recommend logging to syslog AND the normal log files. Just identify the events in which you're interested in the source and insert some system calls to logger. man logger will help you log to the desired facility and level. Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] silly question - is there a Forum for BackupPC
I'm willing to set this up if there is need. I personally like the forum a lot. Space and bandwidth is on me. Joe TSolucio Bharat Mistry escribió: This type of mailing list is very hard to follow just my 2cents worth! -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/