Re: [BackupPC-users] Need access to raw mailing list archive

2008-02-21 Thread Craig Barratt
Curtis writes: > Hey, folks! It's W. Curtis Preston, the author of Backup & Recovery and > the webmaster of www.backupcentral.com. > > I'd like to add the backuppc-users list to the backup software mailing > lists that I support on BackupCentral.com. I added the NetWorker, > NetBackup, and TSM

Re: [BackupPC-users] download ZIP archive: different size before andpost

2008-02-20 Thread Craig Barratt
Mirco writes: > On server i have ext3 fs, and in this case on client i have Win XP > with NTFS filesystem. If you look at the source for Archive::Zip, the zip file format it writes uses a 32 bit unsigned integer for the file length. So zip (or Archive::Zip) imposes a 4GB file size limit. Craig

Re: [BackupPC-users] Exclude list being ignored?

2008-02-19 Thread Craig Barratt
Steven writes: > Yes, I know that seems like the likely answer, but unfortunately it > isn't. This happens on all of the hosts, regardless of whether or not > there are per host configuration files. Well, if you are confident the likely explanation is wrong, I'd recommend adding some debug state

Re: [BackupPC-users] Network error on smb backup

2008-02-18 Thread Craig Barratt
Alex writes: > I've got a laptop (mine :)) which has been backed up successfully via > smb for a while now. All of a sudden, it's losing the network > connection, along with the following errors. I've seen cases where WinXX disk corruption can cause smbclient to fail. Have you tried running the

Re: [BackupPC-users] Exclude list being ignored?

2008-02-18 Thread Craig Barratt
Steven writes: > Running: /usr/bin/ssh -q -x -l netbackup freedom.rapidxdev.com > /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms > --owner --group --links --times --block-size=2048 --recursive -D > --bwlimit=200 --ignore-times . / Yes, you can see none of the excludes make i

Re: [BackupPC-users] Exclude list being ignored?

2008-02-18 Thread Craig Barratt
Steven writes: > We are running backuppc 2.1.2 on a debian 4 host, backing up other > debian hosts. Rsync version is 2.6.9 protocol version 29 on server and > clients. > > I've set up backuppc on other systems and never run into this issue, but > whenever we run backups the $Conf{BackupFilesExc

Re: [BackupPC-users] Probl me Backuppc + novascale

2008-02-11 Thread Craig Barratt
KOUAO writes: > Fatal error (bad version): Permission denied, please try again. Your ssh command (or sudo) is giving the error: Permission denied, please try again. You need to find out what part of the command is failing. Craig

Re: [BackupPC-users] BlackoutPeriods not working as desired.

2008-02-10 Thread Craig Barratt
Pete writes: > With that said I do have a small problem which has so far eluded my > attempts at a solution, it has to do with the BlackoutPeriods. > If I understand it correctly this parameter sets the window in which no > backups are supposed to happen, and that is exactly what I want, yet all >

Re: [BackupPC-users] syntax for smb exclude

2008-02-10 Thread Craig Barratt
jbk writes: > My mistake but that still does not explain why $fileList is > being backslash escaped. No, $filelist is not a recognized substitution, so BackupPC thinks you really want a literal '$filelist' in the argument list, so the '$' is backslash escaped. In contrast, $fileList gets replace

Re: [BackupPC-users] Problem with backups

2008-02-09 Thread Craig Barratt
Bradley writes: > * I'm gettiing various failures on defiant. Everything from killing the KDM > login to killing the machine: > > 2008-02-07 07:53:06 Got fatal error during xfer (Unexpected end of tar > archive) > 2008-02-07 07:53:14 Backup aborted (lost network connection during backup) > 2008

Re: [BackupPC-users] rsync-like dd/netcat script

2008-02-07 Thread Craig Barratt
Tim writes: > Some time ago, someone e-mailed a script that performed a dd/netcat in > an rsync-like manner: it hashed blocks of the disk and if they matched > between the two sides they were not sent. If they didn't, the block was > sent. The idea was to limit the amount of data that would be

Re: [BackupPC-users] Restore root share with "*" and missing icons .png

2008-02-07 Thread Craig Barratt
Coyote writes: > /usr/share/backuppc/bin/BackupPC_tarCreate -h 192.168.0.11 -n 0 -s \/ -t * > >bambi.tar You need to quote or escape the "*", eg: /usr/share/backuppc/bin/BackupPC_tarCreate -h 192.168.0.11 -n 0 -s / -t '*' >bambi.tar Craig

Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink

2008-02-07 Thread Craig Barratt
Gaetano writes: > After full localhost backup (many gigabyte) I got the following error: > > BackupPC_link got error -4 when calling > MakeFileLink(/data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib, > cb5bab76b89c25b11c8f575a567b571a, 1) > > I checked the following facts: > > 1) /dat

Re: [BackupPC-users] syntax for smb exclude

2008-02-03 Thread Craig Barratt
jbk writes: > I have had to implement a work around under Fedora 7. It all > surrounds getting 'BackupFilesExclude' to work using 'smb' > as the 'Xfermethod'. The main issue is that variable > substitution for the file list does not work. > > Xfer.log output for a full backup: > #

Re: [BackupPC-users] strange log entry

2008-01-28 Thread Craig Barratt
Lorenz writes: > i'm using backuppc 3.10 on debian 4 to backup a linux machine via rsync. > backuppc logs > > backup/mmf/admins.MYD got digests fa621bfabbcb2994d9b4f7f004a57d2a vs > fa621bfabbcb2994d9b4f7f004a57d2a > > there are about 25 similar lines. > what does that mean? those files aren't

Re: [BackupPC-users] Limiting restore operation to a share or sub directory

2008-01-27 Thread Craig Barratt
dan writes: > it would be usefull to be able to selectively limit the restore > methods. allow tar and zip but disallow direct restores for instance. You can. Direct restores are disabled by making the corresponding restore command empty (eg: $Conf{TarClientRestoreCmd}, $Conf{RsyncClientRestore

Re: [BackupPC-users] Too many links?

2008-01-21 Thread Craig Barratt
John writes: > I'm running BackupPC 3.0.0 on CentOS 4, with ext3 file systems. When > trying to backup one of our servers, BackupPC logs the below error: > > Too many links at /backuppc/bin/BackupPC_tarExtract line 320 mkdir() is failing. It appears that certain file systems have a limit of ~32

Re: [BackupPC-users] Problems starting backuppc under Mandriva 2008

2008-01-16 Thread Craig Barratt
David writes: > I took a look at XferLOG.bad.z file and I couldn't see any errors from tar > at all. I'm assuming that the errors would be at the end of the file. At > the time the error occurred it was backing up /music. This mount point > contains 9351 files. Would that cause a problem ? Wo

Re: [BackupPC-users] Problems with dashes in archive request file with serverMesg

2008-01-14 Thread Craig Barratt
Tim writes: > Will this get added to future releases? Yes. Craig - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/cl

Re: [BackupPC-users] Problems starting backuppc under Mandriva 2008

2008-01-14 Thread Craig Barratt
David writes: > Well, all was going well, but almost 3 hours into my backup I get the > following error: > > 2008-01-14 13:23:06 Got fatal error during xfer (Tar exited with error 512 > () status) > 2008-01-14 13:23:11 Backup aborted (Tar exited with error 512 () status) Look in the XferLOG.bad

Re: [BackupPC-users] How to manually add a single file to a backed up host

2008-01-14 Thread Craig Barratt
Adam writes: > But now my backup is timeing out on this file, and it doesn't even run > long enough to backup this entire file, so it removes the file each time > it attempts to run the backup. What sort of timeout do you get? If it is an ALARM signal you should significantly increase $Conf{Clie

Re: [BackupPC-users] Problems starting backuppc under Mandriva 2008

2008-01-12 Thread Craig Barratt
David writes: > ./backuppc start > Starting backuppcsyntax error at /usr/share/backuppc/lib/BackupPC/Lib.pm line > 139, near "} else" > Compilation failed in require at /usr/share/backuppc/bin/BackupPC line 60. > BEGIN failed--compilation aborted at /usr/share/backuppc/bin/BackupPC line 60. >

Re: [BackupPC-users] Problems with dashes in archive request file with serverMesg

2008-01-12 Thread Craig Barratt
Tim writes: > archive: /usr/share/BackupPC/bin/BackupPC_archive: bad reqFileName (arg > #3): archiveReq.host-name.cron.0 The error checking needs to be a bit more generous. In particular, this line in BackupPC_archive if ( $ARGV[2] !~ /^([\w.]+)$/ ) { should be something like: if ( $A

Re: [BackupPC-users] Compress Zlib problem

2008-01-10 Thread Craig Barratt
Brad writes: > I've seen a couple of threads regarding this topic suggesting for the most > part installing the RPM's via dag weirs or ATRPMs. I've got RHEL5 and > backuppc 3.0 and 3.1. I did a system update in November and it upgraded > perl from 5.8.7 to 5.8.8. Since then I have a couple syst

Re: [BackupPC-users] scheduling backups

2008-01-10 Thread Craig Barratt
Rich, > The DHCP flag is a bit of a misnomer.. I have DHCP configured to > register names into my local bind/named and I do not need the DHCP flag. You're right. I regret calling it that. It really only needs to be set for hosts where a broadcast nmb lookup fails, and a unicast one works. If n

Re: [BackupPC-users] Ugrade from 3.0.0 to 3.1.0

2008-01-09 Thread Craig Barratt
Arron writes: > Yup its in there and set to en > > $Conf{Language} = 'en'; The error is actually a bit more serious: it can't read or find the config at all. Something is wrong with the install: incorrect paths or permissions. Craig

Re: [BackupPC-users] Backup only some files / using BackupFilesOnly

2008-01-09 Thread Craig Barratt
Martin writes: > Don't ask me why $Conf{BackupFilesOnly} did not work and using a file > gets this right, but it works now! $Conf{BackupFilesOnly} is less flexible than rsync's exclude/include options, since it is common the all the XferMethods. $Conf{BackupFilesOnly} assumes that it is rooted t

Re: [BackupPC-users] First backup failed

2008-01-09 Thread Craig Barratt
Jockes writes: > $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C > $shareName' > . ' --totals'; You are running tar as the backuppc user, so it probably doesn't have access to /var/mail. Craig -

Re: [BackupPC-users] hard links, tar vs. rsync

2008-01-09 Thread Craig Barratt
Paul writes: > sigh. i'm not doing well on this, am i. you're right -- i just checked > the 3.0.0 tarball. i must have dropped '--hard-links' when i brought my > config forward from 2.1.x. > > sorry, again, for the noise. No, this time it's not your issue. During an upgrade existing config s

Re: [BackupPC-users] Restore problem

2008-01-09 Thread Craig Barratt
Frederic writes: > Since I upgrade from 3.0 to 3.1 I've this error when I try to view the > directory listing of a client. > > Software error: > > Can't locate object method "dirRead" via package "BackupPC::Lib" at > /usr/local/BackupPC/lib/BackupPC/View.pm line 133. > > > What can I do to resol

Re: [BackupPC-users] rsync --acls stalls

2008-01-09 Thread Craig Barratt
Christoph writes: > As far as I read the docs, starting with 3.0.x backuppc supports > (unix/linux) acls and extended attributes (MacOS). But when adding > option --acls to RsyncArgs, backuppc stalls. The BackupPC_dump process > and the rsync process on the client are just hanging in select calls.

Re: [BackupPC-users] Trying to backup via rsyncd

2008-01-09 Thread Craig Barratt
Simon writes: > I`m trying to run a Backup from an Netware 6.5 server running rsyc 2.6.3. I > tested if the netware side is working by executing the following command on > my backuppc system directly on the console: > > rsync -D --numeric-ids --perms --owner --group --links --hard-links --times >

Re: [BackupPC-users] web interface with elinks/links2 ?

2008-01-09 Thread Craig Barratt
Paul writes: > i may have been mistaken about what changed. googling, i just > found the following thread, from this list, from august of this > year. rob owens describes my problem exactly, and claims the > buttons stopped working with 3.0.0, not with a change in browser: > > > http://www.ma

Re: [BackupPC-users] BackupPC_link error

2007-12-30 Thread Craig Barratt
[EMAIL PROTECTED] writes: > Backuppc (3.0.0) has been running smoothly for me for a week or so > (backuping up 2 linux boxes and 2 windows boxes). > > But just yesterday, my log was filled with errors of BackupPC_link > (usually -3 or -4). > > I searched the mailing list archives and often this

Re: [BackupPC-users] CDP

2007-12-30 Thread Craig Barratt
Pablo writes: > Thanks for that information, this brings another question: > > What's the point of having multiple full backups? Wouldn't that be > redundant with the information of a full backup and the incrementals? Full backups provide two things: - a reference point for the following incr

Re: [BackupPC-users] CDP

2007-12-30 Thread Craig Barratt
Pablo writes: > Is it possible to achieve backups with a granularity better than day? I > see that a lot of options have as the smaller number 1 referring to > days, is it possible to use backuppc to create backups every hour? You need to: - make sure $Conf{WakeupSchedule} wakes up the server

Re: [BackupPC-users] hard links, tar vs. rsync

2007-12-30 Thread Craig Barratt
Paul writes: > for a long time there was an issue with using rsync as the transport, > since hard links would not be preserved in the backups. i believe this > is fixed now -- can someone remind me in which release the fix appeared? > (i'm running 3.0.0.) Yes, hardlinks with rsync work in 3.x.

Re: [BackupPC-users] FreeBSD start script

2007-12-30 Thread Craig Barratt
Dan writes: > I've written and tested a start script for FreeBSD. Attached are > freebsd-backuppc (for init.d/src) and a section for the README in > init.d. Thanks. 3.1.0 already includes one from Gabriel Rossetti. Craig

Re: [BackupPC-users] SMB protocol and error report

2007-12-30 Thread Craig Barratt
Jesus writes: > There are more files in the share and the full backup is created > successful. This is the XferLOG of full backup: Ok, this is a bug that I will fix in the next version. The fix is simple, just add an increment of the error counter when NT_STATUS_ACCESS_DENIED is seen. A patch i

Re: [BackupPC-users] How to delete old files?

2007-12-30 Thread Craig Barratt
Mark writes: > My home backuppc server has filled up (500GB) and I'd like to delete > some old backups. To free some space, in the config.pl file I changed: > > $Conf{FullKeepCnt} = 3; > > $Conf{FullKeepCntMin} = 1; > $Conf{FullAgeMax} = 30; > > I then restarted backuppc and ran BackupPC_ni

Re: [BackupPC-users] strange file error

2007-12-26 Thread Craig Barratt
Sean writes: > I'm backing up a Linux server via SSH+tar, and it keeps aborting with > a file name as the error. Most files backups just fine however. > The file names are not unusual, except that they have spaces in them. > If I delete the file the name thing happens with files further down. > >

Re: [BackupPC-users] Restore problem

2007-12-24 Thread Craig Barratt
Erik writes: > Ubuntu release 3.0. I haven't upgraded to 3.1 because I prefer to stick > to the repository, unless it can't be avoided. It appears the file list sort order is different between BackupPC and rsync. Let's take this off list. I'll send some debug code that we can use to try to figu

Re: [BackupPC-users] Restore problem

2007-12-21 Thread Craig Barratt
Erik writes: > I recently did a large restore, 25Gb in 177 minutes. At a first > glance it seemed to have succeeded, but now I find that in some > directories files have been misplaced. I am restoring from one > windows client to another using rsyncd. This sounds like a problem specific to rsync

Re: [BackupPC-users] SMB protocol and error report

2007-12-21 Thread Craig Barratt
Jesus writes: > NT_STATUS_ACCESS_DENIED is not reported, why? When this error happens at the top-level share it is considered a fatal error, so it doesn't increment the Xfer error count. Just to confirm: is the backup complete (ie: are there any other files or directories that should be backed u

Re: [BackupPC-users] automated setting of certain parameters in config.pl

2007-12-21 Thread Craig Barratt
Les writes: > i usually achieve this via a perl one-liner like below. > > perl -pi -e "s|$Conf{CgiAdminUsers} = > ''|$Conf{CgiAdminUsers} = 'root administrator'|g" > /etc/BackupPC/config.pl > perl -pi -e "s|$Conf{CgiAdminUserGroup} =''|$Conf{CgiAdminUserGroup} > = 'administrators'|g"

Re: [BackupPC-users] BackupPC_zipCreate and charset for encoding file names

2007-12-21 Thread Craig Barratt
Alexander writes: > ># > ># Version 3.1.0beta0, 3 Sep 2007 > ># > >* Made the default charset for BackupPC_zipCreate cp1252, which > > appears to work co

Re: [BackupPC-users] Using BackupOnly for rsync file specs leads to strange debug output

2007-12-21 Thread Craig Barratt
John writes: > I am using BackupPC-3.1.0 and I want to back up a share using the > following exclusion patterns under rsync: > > + */ > + */Maildir/** > - * > > basically I want to include any directory tree starting with the > directory Maildir one level below the root of the transfer: sp

Re: [BackupPC-users] Samrat sent you a friend request on Yaari...

2007-12-08 Thread Craig Barratt
Samrat writes: > Samrat Mitra wants you to join Yaari! > > Is Samrat your friend? You are now unsubscribed from this list. Craig - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best

Re: [BackupPC-users] Per-Host RsyncClientPath Not Taking Effect (BPC 3.1)

2007-12-07 Thread Craig Barratt
Nils writes: > Maybe because you override $Conf{RsyncClientPath} *after* setting > $Conf{RsyncClientCmd} for this host? Nice try, but the config settings are order-independent. The values get interpolated just before the command is run. Jon, most likely the per-client config isn't getting read.

Re: [BackupPC-users] failure installing to bin subdirectory

2007-12-07 Thread Craig Barratt
Jim writes: > I have a sever that has been happily running backuppc 2.1.0 for well > over a year, and decided to upgrade it to 3.1.0. The server is Debian > stable, but BackupPC has only been installed from source, never > through apt-get or aptitude. So I stopped the BackupPC process, and > moved

Re: [BackupPC-users] Bug in Backup File Selection in BackupPC 3.1?

2007-12-05 Thread Craig Barratt
Jon writes: > > I'm sure it works, there must be some error in your settings. Could you > > maybe post your BackupFilesExclude and BackupFilesOnly settings? > > Sure. In /etc/BackupPC/config.pl > > $Conf{BackupFilesOnly} = {}; > $Conf{BackupFilesExclude} = {}; > > In /etc/Backu

Re: [BackupPC-users] backing up localhost fails

2007-12-04 Thread Craig Barratt
Scott writes: > TarClientCmd is > > /usr/bin/sudo /bin/tar -c -v -f - -C $shareName+ --totals > > and /bin/tar --version gives: > > tar (GNU tar) 1.15.92 > > The backup fails with: > > 2007-12-04 22:09:50 full backup started for directory /data > 2007-12-04 22:27:23 Got fatal error during xfe

Re: [BackupPC-users] Compression level

2007-12-04 Thread Craig Barratt
Rich writes: > I don't think BackupPC will update the pool with the smaller file even > though it knows the source was identical, and some tests I just did > backing up /tmp seem to agree. Once compressed and copied into the > pool, the file is not updated with future higher compressed copies. >

Re: [BackupPC-users] Memory leak?

2007-12-03 Thread Craig Barratt
John, > Well some more digging and a recompile of perl set to use system > malloc() instead of it's build in malloc() and the problem has gone > away (usemymalloc=n).Something the restore process does really > causes perl malloc to go crazy on lage restore jobs. Playing with > the write buf

Re: [BackupPC-users] Upgrade to 3.1, Hosts Summary disappeared -> solved

2007-12-03 Thread Craig Barratt
Updating the list. With the help of Daniel and Chris we figured out the problem. With mod_perl enabled you need to restart apache after upgrading BackupPC, otherwide apache will still be running parts of the old BackupPC code. Craig ---

Re: [BackupPC-users] Incremental forever.

2007-12-03 Thread Craig Barratt
bt writes: > Would it be possible to do incremental forever with BackupPc like you > can do with TSM, or if it is not possible, do you plan to implement it > in the future ? > > I understand it can/will be cpu intensive, but such a feature would be > nice with some servers. > > Thanks for a grea

Re: [BackupPC-users] Direct restore / Multiple hosts

2007-12-03 Thread Craig Barratt
Trygve writes: > Direct restore has been disabled for host . Please select > one of the other restore options. > > ... this message will always specify the same hostname even though I > want to restore a different host. > > If I change /etc/backuppc/hosts to contain only one host --- > regardles

Re: [BackupPC-users] Upgrade to 3.1, Hosts Summary disappeared

2007-12-01 Thread Craig Barratt
daniel writes: > I have the same problem. I have upgraded 3.0 to 3.1 on CentOS5. I > edited the lines above from the lib/BackupPC/Lang/en.pm, restarted > the backuppc but is not working for me. The Hosts Summary is a blank > page. Can you send me a screen dump too? Is the entire page blank,

Re: [BackupPC-users] Upgrade to 3.1, Hosts Summary disappeared

2007-12-01 Thread Craig Barratt
daniel, > I have the same problem. I have upgraded 3.0 to 3.1 on CentOS5. I > edited the lines above from the lib/BackupPC/Lang/en.pm, restarted > the backuppc but is not working for me. The Hosts Summary is a blank > page. I also edited the ib/BackupPC/CGI/Lib.pm. It's the same error > after

Re: [BackupPC-users] Upgrade to 3.1, Hosts Summary disappeared

2007-11-30 Thread Craig Barratt
Chris writes: > I have upgraded from backupppc 3.0 to 3.1 on Redhat (RHEL 4) and > also lost my Hosts Summary...all of the other links appear to be > working. Apache logs don't seem to show an error. Anyone else > having this problem? > > I ran my upgrade using perl configure.pl and pointing to

Re: [BackupPC-users] rsync error causes web interface not to show backup file even though it exists

2007-11-29 Thread Craig Barratt
Les writes: > perhaps its a bug?? I believe it is the same bug that was fixed in 3.1.0. In certain cases the attrib file doesn't get written correctly when there is an md4 error in rsync. One workaround is to simply remove the attrib file in the offending directory (if you try that, please m

Re: [BackupPC-users] Full backup bandwidth reduction

2007-11-28 Thread Craig Barratt
Toni writes: > BackupPC full dump, with patch which removed --ignore-times for a full > backup: > Done: 507 files, 50731819 bytes > full backup complete > real13m39.796s > user0m4.232s > sys 0m0.556s > Network IO used: 620MB > > 'rsync -auvH --ignore-times' on the same data: > sent 48

Re: [BackupPC-users] [BackupPC-devel] BackupPC 3.1.0 released - no zombie resolution?

2007-11-28 Thread Craig Barratt
John writes: > Cool. Can't wait to get this into production, but I notice that there > is no mention of a fix for the zombie processes left around for every > share until the backup of a host completes. E.G. It didn't make the 3.1.0 release - it's still on my todo list. Craig --

[BackupPC-users] BackupPC 3.1.0 released

2007-11-27 Thread Craig Barratt
BackupPC 3.1.0 has been released on SF.net. This release contains a few new features and bug fixes. Some of the new features are: * Added new script BackupPC_archiveStart that allows command-line starting of archives. * Added sorting by column feature to host summary table in CGI interface.

Re: [BackupPC-users] Upgrade from very old version

2007-11-25 Thread Craig Barratt
Jeffrey writes: > I have recently upgraded from a really old version of BackupPC to 3.0.0 > (don't remember exactly what version, but at least 4+ years old I > believe). Because of this, when I upgraded I wanted to keep using my > current directory structure and config.pl files, so I changed useF

Re: [BackupPC-users] odd ping error - threshold is 0msec

2007-11-20 Thread Craig Barratt
Matthew writes: > I'm getting an odd ping error and looking for some help. > > I'm getting this on only one machine: > * Last status is state "idle" (no ping) as of 11/19 14:22. > * Last error is "ping too slow: 1.339msec (threshold is 0msec)" > > Even though the config.pl is: > $Conf{PingMaxMse

Re: [BackupPC-users] Problem using --cvs-exclude and the BackupFilesExclude option

2007-11-19 Thread Craig Barratt
Cameron writes: > $Conf{BackupFilesExclude} = { >'home' => ['/tmp'], > }; > > Connected to module home > Sending args: --server --sender --numeric-ids --perms --owner --group > -D --links --hard-links --times --block-size=2048 --recursive > --checksum-seed=32761 . . > Checksum caching enabled

Re: [BackupPC-users] Rsynch Error

2007-11-14 Thread Craig Barratt
John writes: > What it does not seem to do is give me an option to set > > $Conf{RsyncdUserName} = 'backup'; This is a CGI editor bug in 3.0.0 that is fixed in 3.1.0beta. Craig - This SF.net email is sponsored by: Splunk I

Re: [BackupPC-users] System upgrade -> Errors

2007-11-12 Thread Craig Barratt
Adam writes: > Now when I go to the host page I get an error message: > index.cgi: Can't use an undefined value as an ARRAY reference at > /usr/share/backuppc/lib/BackupPC/CGI/HostInfo.pm line 293., referer: > http://10.1.1.200/backuppc/index.cgi?action=summary > > I've restarted backuppc as well

Re: [BackupPC-users] Odd call to $XferLOG->write: unbalanced quotes in BackupPC_dump 3.1.0beta1?

2007-11-12 Thread Craig Barratt
John writes: > Not sure of this is fixed in the latest beta release, but line 779 of > BackupPC_dump looks wierd. It appears to have unbalanced " marks. > It reads: > > $XferLOG->write(\"$logMsg\n"); > > but I claim it should read: > > $XferLOG->write("$logMsg\n"); The original vers

Re: [BackupPC-users] One long backup holds up the rest

2007-11-08 Thread Craig Barratt
Keith writes: > Backing up multiple systems to one server. If one of the clients has had a > large amount of data added such that the backup takes a long time, > BackupPC_nightly doesn't run as it's waiting for the backup to finish. As > a consequence of that, no further backups will run (they jus

Re: [BackupPC-users] rsyncd "file has vanished" error -- but the files have not vanished

2007-11-08 Thread Craig Barratt
Rob writes: > I think I see the problem now. Each of these files contains at least > one "special" character. For instance, a 'u' with two dots over it. It > seems that maybe rsync, windows, and BackupPC are not agreeing on the > spelling of the filenames. Does this sound right? And is there

Re: [BackupPC-users] BackupPC Showing 0.00Gb in Pool

2007-11-07 Thread Craig Barratt
Carl Soderstrom writes: > On 11/07 04:25 , Vince wrote: > > Your right. We ran out of space our "/" drive. I made room and > > restarted the backuppc server but it still shows 0.00GB. > > I think that will get fixed up overnight; but it may be that you need to > rebuild the file which contains

Re: [BackupPC-users] Incremental backup levels not working.

2007-11-05 Thread Craig Barratt
Craig writes: > Yes it is. Since the Config hash is empty when each config file is parsed, > this line in lib/BackupPC/Storage/Text.pm incorrectly forces a default value > to $Conf{IncrLevels} when it might already be defined in the main config file: > > $conf->{IncrLevels} = [1] if ( !defin

Re: [BackupPC-users] Incremental backup levels not working.

2007-11-05 Thread Craig Barratt
John writes: > Yup, that's the only way I can get it to work. If it's in the main > config file, it doesn't work. Sounds like a bug to me. Yes it is. Since the Config hash is empty when each config file is parsed, this line in lib/BackupPC/Storage/Text.pm incorrectly forces a default value to $C

Re: [BackupPC-users] RE solution for backup Windows

2007-11-04 Thread Craig Barratt
Tuxoide writes: > Thank you! I have this problem, too. Can someone include this patch > into cygwin or rsync? This workaround was proposed a long time ago (~5 years), and more recent versions of cygwin should not have the original problem. What version of cygwin are you running? Craig -

Re: [BackupPC-users] Rsync fulls complete, but incrementals don't

2007-11-04 Thread Craig Barratt
Les writes: > My guess is that something in the network is timing out idle connections > after some fairly short (for TCP) interval. If you set the keepalive > option on a connection, the endpoints will exchange packets periodically > even if there is no data to send so the network device should

Re: [BackupPC-users] Changing rsync options for different shares.

2007-11-04 Thread Craig Barratt
Paul writes: > I haven't tested this, but I believe the order is to source the main config > file and then source the config file for the individual host being backed up That's correct. > So you should be able to do something like this: > > $Conf{RsyncArgs} = [ @$Conf{RsyncArgs}, '--copy-links'

Re: [BackupPC-users] backuppc backing up backup directory

2007-11-04 Thread Craig Barratt
Paul writes: > I did a couple of more tests. First I removed > /backup/backuppc/pc/shebop/config.pl, and it backed up normally (backed up > the root filesystem, that is). > > Then I changed the order of $Conf{RsyncShareName}: > > $Conf{RsyncShareName} = [ > '/export/bedr

Re: [BackupPC-users] Backup files disappeared

2007-10-30 Thread Craig Barratt
Yaakov writes: > When I changed which "shares" I wanted to backup (through samba > client), the ones that were there already all backed up disappeared. > They disappeared not just from the web-based interface, but after > checking the actual back up location on the disk, I saw that they > disappea

Re: [BackupPC-users] Message: "Got fatal error during xfer" but no error indication

2007-10-28 Thread Craig Barratt
Peter writes: > I got completely stuck with the following Problem: > > "Got fatal error during xfer (Gesamtzahl geschriebener Bytes: 21678080 > (21MiB, 401KiB/s))" BackupPC expects the output of tar to be in English. It doesn't recognize the final total summary, and therefore thinks because tha

Re: [BackupPC-users] session setup failed: NT_STATUS_LOGON_FAILURE when using PASSWD environment variable

2007-10-27 Thread Craig Barratt
David writes: > Check this page on the wiki > > http://backuppc.wiki.sourceforge.net/brokensambaversion I'm not sure this is exactly the same issue that was being asked about, but this is a great way to respond to a repeated question! Thanks for adding it to the Wiki. Thanks, Craig --

Re: [BackupPC-users] tar over ssh error

2007-10-26 Thread Craig Barratt
Lai writes: > I am using CentOS as the backup server try to backup a Solaris 5.8 server. > > Below is the output from the logs > > Running: /usr/bin/ssh -q -x -n -l root 10.250.2.200 > /usr/bin/tar -cvf - -C / ./opt/rts/rtd ./etc/hosts ./etc/services > ./var/spool/cron > f

Re: [BackupPC-users] problems while MakeFileLink for localhost backup.

2007-10-24 Thread Craig Barratt
zwiskle writes: > - The disk is a usb-disk (500G, 10%full) mounted to /mnt/backup_platte. > - I've modified in the config to point to /mnt/backup_platte/backuppc > insted of /var/lib/backuppc > ( set using config.pl:$Conf{TopDir} = '/mnt/backup_platte/backuppc'; ) Depending upon your distribution

Re: [BackupPC-users] Sourceforge

2007-10-23 Thread Craig Barratt
Doug writes: > Has anybody noticed that the screen shots on Sourceforge are for > 1.5beta0 Actually Jono Woodhouse sent me screen shots from 3.0.0 which were installed on http://backuppc.sourceforge.net. I just updated the SF.net screen shots. Craig

[BackupPC-users] BackupPC 3.1.0beta1 released

2007-10-23 Thread Craig Barratt
BackupPC 3.1.0beta1 has been released on SF.net. 3.1.0beta1 is the second beta release of 3.1.0. 3.1.0beta1 has several bug fixes since 3.1.0beta0. See the ChangeLog below for full details. Craig # # Version 3.1.0beta1, 21

Re: [BackupPC-users] wiki

2007-10-23 Thread Craig Barratt
Keith writes: > It's going to be very hard for new users to find the Wiki. May I suggest a > link to it in the footer of the mails on this mailing list, and also a > link from http://backuppc.sourceforge.net/ ? Done. The latest release, 3.1.0beta1, also replaces the FAQ navigation link with a li

Re: [BackupPC-users] Sourceforge

2007-10-22 Thread Craig Barratt
Doug writes: > Has anybody noticed that the screen shots on Sourceforge are for > 1.5beta0 If anyone can send me a complete set (plus a new one for the config editor) I will replace them. Note that you might want to obscure information about host names and user names. Craig ---

Re: [BackupPC-users] Printing the user manual

2007-10-21 Thread Craig Barratt
Peter writes: > How can I get Firefox to print the BackupPC user manual at my choice of font > size? Nothing I can do gets the number of pages down from about 66, which > is far too many. A printer font of 10 or 11 points is quite adequate in, > say, Times. > > Firefox has a setting to allow Web

Re: [BackupPC-users] Multiple commands in DumpPreUserCmd

2007-10-15 Thread Craig Barratt
Erik writes: > I did that already, but I was just wondering if this is the only way to > do it or not. It would make administration from the web interface just > that much easier :-) As you discovered, for security reasons BackupPC doesn't use a shell to execute any external commands. Therefore,

Re: [BackupPC-users] Include and exclude list trouble

2007-10-12 Thread Craig Barratt
Erik writes: > I am not sure if this is intended behaviour, but it certainly is not > expected. If would expect those rules to accumulate, having rules with * > as a key to apply to all shares -- making it easy to always for instance > exclude temporary directories -- on top of rules specific for

Re: [BackupPC-users] Backup Summary is empty but backups do exist

2007-10-11 Thread Craig Barratt
Peter writes: > I looked into the appropriate backuppc subdirectory and found an > empty 'backups' files and a 'backups.old' file with some content. > When I copied the 'backups.old' to 'backups', my backup summary appears > to be OK For some reason the new backups file wasn't written successfull

Re: [BackupPC-users] wiki and forums

2007-10-11 Thread Craig Barratt
Nils writes: > I don't know if spambots know how to operatie SF wiki's yet, but I'm > sure if they don't it won't be long before they do. But yeah, we can > see how things go... I found the wiki at backuppc.wiki.sourceforge.net/>. You do need a SF.net login to edit, so I hope we are safe for now

Re: [BackupPC-users] wiki and forums

2007-10-11 Thread Craig Barratt
Nils writes: > > http://www.wiki.sourceforge.net/ > > > > (i'm not quite sure how membership/authorization work.) > > I think that might be the option for continuity and everything will > be kept in the backuppc.sourceforge.net space. I think Craig may have > to 'enable' this somehow? I like

Re: [BackupPC-users] wiki and forums

2007-10-11 Thread Craig Barratt
Dan & others, Thanks for the healthy and even-handed discussion. I agree a Wiki would be great. I don't like the idea of a forum, for many of the same reasons discussed. The key thing to make a Wiki successful is committed support from a critical mass of people. As you all know, I've never had

Re: [BackupPC-users] out of memory, and slow backups after moving to 3.0

2007-10-10 Thread Craig Barratt
Ambrose writes: > This has been reported back when 3.0 was first released; it has to do > with the way the nightly job is scheduled, so you certainly are not seeing > something not seen before. I don't have the info offhand, though; but you > should be able to find some info about it in the list a

Re: [BackupPC-users] Does BackupPC do any type of file deletion?

2007-10-10 Thread Craig Barratt
Arch writes: > This morning, many of the files were missing off the root partition of one of > our windows servers. I'm sure this is a stupid question but does BackkupPC do > any type of file deletion (archiving, etc) as part of the backup routine? No! The only time it writes to a client is du

Re: [BackupPC-users] Restoring Backups to a different machine

2007-10-07 Thread Craig Barratt
Carl writes: > I've replaced the hard drive, now I'm going to reinstall K12LTSP from > CD's. After that, how do I restore all the home directories and conf > files to the "new" server. If I give it the same IP address/name and just > use the web interface restore function, will everything go in

Re: [BackupPC-users] Including .excluding directories

2007-10-04 Thread Craig Barratt
Romain writes: > Ok, I did successfully a full backup in specifying the 2 directories what I > wanted to save. > But, now, I would to save 2 specifics directories ('e$\data' and > 'e$\notes\data') and in one ('e$\notes\data') I would like to filter > the files or the type of file what I want to

Re: [BackupPC-users] Custom DumpPreShareCmd error

2007-10-04 Thread Craig Barratt
Toni writes: > Found it. Using " " around parameters, is parsed by the shell when > testing, but is not parsed when used in eg DumpPreShareCmd. > > So never use any quotes in BackupPC *Cmd lines! That's right - you found that BackupPC doesn't use a shell to run the *Cmd lines. It splits the arg

<    4   5   6   7   8   9   10   11   12   13   >