Re: [BackupPC-users] Problem backing up Linux server

2008-03-07 Thread Carl Wilhelm Soderstrom
On 03/07 05:01 , JWSmythe wrote:
>   The backup destination is marked as 'backup'.  It's been working 
> fine.  Until I brought p01 back up, things were great.  Now it's getting 
> hung up on something.  No idea what, it just does.  I've seen this 
> happen before with corrupt filesystems, or oddball files in the wrong 
> places.  

What I've done before in situations like this, is to just exclude a bunch of
directories; only backing up a few. Then start re-adding in directories
after you get a successful backup on those few directories. you can do a
sort of binary-search algorithm to find the problem tree/subtree/directory
comparatively quickly.

Once you have a successful backup of everything except your problem file;
you may find that your problem file backs up successfuly on the next run.
I've had this happen to me several times.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] pool size zero but no linking errors

2008-03-07 Thread Bernhard Ott
> Did you change the $TopDIR entry in the config file?  you need to have 
> it set at /var/lib/backuppc in debian or ubuntu.  if you are storing 
> your data somewhere else, just link it to /var/lib/backuppc OR mount it 
> the /var/lib/backuppc.  you can dual-mount it also, meaning you can do a 
> 'mount -o bind /source /var/lib/backuppc'

I have a symlink from /var/lib/backuppc to my LVM-mountpoint, $TopDir 
in config.pl unchanged (/var/lib/backuppc).

Despite the fact that the statistics on the status page are wrong 
everything seems to be fine, host summary works as expected, backups and 
restores are no problem ... what am I missing?

Permissions are backuppc:backuppc - should www-data be a member of group 
backuppc? But why are all of the other informations correct?

Thanks in advance,
Bernhard

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] MOTD file entry breaks authentication

2008-03-07 Thread Paul
I noticed when setting up my backuppc install that Windows clients with 
rsyncd software worked OK. A linux box did not. In the log file was the 
error message auth required, but service  is open/insecure.

I double-checked the settings, and then tried a simple command-line 
rsync. I was prompted for a password, as expected. I rsynced to a 
Windows box, and was also prompted for password. Both were successful at 
rsyncing a small directory.

I turned off authorization requirement, and received a new message in 
the log for the linux box: unexpected response: ''  Puzzled, I looked 
closer at the command line. There was an extra linefeed on the Linux output:

# rsync -azv linuxbox::module .

Password:


vs. the windows box:

# rsync -azv winbox::module .
Password:



I then checked the rsyncd.conf file on Linux, and discovered that there 
was an MOTD file listed. The file did not actually exist, but the 
reference was there. I added a file with "Message of the day" text in 
it, and voila - that message showed up in the "unexpected response" 
quotation marks.

I removed the motd file reference from rsyncd.conf, and backups to the 
linux server work fine. The command-line login now looks just like the 
Windows login - no extra line.

I see this error message listed around on the mailing list, so I know 
I'm not the only one who's run into this.

 - Paul

* *

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Problem backing up Linux server

2008-03-07 Thread JWSmythe


 Good morning,

 I'm having an odd problem.  I believe it's filesystem related on the 
backup target machine, but I can't find it. 

 Here's the thing.  The target, marked as p01 below, had a severe 
filesystem corruption.  I reinstalled the OS, and fixed everything I 
could find.  There were a lot of weird entries, where files had become 
pipes, directories, or devices.  Some files became absolutely huge, and 
inodes were cross linked.  It was a real mess.  I ended up copying 
everything off to another drive, and wiping out the array. 

 The backup destination is marked as 'backup'.  It's been working 
fine.  Until I brought p01 back up, things were great.  Now it's getting 
hung up on something.  No idea what, it just does.  I've seen this 
happen before with corrupt filesystems, or oddball files in the wrong 
places.  I can't seem to get it to spit back what the problem is.  While 
this is all fun, there are 2,209,728 files on the server, and I get a 
headache after reading about 200 of them. :)


 Following is the result from the normal debugging, and information 
about my servers.  I've shortened the hostnames and IP's for privacy.  
Any advice? 

 My other servers are backing up fine, so I have no suspicions of a 
problem with BackupPC here. 


 Thanks,

 JW Smythe


sh-3.1$ ssh p01.com -l root
Last login: Thu Mar  6 14:52:27 2008 from pool-net
Linux 2.6.24.3.

If a train station is a place where a train stops, what's a workstation?

root @ p01 (/root)logout
Connection to p01.com closed.
sh-3.1$ date ; *./BackupPC_dump -v -v -v -f p01..com* ; date
Thu Mar  6 22:22:55 EST 2008
cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 p01..com
cmdSystemOrEval: finished: got output PING p01...com (6.1) 
56(84) bytes of data.

64 bytes from .com (6.1): icmp_seq=1 ttl=53 time=36.8 ms

--- p01..com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 36.852/36.852/36.852/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 p01..com
cmdSystemOrEval: finished: got output PING p01..com (61) 56(84) 
bytes of data.

64 bytes from .com (61): icmp_seq=1 ttl=53 time=36.6 ms

--- p01..com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 36.651/36.651/36.651/0.000 ms

CheckHostAlive: returning 36.651
full backup started for directory /; updating partial #32
started full dump, share=/
Running: /usr/bin/ssh -q -x -l root p01..com /usr/bin/rsync --server 
--sender --numeric-ids --perms --owner --group -D --links --times 
--block-size=2048 --recursive --specials --ignore-times . /

Xfer PIDs are now 12798
xferPids 12798
Got remote protocol 29
Negotiated protocol version 28
Sent exclude: /tmp
Sent exclude: /temp
Sent exclude: /proc
Sent exclude: /sys
Sent exclude: /lib/udev
Sent exclude: /dev
Sent exclude: /var/run
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted by user signal
dump failed: fileListReceive failed
Thu Mar  6 22:23:42 EST 2008


*--- Backup Server ---*

root @ backup (/) cat /etc/slackware-version
Slackware 11.0.0

root @ backup (/) uname -a
Linux backup.com 2.6.21.3 #2 SMP PREEMPT Sat May 26 12:49:05 EDT 
2007 i686 athlon-4 i386 GNU/Linux


root @ backup (/) rsync --version
rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.

Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
 inplace, IPv6, 64-bit system inums, 64-bit internal inums

   * The servers PID is 11926, on host backup..com, version 3.0.0,
 started at 3/6 11:00.
   * This status was generated at 3/7 01:32.
   * The configuration was last loaded at 3/6 11:00.
   * PCs will be next queued at 3/7 02:00.
   * Other info:
 o 3 pending backup requests from last scheduled wakeup,
 o 0 pending user backup requests,
 o 0 pending command requests,
 o Pool is 260.79GB comprising 2261144 files and 4369
   directories (as of 3/6 07:15),
 o Pool hashing gives 133 repeated files with longest chain 29,
 o Nightly cleanup removed 11636 files of size 2.91GB (around
   3/6 07:15),
 o Pool file system was recently at 67% (3/7 01:30), today's
   max is 67% (3/7 01:00) and yesterday's max was 68%.


*--- Target being backed up *


root @ p01 (/opt/MailScanner/etc)cat /etc/slamd64-version
Slamd64 12.0.0

root @ p01 (/opt/MailScanner/etc)uname -a
Linux p01.com 2.6.24.3 #1 SMP Tue Mar 4 21:01:24 EST 2008 x86_64 
x86_64 x86_64 GNU/Linux



root @ p01 (/opt/MailScanner/etc)rsync --version
rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.

Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
 

Re: [BackupPC-users] Copying one host to new server?

2008-03-07 Thread dan
it should work to copy just the 'pc' directory into the appropriate place on
another server BUT you should use the -P flag with cp to preserve mtime.
with rsync just do 'rsync -a'.  I have done this once before and i did not
copy the cpool.  i did make sure every config option was that same but
specifically I made sure that compression was on at the new config because i
didnt know if i would get an error otherwise.  the nightly run filled up
with hardlinks as i expected it too.  i was initially worried that each file
would just have a single hardlink so it would get deleted but came to my
senses and remebered that backuppc only runs that little bit of logic to
delete files with just one hardlink in the [c]pool directories.

On Fri, Mar 7, 2008 at 11:34 AM, Les Mikesell <[EMAIL PROTECTED]> wrote:

> If you have sufficient disk space, will it work to copy the per-pc
> directories from one or a few hosts to a different backuppc server
> without trying to merge anything in the pool?   That is, will new
> backups of these hosts be pooled normally and the unpooled copies go
> away when they expire?  I'm guessing that has to be true for smb/tar
> copies because of the way transferred files are matched with the pool,
> but what about rsync?  Will an rsync full that puts a link to an
> existing file in the new run directory fix up a missing pool link or
> does it just link to the previous copy assuming that the pool link is
> already correct and in place?
>
> --
>   Les Mikesell
>[EMAIL PROTECTED]
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Copying one host to new server?

2008-03-07 Thread Les Mikesell
If you have sufficient disk space, will it work to copy the per-pc 
directories from one or a few hosts to a different backuppc server 
without trying to merge anything in the pool?   That is, will new 
backups of these hosts be pooled normally and the unpooled copies go 
away when they expire?  I'm guessing that has to be true for smb/tar 
copies because of the way transferred files are matched with the pool, 
but what about rsync?  Will an rsync full that puts a link to an 
existing file in the new run directory fix up a missing pool link or 
does it just link to the previous copy assuming that the pool link is 
already correct and in place?

-- 
   Les Mikesell
[EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] pool size zero but no linking errors

2008-03-07 Thread dan
Did you change the $TopDIR entry in the config file?  you need to have it
set at /var/lib/backuppc in debian or ubuntu.  if you are storing your data
somewhere else, just link it to /var/lib/backuppc OR mount it the
/var/lib/backuppc.  you can dual-mount it also, meaning you can do a 'mount
-o bind /source /var/lib/backuppc'

On Fri, Mar 7, 2008 at 7:01 AM, Bernhard Ott <[EMAIL PROTECTED]> wrote:

> Hi,
> my pool size is displayed 0.00GB (see below), but everythings seems to
> work perfectly: I couldn't find any linking errors in the logs,
> permissions checked, and
> du -sh /home/RAID5/backuppc/cpool/ gives me 639G, so it's not exactly
> empty ;-)
>
> I'm running backuppc 3.1.0 on Debian etch/amd64, xfs on 1.5 TB LVM/RAID5
>
> Does the GUI only display the uncompressed pool-size?
> I can't believe that I didn't see this before the related thread came up
> on the list ... shame on me!
>
> Regards,
> Bernhard
>
>
> > * Pool is 0.00GB comprising 0 files and 1 directories (as of,
> > * Pool hashing gives 0 repeated files with longest chain 0,
> > * Nightly cleanup removed 0 files of size 0.00GB (around 3/7 01:00),
> > * Pool file system was recently at 44% (3/7 14:37), today's max is
> > 44% (3/7 01:00) and yesterday's max was 44%.
> > ^^
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup Blackout Periods

2008-03-07 Thread Carl Wilhelm Soderstrom
On 03/07 08:55 , Lee A. Connell wrote:
> I am trying to fine tune when the backups occur.  

I'll start with the general caveat that it's best to let the backup software
decide when things should be backed up. That said, it sounds like you have a
situation where it really is best to force backups to start at a particular
time (I have some as well).

Put an entry into /etc/crontab:
00 03 7 9 * backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup 
host.domain.tld host.domain.tld backuppc 1

This sends a message to the backup server to queue up a backup job. If there
are no jobs already queued, and the maximum number of user-queued backups is
not already running, the backup will go off at that time.

The '1' means do a full backup; a '0' would mean an incremental.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC: Wrong user

2008-03-07 Thread Nils Breunese (Lemonbit)
Kai Grunau wrote:

> I copied the  suse-backuppc from the installation source to
> /etc/init.d/backuppc

Did you run configure.pl on that source before copying that init.d  
script? I believe the configure.pl script modifies the init.d script  
as it injects the username you specify.

Nils Breunese.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC: Wrong user

2008-03-07 Thread Kai Grunau
Nils Breunese (Lemonbit) wrote:
> Kai Grunau wrote:
>
>   
>> is there someone who could send me a /etc/init.d/backuppc script  
>> file for
>> OpenSuse 10.3 2.6.22.17-0.1-default i686
>>
>> When I try to start backuppc I get the error :
>> ---
>> 
>>> /etc/init.d/backuppc  start
>>>   
>> Starting backuppc: ok.
>> /home/backuppc/bin/BackupPC: Wrong user: my userid is 0, instead of  
>> 1000
>> (backuppc)
>> Please su backuppc first
>> BackupPC::Lib->new failed
>> ---
>> 
>
> Your init.d script tries to start BackupPC as root, while it should  
> run as the backuppc user. It is started in my init.d script (on CentOS  
> 4) as follows in the start() function:
>
>   daemon --user backuppc /opt/backuppc/bin/BackupPC -d
>
> Did you create this init.d script yourself? If you installed using the  
> source distribution then configure.pl should have created an init.d  
> script for you as init.d/linux-backuppc. I copied that script to /etc/ 
> init.d/backuppc and ran chmod 755 on it. Worked just fine.
>   
I copied the  suse-backuppc from the installation source to 
/etc/init.d/backuppc

When I try to start the backuppc software  manual with  "su backuppc -c 
"/usr/local/BackupPC/bin/BackupPC -d"
I got the error :
--
/home/backuppc/bin/BackupPC: Wrong user: my userid is 0, instead of 1000 
(backuppc)
Please su backuppc first
BackupPC::Lib->new failed
---

regards , Kai


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC: Wrong user

2008-03-07 Thread Nils Breunese (Lemonbit)
Kai Grunau wrote:

> is there someone who could send me a /etc/init.d/backuppc script  
> file for
> OpenSuse 10.3 2.6.22.17-0.1-default i686
>
> When I try to start backuppc I get the error :
> ---
>> /etc/init.d/backuppc  start
>
> Starting backuppc: ok.
> /home/backuppc/bin/BackupPC: Wrong user: my userid is 0, instead of  
> 1000
> (backuppc)
> Please su backuppc first
> BackupPC::Lib->new failed
> ---

Your init.d script tries to start BackupPC as root, while it should  
run as the backuppc user. It is started in my init.d script (on CentOS  
4) as follows in the start() function:

daemon --user backuppc /opt/backuppc/bin/BackupPC -d

Did you create this init.d script yourself? If you installed using the  
source distribution then configure.pl should have created an init.d  
script for you as init.d/linux-backuppc. I copied that script to /etc/ 
init.d/backuppc and ran chmod 755 on it. Worked just fine.

Nils Breunese.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC: Wrong user

2008-03-07 Thread Kai Grunau
hallo,

is there someone who could send me a /etc/init.d/backuppc script file for
OpenSuse 10.3 2.6.22.17-0.1-default i686

When I try to start backuppc I get the error :
---
 >  /etc/init.d/backuppc  start

Starting backuppc: ok.
/home/backuppc/bin/BackupPC: Wrong user: my userid is 0, instead of 1000 
(backuppc)
Please su backuppc first
BackupPC::Lib->new failed
---

best regards, Kai


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup Blackout Periods

2008-03-07 Thread Nils Breunese (Lemonbit)
Lee A. Connell wrote:

> The every other day blackout is because I want to backup one server  
> at a
> time because we are sending lots of data over a small internet pipe.
> Backing up both servers at the same time takes forever, so I do one
> server one day, another server the next.

You could also set $Conf{MaxBackups} to 1 maybe? 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_maxbackups_

Nils Breunese.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup Blackout Periods

2008-03-07 Thread Les Mikesell
Lee A. Connell wrote:
> The every other day blackout is because I want to backup one server at a
> time because we are sending lots of data over a small internet pipe.
> Backing up both servers at the same time takes forever, so I do one
> server one day, another server the next.

If you have a huge file that changes (like a database) you might have to 
do that.  Otherwise once you get started with rsync it should work out 
to moving about the same amount of data per night anyway.

> So if I run a manual backup at 7:00PM it should be in order after that?
> How would I change manually settings for this?
> 

$Conf{BlackoutGoodCnt} = 7; is the default for how many days to check 
availability before observing the blackout period.

-- 
   Les Mikesell
 [EMAIL PROTECTED]



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup Blackout Periods

2008-03-07 Thread Lee A. Connell
The every other day blackout is because I want to backup one server at a
time because we are sending lots of data over a small internet pipe.
Backing up both servers at the same time takes forever, so I do one
server one day, another server the next.

So if I run a manual backup at 7:00PM it should be in order after that?
How would I change manually settings for this?

Thanks for response.

Lee Connell
Ammonoosuc Computer Services, Inc.
Network Engineer

15 Main St. Suite 10
Littleton, NH 03561
603-444-3937

If you require immediate response please send your inquiry to
[EMAIL PROTECTED]

-Original Message-
From: Les Mikesell [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 07, 2008 9:03 AM
To: Lee A. Connell
Cc: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Backup Blackout Periods

Lee A. Connell wrote:
> I am trying to fine tune when the backups occur.  I black out every
other day as you can see below.  My issue is I don't want a backup
starting @ 6:30 in the morning because everyone comes into work @ 8:00.
I want the backup to start @ 6:00 PM. In this particular issue the
blackout defines don't backup from 8:00 AM to 6:00 PM, however the
backup started at 6:38 AM, I understand the way backuppc see's this, it
would make sense, but how can I assure backups start at specific times?
> 

Just curious - why black out ever other day?

The blackout period doesn't take effect until a host has been pinged a 
certain number of days outside of the blackout interval to be sure it 
will be available after hours.  Normally it will work to add new hosts 
late in day and start the first run manually from the web interface. 
That way you can be sure it is working and the approximately 24 hour 
interval will keep it from running before that time the next day - and 
by the time it drifts out of that cycle the blackout period will be 
effective.  But, you can change those settings if you want.

-- 
   Les Mikesell
[EMAIL PROTECTED]


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.6/1317 - Release Date:
3/7/2008 8:15 AM
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup Blackout Periods

2008-03-07 Thread Les Mikesell
Lee A. Connell wrote:
> I am trying to fine tune when the backups occur.  I black out every other day 
> as you can see below.  My issue is I don't want a backup starting @ 6:30 in 
> the morning because everyone comes into work @ 8:00.  I want the backup to 
> start @ 6:00 PM. In this particular issue the blackout defines don't backup 
> from 8:00 AM to 6:00 PM, however the backup started at 6:38 AM, I understand 
> the way backuppc see's this, it would make sense, but how can I assure 
> backups start at specific times?
> 

Just curious - why black out ever other day?

The blackout period doesn't take effect until a host has been pinged a 
certain number of days outside of the blackout interval to be sure it 
will be available after hours.  Normally it will work to add new hosts 
late in day and start the first run manually from the web interface. 
That way you can be sure it is working and the approximately 24 hour 
interval will keep it from running before that time the next day - and 
by the time it drifts out of that cycle the blackout period will be 
effective.  But, you can change those settings if you want.

-- 
   Les Mikesell
[EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] pool size zero but no linking errors

2008-03-07 Thread Bernhard Ott
Hi,
my pool size is displayed 0.00GB (see below), but everythings seems to 
work perfectly: I couldn't find any linking errors in the logs, 
permissions checked, and
du -sh /home/RAID5/backuppc/cpool/ gives me 639G, so it's not exactly 
empty ;-)

I'm running backuppc 3.1.0 on Debian etch/amd64, xfs on 1.5 TB LVM/RAID5

Does the GUI only display the uncompressed pool-size?
I can't believe that I didn't see this before the related thread came up 
on the list ... shame on me!

Regards,
Bernhard


> * Pool is 0.00GB comprising 0 files and 1 directories (as of,
> * Pool hashing gives 0 repeated files with longest chain 0,
> * Nightly cleanup removed 0 files of size 0.00GB (around 3/7 01:00),
> * Pool file system was recently at 44% (3/7 14:37), today's max is
> 44% (3/7 01:00) and yesterday's max was 44%.
> ^^


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Backup Blackout Periods

2008-03-07 Thread Lee A. Connell
I am trying to fine tune when the backups occur.  I black out every other day 
as you can see below.  My issue is I don't want a backup starting @ 6:30 in the 
morning because everyone comes into work @ 8:00.  I want the backup to start @ 
6:00 PM. In this particular issue the blackout defines don't backup from 8:00 
AM to 6:00 PM, however the backup started at 6:38 AM, I understand the way 
backuppc see's this, it would make sense, but how can I assure backups start at 
specific times?

it will not be backed up from 1:00 to 24:00 on Sun, Tue, Thu, Sat, and 8:00 to 
18:00 on Mon, Wed, Fri.

$Conf{BlackoutPeriods} = [
{
hourBegin =>  1.0,
hourEnd   => 24.0,
weekDays  => [0, 2, 4, 6],
},
{
hourBegin => 8.0,
hourEnd   => 18.0,
weekDays  => [1, 3, 5],
},
];

2008-03-07 06:38:18 incr backup started back to 2008-02-29 17:00:01 for 
directory SQL

Lee Connell
Ammonoosuc Computer Services, Inc.
Network Engineer
15 Main St. Suite 10
Littleton, NH 03561
603-444-3937
If you require immediate response please send your inquiry to
[EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC_nightly not running

2008-03-07 Thread Koen Linders
First: i'm no linux pro. I started working with my first linux +-14 months  
ago. And i'm still learning a lot (So many possible things i want to try  
(backupping remote sites!)
Second: BackupPC is great.
---

Main problem: backuppc_nightly not running

Backuppc is running on a samba PDC with DHCP / WINS / DDNS running (Debian  
Etch). I will be migrating BackupPC to another server as soon as possible,  
not completely sure how, but that's another story for later.

There is a problem with backupPC_nightly not running for some time now  
(and server running out of diskspace).
And no mails since 26/1 either. Something must have happened/changed one  
of those days.
I can't recall what i was doing those days. Maybe setting up the DDNS...

Backuppc is running as backuppc user.

Daily I make a backup of the backuppc partition to an external disk at  
22:00. Around 3 a.m. I receive an e-mail with a summary.

/etc/cron.daily/dd_disk:
Stopping backuppc: ok.
Stopping Samba daemons: nmbd smbd.
umount: /dev/sdb1: not mounted
110742061+1 records in
110742061+1 records out
453599483904 bytes (454 GB) copied, 17776.4 seconds, 25.5 MB/s

real296m16.430s
user0m37.190s
sys 41m33.888s
Starting backuppc: ok.
Starting Samba daemons: nmbd smbd.


It seems that 28/1 was the last time it ran.

This morning i started the process with:
su backupppc
./BackupPC_serverMesg BackupPC_nightly run
and it is finished after 4 hours.

(While typing this, look below about emails, now i get a mail)  
BackupPC_nightly starts the mailing it seems.

450 GB HD (raid 5), i had 66 GB free and i'm up to 180 GB :)

One of the reasons, it's cleaning that much, i guess, is because i have  
been changing the amount of full backups to keep last 1.5 month, since  
diskspace was slowly running out.

Right now i have 38 WinXP hosts, from which i do a full back keeping 1, 2  
and 4 weeks old + 7 incrementals. (FullKeepCnt "2 1")
Pool is steady at 130 GB. Profiles are normally between 1-3 GB big.

Anything i can change to have backuppc_nightly running again  
automatically? I didn't change any of the basic settings there:

MaxBackups  2   
MaxUserBackups  4   
MaxPendingCmds  10
MaxBackupPCNightlyJobs   2  
BackupPCNightlyPeriod   1

Mails sent: 26/1 last mail.

I tested the mailing system:
su backuppc
/usr/share/backuppc/bin/BackupPC_sendEmail -u [EMAIL PROTECTED]
No problems there

Backuppc settings: EMailNotifyOldBackupDays 7

Though i have a few hosts with Full age

HostUser#Full   Full Age (days) Full Size (GB)  Speed 
(MB/s)#Incr  
Incr Age (days) Last Backup (days)  State   Last attempt
mpi024  [EMAIL PROTECTED]   3   32.05.922.30
2   16.116.1idleno  
ping (host not found)
mpil21  [EMAIL PROTECTED]   4   17.15.332.731   115.8   
17.1idleno  
ping (host not found)

-
Dialy backup to external disk via cron.daily:

invoke-rc.d backuppc stop
invoke-rc.d samba stop

umount /dev/sda5
umount /dev/sdb1

time dd if=/dev/sda5 of=/dev/sdb1 bs=4K

mount -a

invoke-rc.d backuppc start
invoke-rc.d samba start
---

The servers PID is 5774, on host newton, version 3.0.0, started at 7/3  
02:56.
This status was generated at 7/3 08:49.
The configuration was last loaded at 7/3 02:56.
PCs will be next queued at 7/3 09:00.
Other info:
0 pending backup requests from last scheduled wakeup,
0 pending user backup requests,
0 pending command requests,
Pool is 118.49GB comprising 946267 files and 4369 directories (as of 28/1  
01:16),
Pool hashing gives 470 repeated files with longest chain 28,
Nightly cleanup removed 673 files of size 0.37GB (around 28/1 01:16),
Pool file system was recently at 84% (7/3 08:46), today's max is 84% (6/3  
13:50) and yesterday's max was 52%.
---


Thanks for reading.

Greetings,
Koen Linders


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] NETBIOS Hostname resolution failure

2008-03-07 Thread Nils Breunese (Lemonbit)
Paul wrote:

> Les Mikesell wrote:
>>
>
>> If you control the dhcp server, you can configure it to always give
>> the same IP to the same ethernet MAC address to nail it down.
>>
>
> Justin suggested the same. The current DHCP server is a Linksys  
> router,
> so I don't have that option on there.

Are you sure? I believe most routers for home use have this option  
nowadays.

Nils Breunese.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/