Re: [BackupPC-users] FreeBSD start script

2007-12-27 Thread Dan D Niles
On Thu, 2007-12-27 at 15:59 -0600, Dan D Niles wrote: > 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. I had a missing ":" in one line. It still works, but you might not

[BackupPC-users] FreeBSD start script

2007-12-27 Thread Dan D Niles
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. freebsd-backuppc Description: application/shellscript FreeBSD: When configure.pl is run, the script freebsd-backuppc is created. Install it by

Re: [BackupPC-users] Hitting link count limit

2006-05-19 Thread Dan D Niles
David Mansfield writes: > > I hit this problem too, because I have tons of copies of the CVS/Root > file for checked out sources, all with the exact same contents. I was > told that the problem is that the rsync process tries to hardlink > directly from the previous full backup to the ne

[BackupPC-users] Hitting link count limit

2006-05-18 Thread Dan D Niles
I am backing up a machine that has a bunch of files that contain only the word "END" and nothing else. There are enough of these files that I seem to be hitting a resource limit. I am seeing: Unable to link /backup/BackupPC/pc/obfuscated/214/f%2fhome/fpath-to-file to /backup/BackupPC/pc/obfusca

[BackupPC-users] FWD: Can't open for empty output

2006-05-16 Thread Dan D Niles
A while ago I posted this: --- start of forwarded message --- From: Dan D Niles <[EMAIL PROTECTED]> To: backuppc-users@lists.sourceforge.net Subject: Can't open for empty output Date: Mon, 3 Apr 2006 16:46:20 -0500 I am seeing hundreds of thousands of these in my log: c

Re: [BackupPC-users] Can't open for empty output

2006-04-03 Thread Dan D Niles
Carl Wilhelm Soderstrom writes: > > are you out of disk space? out of inodes? Nope. /dev/amrd2s1b1.4T462G820G36% 18021058 170889532 10% /backup --- This SF.Net email is sponsored by xPML, a groundbreaking scripting lang

[BackupPC-users] Can't open for empty output

2006-04-03 Thread Dan D Niles
I am seing hundreds of thousands of these in my log: create d 755 0/0 512 usr create d 755 0/0 512 var Can't open /backup/BackupPC/pc//new//f%2f/ for empty output create 0 / 0 Can't open /backup/BackupPC/pc//new//f%2f/ for empty output cr

[BackupPC-users] Excluding directories with rsync

2006-03-09 Thread Dan D Niles
Just use the $Conf option. Assuming /var is on a seperate partition: $Conf{BackupFilesExclude} = { '/var' => [ '/tmp', ], } If it is on the / partition: $Conf{BackupFilesExclude} = { '/' => [ '/var/tmp', ], } If you really want to

Re: [BackupPC-users] No Backups Email

2006-03-08 Thread Dan D Niles
Carl Wilhelm Soderstrom writes: > On 03/08 11:12 , Dan D Niles wrote: > > Is there a way to stop the emails for this host? > > $Conf{EMailNotifyMinDays} = 365; > Wouldn't that start notifying me after 365 days? What

[BackupPC-users] No Backups Email

2006-03-08 Thread Dan D Niles
I added a host for testing direct restores and have the full period set to -2 (don't do any backups). Every night I receive email saying there are no backups for that host. I know that and don't want any backups. Is there a way to stop the emails for this host? Dan -

[BackupPC-users] BackupPC running out of memeory

2005-12-30 Thread Dan D Niles
I have a machine that has been backup up fine until this week. Starting this week, every time it runs it dies part way through. It leaves behind a "new" directory, but it never gets linked to become a partial, and it gets wiped out every day. The only information I have to go on is this in the l

Re: [BackupPC-users] Balancing Full Backups

2005-09-26 Thread Dan D Niles
Craig Barratt writes: > > The challenge is that I think it is difficult to describe this > behavior with a config parameter, and implementing it would be > quite difficult. One issue: do you want all machines spread > evenly over 7 days, or do you want more of them lumped in the > evenings

[BackupPC-users] Balancing Full Backups

2005-09-23 Thread Dan D Niles
How hard would it be to implement something that balances when full backups are done? BackupPC is perfecly happy doing full backups of most hosts one night, and no full backups the next night. Amanda, as an example, tries to balance full backups so about the same amout of data is backed up each

Re: [BackupPC-users] error : Can't connect to server (unix connect: No such file or directory)

2005-09-06 Thread Dan D Niles
Les Mikesell writes: > > I haven't peeked at the code, but I'd guess that it is checking > that the programs exist so it can give a reasonable error message > at startup time instead of waiting until some backup run needs > it (remember that you can override $Conf{XferMethod} in a per-pc >

[BackupPC-users] Disturbing Loss of Backups

2005-09-01 Thread Dan D Niles
Dan D Niles writes: > > Attached is the backups file that caused this, and a patch to > prevent it from happening. I'm sure a more elaborate fix is possible, > this is just a quick hack to keep my backup from disappearing. I figured out how to trigger the bug. I previ

[BackupPC-users] Disturbing Loss of Backups

2005-09-01 Thread Dan D Niles
I tracked down the bug. When I changed the config file, it caused a problem where something wasn't defined that should have been. I uncommented the line #printf("Deleting backup $i ($prevFull)\n"); and added some additional prints. Deleting backup 3 (2) Deleting backup 2 (1) Delet

[BackupPC-users] Disturbing Loss of Backups

2005-08-31 Thread Dan D Niles
I had been backing up a host for a while using only full backups ($Conf{FullPeriod} = 0.97; $Conf{IncrPeriod} = 1.97;). This was working fine for a long time. Yesterday I switched to using incrementals ($Conf{FullPeriod} = 6.97; $Conf{IncrPeriod} = 0.97;). So last night it should have done an i