Re: [BackupPC-users] specify a particular day for fulls
On 03/28 01:58 , Khaled Hussain wrote: > Is it possible to configure backupPC to run full backups on Saturdays > throughout the day, and even on Sundays? set up a cron job like this: 00 18 * * 6 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup server.example.com server.example.com backuppc 1 this will send a message to the backup server to set off a full backup at the specified time. (If I got the syntax correct). -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] why are full backups needed with BackupPC?
On Tue, 2006-28-03 at 15:00 -0600, Les Mikesell wrote: > On Tue, 2006-03-28 at 13:44, Kanwar Ranbir Sandhu wrote: > > > What hasn't worked for, ever, is using ssh to connect to the Windows > > box, and then pull the backups down by connecting to the rsyncd. That > > being said, I seem to recall someone reporting that they got it to work, > > so I should probably take a look at the list archives. > > > > Anyway, have you tried this? Has it worked for? Holy shit - what a horrible reply. I'm half asleep...guess coherence goes out the window when I type with me eyes half closed. :) Sorry about all the missing words! > I haven't done it with backuppc, but it should work using > ssh only as a port-forwarding tunnel. The only problem is > that you don't know when the backup is complete so you > might have to leave the ssh connection up most of the time. Yeah, that much I know. Perhaps I didn't do the port forwarding correctly the last time I tried this. The other problem of course was with sites that have multiple servers behind a firewall. That would mean poking a few holes through a firewall, and opening SSH up. I know access can be restricted, but a lot of sites just don't like it. > I have VPN connections (currently CIPE but I'd probably use > openvpn now) to all of the places where I need backups so > I haven't worked very hard at ssh'ing into windows. But, > I've been hoping someone would track down the deadlock since > about everything else works with cygwin sshd. That's what I ended up doing. OpenVPN for all the clients that are either running Windows or don't want to open up SSH, and SSH for those Linux sites that don't mind. SSH is by far the simplest and fastest setup. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.15-1.1833_FC4 i686 GNU/Linux 15:57:03 up 9:26, 3 users, load average: 0.31, 0.50, 0.36 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] why are full backups needed with BackupPC?
On Tue, 2006-03-28 at 13:44, Kanwar Ranbir Sandhu wrote: > What hasn't worked for, ever, is using ssh to connect to the Windows > box, and then pull the backups down by connecting to the rsyncd. That > being said, I seem to recall someone reporting that they got it to work, > so I should probably take a look at the list archives. > > Anyway, have you tried this? Has it worked for? I haven't done it with backuppc, but it should work using ssh only as a port-forwarding tunnel. The only problem is that you don't know when the backup is complete so you might have to leave the ssh connection up most of the time. I have VPN connections (currently CIPE but I'd probably use openvpn now) to all of the places where I need backups so I haven't worked very hard at ssh'ing into windows. But, I've been hoping someone would track down the deadlock since about everything else works with cygwin sshd. -- Les Mikesell [EMAIL PROTECTED] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] why are full backups needed with BackupPC?
On Tue, 2006-28-03 at 12:14 -0600, Les Mikesell wrote: > Rsyncd is rsync listening directly in --daemon mode instead of > being started by sshd. You shouldn't have any trouble setting > that up under windows except possibly making it run as a > service. That bit works, though once in a while the rsyncd service (on Windows) decides to die once in a while. What hasn't worked for, ever, is using ssh to connect to the Windows box, and then pull the backups down by connecting to the rsyncd. That being said, I seem to recall someone reporting that they got it to work, so I should probably take a look at the list archives. Anyway, have you tried this? Has it worked for? Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.15-1.1833_FC4 i686 GNU/Linux 14:41:24 up 8:11, 3 users, load average: 0.57, 0.39, 0.34 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] Integer overflow in octal number
Andy writes: > I have been using BackupPC 2.1.1 (from Debian) to backup a number of > linux hosts over RSync for some time without any difficulties. > > But recently I added a Windows 2000 server with several shares to be > backed up over SMB and am getting the following error in the Xfer log: > >tarExtract: Integer overflow in octal number at >/usr/share/backuppc/bin/BackupPC_tarExtract line 224. > > So far these have only been recorded for full backups, but perhaps > incremental backups are less likely to report the error just because > less files are transferred. This should be fixed in BackupPC-2.1.2pl1. Craig --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Migration To New Backuppc Server
Hi All, I'm just in the process of migrating from our old backuppc server to a new one. My windows's clients are using rsync with no problem, however my linux clients using rsync are causing the following error. Running: /usr/bin/ssh -q -x -l root xx /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --exclude=/proc --exclude=/dev --ignore-times . / Xfer PIDs are now 7212 Rsync command pid is 7212 Fetching remote protocol Got remote protocol 29 Checksum seed is 1143522080 Got checksumSeed 0x4428c320 Got file (0 of 181): . Got file (1 of 181): lost+found Got file (2 of 181): boot Got file (3 of 181): home " ~~ Got file (85688 of 85689): samba/media/photo132434.jpg fileListReceive() failed Done: 0 files, 0 bytes Got fatal error during xfer (fileListReceive failed) Backup aborted (fileListReceive failed) Does any one have any idea's what could be causing this. I'm running backuppc 2.1.2pl1 on centos 4.3 and rsync-2.6.7-2 on my server and clients. Thanks for any help and suggestions.. Keith. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] why are full backups needed with BackupPC?
On Tue, 2006-03-28 at 10:50, Kanwar Ranbir Sandhu wrote: > On Mon, 2006-27-03 at 22:11 -0600, Trey Nolen wrote: > > Rsyncd over ssh work on windows...rsync will still not act like a server > > under cygwin. > > I've tried using rsyncd with cygwin on the Windows side - it's never > worked for me. How did you get it to work? (or am I misunderstanding > something?) Rsyncd is rsync listening directly in --daemon mode instead of being started by sshd. You shouldn't have any trouble setting that up under windows except possibly making it run as a service. -- Les Mikesell [EMAIL PROTECTED] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] why are full backups needed with BackupPC?
On Mon, 2006-27-03 at 22:11 -0600, Trey Nolen wrote: > Rsyncd over ssh work on windows...rsync will still not act like a server > under cygwin. I've tried using rsyncd with cygwin on the Windows side - it's never worked for me. How did you get it to work? (or am I misunderstanding something?) Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.15-1.1833_FC4 i686 GNU/Linux 11:48:59 up 5:18, 2 users, load average: 0.11, 0.15, 0.16 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] Integer overflow in octal number
Andy wrote: Hello List, I have been using BackupPC 2.1.1 (from Debian) to backup a number of linux hosts over RSync for some time without any difficulties. But recently I added a Windows 2000 server with several shares to be backed up over SMB and am getting the following error in the Xfer log: tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. Hi, This is the OP posting some further details. I'm using smbclient version "3.0.21b". I'm using reiserfs, on LVM2 on RAID1. I have lots of disk space. The files names mentioned in the errors don't appear to contain any very exotic characters other than spaces, periods, dashes and brackets. Andy --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] can't do backups (of Windows shares with problematic permissions)
Tomasz Chmielewski wrote: Tomasz Chmielewski wrote: Tomasz Chmielewski wrote: (...) Unfortunately, it breaks in the same way: 2006-03-28 13:24:20 full backup started for share S$ 2006-03-28 13:33:09 Got fatal error during xfer (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Backup aborted (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Saved partial dump 0 It seems to be related to this thread: http://lists.samba.org/archive/linux-cifs-client/2006-March/001230.html http://lists.samba.org/archive/linux-cifs-client/2006-March/001232.html http://lists.samba.org/archive/linux-cifs-client/2006-March/001233.html In short: it's possible to create longer filenames on the Windows machine than on a Linux machine. And this is when BackupPC (or smbclient?) seems to break. More info: smbclient 192.168.10.4\\C\$ -U user%pass -E -N -d 1 -c tarmode\ full -Tc - creates the tar file just fine. When uncompressing the archive (tar -xf), tar complains about file names being too long, but doesn't break. So the problem lies somewhere in BackupPC? If someone wants to reproduce, I can send him a package with problematic filenames, which cause the backup job to abort. It is enough if the file is in C:\1\... on a Windows drive, the backup job will fail right away when it approaches it. -- Tomasz Chmielewski http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] rsyncd on Windows can't handle utf8 filenames?
I have a big windows share to backup, it contains lots of user data, and therefore, I have plenty of international characters there. Unfortunately, this is where BackupPC fails to do the job :( smb method just breaks on "strange" filenames, and when I used rsyncd, it converts all "strange" characters into ? For example, "Üöäü" on the Windows side, would be "" in the backup, when made with rsync (I extracted the backup to see what happens). Has anyone more experience with BackupPC and UTF8 filenames? BackupPC seems to be a great product, but it fails for me where the details are :( -- Tomasz Chmielewski http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] specify a particular day for fulls
Hi Khaled, Have you played with the $Conf{BlackoutPeriods} setting? I don't know if it can do exactly what you are looking for because it doesn't distinguish between full and incremental backups, but its certainly the first method I would investigate. It can be set on a per-host basis. I have mine set as follows: # don't do any scheduled backups between 7am and 10pm $Conf{BlackoutPeriods} = [ { hourBegin => 7.0, hourEnd => 22.0, weekDays => [0, 1, 2, 3, 4, 5, 6], }, ]; HTH, Andy Khaled Hussain wrote: Hi All, Is it possible to configure backupPC to run full backups on Saturdays throughout the day, and even on Sundays? I am trying in essence not to run fulls during week nights and save them for the weekend, when they can run day and night to complete. As far as I'm aware, you can only specify the interval between backups and not when to run them(?). Kind Regards Khaled --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] can't do backups (of Windows shares with problematic permissions)
Tomasz Chmielewski wrote: Tomasz Chmielewski wrote: (...) Unfortunately, it breaks in the same way: 2006-03-28 13:24:20 full backup started for share S$ 2006-03-28 13:33:09 Got fatal error during xfer (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Backup aborted (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Saved partial dump 0 It seems to be related to this thread: http://lists.samba.org/archive/linux-cifs-client/2006-March/001230.html http://lists.samba.org/archive/linux-cifs-client/2006-March/001232.html http://lists.samba.org/archive/linux-cifs-client/2006-March/001233.html In short: it's possible to create longer filenames on the Windows machine than on a Linux machine. And this is when BackupPC (or smbclient?) seems to break. More info: smbclient 192.168.10.4\\C\$ -U user%pass -E -N -d 1 -c tarmode\ full -Tc - creates the tar file just fine. When uncompressing the archive (tar -xf), tar complains about file names being too long, but doesn't break. So the problem lies somewhere in BackupPC? -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] specify a particular day for fulls
Hi All, Is it possible to configure backupPC to run full backups on Saturdays throughout the day, and even on Sundays? I am trying in essence not to run fulls during week nights and save them for the weekend, when they can run day and night to complete. As far as I'm aware, you can only specify the interval between backups and not when to run them(?). Kind Regards Khaled --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] can't do backups (of Windows shares with problematic permissions)
Tomasz Chmielewski wrote: (...) Unfortunately, it breaks in the same way: 2006-03-28 13:24:20 full backup started for share S$ 2006-03-28 13:33:09 Got fatal error during xfer (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Backup aborted (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Saved partial dump 0 It seems to be related to this thread: http://lists.samba.org/archive/linux-cifs-client/2006-March/001230.html http://lists.samba.org/archive/linux-cifs-client/2006-March/001232.html http://lists.samba.org/archive/linux-cifs-client/2006-March/001233.html In short: it's possible to create longer filenames on the Windows machine than on a Linux machine. And this is when BackupPC (or smbclient?) seems to break. -- Tomasz Chmielewski http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] can't do backups (of Windows shares with problematic permissions)
Tomasz Chmielewski wrote: Hmm, I changed smb.conf option to match: unix charset = UTF-8 Now the backups doesn't even want to start (or it stops after few secs) :( 2006-03-28 11:11:37 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-28 11:12:20 Got fatal error during xfer (Didn't get entire file. size=460206, nread=196560) 2006-03-28 11:12:25 Backup aborted (Didn't get entire file. size=460206, nread=196560) It seems I had to wipe out the whole directory for the host, only then it starts again. We'll see what happens when it approaches UTF8 characters... Unfortunately, it breaks in the same way: 2006-03-28 13:24:20 full backup started for share S$ 2006-03-28 13:33:09 Got fatal error during xfer (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Backup aborted (Didn't get entire file. size=460206, nread=131040) 2006-03-28 13:33:14 Saved partial dump 0 -- Tomasz Chmielewski http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] can't do backups (of Windows shares with problematic permissions)
Tomasz Chmielewski wrote: Tomasz Chmielewski wrote: (...) Is there a configuration option for backuppc that would make it continue on non-fatal errors (like permission denied above on one file among many)? Permission denied should not be a fatal error. Please look earlier in the log file and see what the fatal error message is. Certain errors from sbmclient are considered fatal. Maybe I'm wrong, maybe it doesn't have anything to do with permissions. Can it be that it bails out at some UTF-8 characters, like Cyrillic or German umlauts? Hmm, I changed smb.conf option to match: unix charset = UTF-8 Now the backups doesn't even want to start (or it stops after few secs) :( 2006-03-28 11:11:37 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-28 11:12:20 Got fatal error during xfer (Didn't get entire file. size=460206, nread=196560) 2006-03-28 11:12:25 Backup aborted (Didn't get entire file. size=460206, nread=196560) It seems I had to wipe out the whole directory for the host, only then it starts again. We'll see what happens when it approaches UTF8 characters... -- Tomasz Chmielewski http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Consulation Request
Hello, Hope this is the correct place to ask this but I'm looking for a BackupPC expert who would possibly setup our server and show me how to setup a few computers so I get the hang of things. Please let me know if you're intersted. Thanks, Shane [EMAIL PROTECTED] 847 722 5521 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] can't do backups (of Windows shares with problematic permissions)
Tomasz Chmielewski wrote: (...) Is there a configuration option for backuppc that would make it continue on non-fatal errors (like permission denied above on one file among many)? Permission denied should not be a fatal error. Please look earlier in the log file and see what the fatal error message is. Certain errors from sbmclient are considered fatal. Maybe I'm wrong, maybe it doesn't have anything to do with permissions. Can it be that it bails out at some UTF-8 characters, like Cyrillic or German umlauts? Hmm, I changed smb.conf option to match: unix charset = UTF-8 Now the backups doesn't even want to start (or it stops after few secs) :( 2006-03-28 11:11:37 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-28 11:12:20 Got fatal error during xfer (Didn't get entire file. size=460206, nread=196560) 2006-03-28 11:12:25 Backup aborted (Didn't get entire file. size=460206, nread=196560) -- Tomasz Chmielewski http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Integer overflow in octal number
Hello List, I have been using BackupPC 2.1.1 (from Debian) to backup a number of linux hosts over RSync for some time without any difficulties. But recently I added a Windows 2000 server with several shares to be backed up over SMB and am getting the following error in the Xfer log: tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. So far these have only been recorded for full backups, but perhaps incremental backups are less likely to report the error just because less files are transferred. The details of the last full are as follows: Backup#: 4 Type: full TOTALS: #Files: 342257 Size/MB: 38932.6 MB/sec: 5.45 EXISTING FILES: #Files: 254509 Size/MB: 36390.8 NEW FILES: #Files: 102660 Size/MB:2550.6 A total of 9 Xfer errors were recorded for this full, where as 6 were recorded for the previous full. I attach the Xfer error log for the most recent full to save clogging up the list. I have compared the Xfer errors for the most recent full with the prior one but cannot find anything common. The errors mention completely different files. None of these files are very big. Oddly when I browse backups I find the files seem to be present! Does any one have any clue what might be going on, or any suggestions as to how I might further debug this? Thanks, Andy File /var/lib/backuppc/pc/tws2/XferLOG.4.z (Extracting only Errors) Contents of file /var/lib/backuppc/pc/tws2/XferLOG.4.z, modified 2006-03-27 19:09:36 (Extracting only Errors) Running: /usr/bin/smbclient tws2\\admin -U backuppc -E -N -d 1 -c tarmode\ full -Tc - Xfer PIDs are now 28715,28714 [ skipped 286 lines ] tarExtract: Done: 0 errors, 273 filesExist, 42167565 sizeExist, 27064281 sizeExistComp, 273 filesTotal, 42167565 sizeTotal Running: /usr/bin/smbclient tws2\\clients -U backuppc -E -N -d 1 -c tarmode\ full -Tc - Xfer PIDs are now 28728,28727 [ skipped 4622 lines ] tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: Integer overflow in octal number at /usr/share/backuppc/bin/BackupPC_tarExtract line 224. tarExtract: /Updates Oct 2002/New Images [ skipped 8358 lines ] write_data: write failure. Error = Connection reset by peer write_socket: Error writing 39 bytes to socket 5: ERRNO = Connection reset by peer Error writing 39 bytes to client. -1 (Connection reset by peer) [ skipped 44 lines ] tarExtract: Done: 0 errors, 10960 filesExist, 7709511073 sizeExist, 5619061525 sizeExistComp, 10966 filesTotal, 7710306883 sizeTotal Running: /usr/bin/smbclient tws2\\resources -U backuppc -E -N -d 1 -c tarmode\ full -Tc - Xfer PIDs are now 29639,29638 [ skipped 7495 lines ] tarExtract: Done: 0 errors, 7140 filesExist, 1002950747 sizeExist, 437700146 sizeExistComp, 7142 filesTotal, 1012178523 sizeTotal Running: /usr/bin/smbclient tws2\\SE\ Analysis -U backuppc -E -N -d 1 -c tarmode\ full -Tc - Xfer PIDs are now 29942,29941 [ skipped 1253 lines ] tarExtract: Done: 0 errors, 1150 filesExist, 238938725 sizeExi
Re: [BackupPC-users] can't do backups (of Windows shares with problematic permissions)
Craig Barratt wrote: Tomasz Chmielewski writes: I can't do a backup of a Windows share (accessed via smb method), which contains files that are denied for the user which connects. Whenever backuppc approaches a directory it can't access, it breaks the backup (and starts from the beginning on a next full hour, approaching the same file/dir, breaking...). 2006-03-27 05:23:21 Got fatal error during xfer ( directory \Share\group01\Homes\j.bib\) 2006-03-27 05:23:26 Backup aborted (directory \Share\group01\Homes\j.bib\) Is there a configuration option for backuppc that would make it continue on non-fatal errors (like permission denied above on one file among many)? Permission denied should not be a fatal error. Please look earlier in the log file and see what the fatal error message is. Certain errors from sbmclient are considered fatal. Maybe I'm wrong, maybe it doesn't have anything to do with permissions. Can it be that it bails out at some UTF-8 characters, like Cyrillic or German umlauts? -- Tomasz Chmielewski http://wpkg.org --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=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] can't do backups (of Windows shares with problematic permissions)
Craig Barratt wrote: Tomasz Chmielewski writes: I can't do a backup of a Windows share (accessed via smb method), which contains files that are denied for the user which connects. Whenever backuppc approaches a directory it can't access, it breaks the backup (and starts from the beginning on a next full hour, approaching the same file/dir, breaking...). 2006-03-27 05:23:21 Got fatal error during xfer ( directory \Share\group01\Homes\j.bib\) 2006-03-27 05:23:26 Backup aborted (directory \Share\group01\Homes\j.bib\) Is there a configuration option for backuppc that would make it continue on non-fatal errors (like permission denied above on one file among many)? Permission denied should not be a fatal error. Please look earlier in the log file and see what the fatal error message is. Certain errors from sbmclient are considered fatal. But in this case, it seems that it happens when it approaches a directory which it can't open. Here is some log - it starts with a full backup, where BackupPC could access all files. Then some unaccessible directories were created, and incremental backup started. From that time on, I have only one full backup (when all files were accessible), and I'm unable to create an incremental backup. If I try to create a full backup, it also fails, and I have a "partial" backup. If you need more info (what info?), let me know: 2006-03-24 13:18:18 full backup started for share S$ 2006-03-24 14:55:55 full backup started for share T$ 2006-03-24 15:11:32 full backup started for share U$ 2006-03-25 06:47:29 full backup 0 complete, 412245 files, 57049739167 bytes, 96 xferErrs ( bad files, bad shares, 96 other) 2006-03-25 13:00:04 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-25 13:05:04 incr backup started back to 2006-03-24 12:18:18 for share T$ 2006-03-25 13:05:10 incr backup started back to 2006-03-24 12:18:18 for share U$ 2006-03-25 13:21:00 Got fatal error during xfer ( directory \Freigaben\0\Homes\vat\- Bewerbungen\Franchising\LIDL Verkaufsleiter- -in-Dateien\) 2006-03-25 13:21:05 Backup aborted (directory \Freigaben\0\Homes\vat\- Bewerbungen\Franchising\LIDL Verkaufsleiter--in-Dateien\) 2006-03-25 14:00:04 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-25 14:04:38 incr backup started back to 2006-03-24 12:18:18 for share T$ 2006-03-25 14:04:43 incr backup started back to 2006-03-24 12:18:18 for share U$ 2006-03-25 14:22:01 Got fatal error during xfer ( directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) 2006-03-25 14:22:06 Backup aborted (directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) 2006-03-25 15:00:04 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-25 15:07:07 incr backup started back to 2006-03-24 12:18:18 for share T$ 2006-03-25 15:07:12 incr backup started back to 2006-03-24 12:18:18 for share U$ 2006-03-25 15:25:24 Got fatal error during xfer ( directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) 2006-03-25 15:25:31 Backup aborted (directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) 2006-03-25 16:00:04 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-25 16:05:25 incr backup started back to 2006-03-24 12:18:18 for share T$ 2006-03-25 16:05:29 incr backup started back to 2006-03-24 12:18:18 for share U$ 2006-03-25 16:23:35 Got fatal error during xfer ( directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) 2006-03-25 16:23:40 Backup aborted (directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) 2006-03-25 17:00:05 incr backup started back to 2006-03-24 12:18:18 for share S$ 2006-03-25 17:05:51 incr backup started back to 2006-03-24 12:18:18 for share T$ 2006-03-25 17:05:55 incr backup started back to 2006-03-24 12:18:18 for share U$ 2006-03-25 17:21:22 Got fatal error during xfer ( directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) 2006-03-25 17:21:28 Backup aborted (directory \Freigaben\0\Homes\nert\Excel 2000 ?bungen\Sonstige\) -- Tomasz Chmielewski --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/