Re: [BackupPC-users] Backuppc and KVM virtual machine

2014-01-03 Thread Carl Cravens
The VM isn't an issue (my BackupPC has run in a KVM guest for over two years), 
but using file-based storage (a filesystem inside a file stored on another 
filesystem) is extremely inefficient (we recently ran benchmarks on file versus 
raw device... the performance is awful in comparison).

Use a raw device (raw disk, LVM volume, etc) with the virtio driver.  Your OS 
and backup storage can reside on the same raw device, or they can be separate 
raw devices, or if you insist, the OS can be virtual file storage.  We just use 
raw devices (LVM logical volumes) for everything.

My disk configuration looks like this (virsh dumpxml guestname):

 disk type='block' device='disk'
   driver name='qemu' type='raw'/
   source dev='/dev/diskbackup/diskbackup'/
   target dev='vda' bus='virtio'/
   alias name='virtio-disk0'/
   address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x0'/
 /disk

/dev/diskbackup/diskbackup is a logical volume named diskbackup in a volume 
group named diskbackup.  (I didn't configure this... traditionally, this 
would be /dev/vgdiskbackup/lvdiskbackup or such.)

-- 
Carl D Cravens (ccrav...@excelii.com), Ext 228 (620.327.1228)
Lead System Architect

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
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] Email working, BackupPC not alerting on failure

2014-01-03 Thread Dan Doughty
/usr/share/BackupPC/bin/BackupPC_sendEmail will generate a test message.

 

Unfortunately, I'm not getting warning messages telling me that one of my
client's hasn't backed up for a week.  I've checked /var/log/maillog and
there is no attempt to send mail.

 

My shell is set to /sbin/nologin for the backuppc user.  Perhaps that's the
problem.

 

When I check /var/log/BackupPC/LOG there's no mention of the client at all.
The client is offline due to it being a laptop.  Is this by design?  I mean,
I'd expect it to tell me that it hasn't backed up for a week whether the
target/client was offline or not.  But just because I expect it doesn't mean
that is what the authors designed.

 

Any ideas?

Dan

 

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
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] Email working, BackupPC not alerting on failure

2014-01-03 Thread Alexander Moisseev
04.01.2014 4:10, Dan Doughty пишет:
 /usr/share/BackupPC/bin/BackupPC_sendEmail will generate a test message.

 Unfortunately, I’m not getting warning messages telling me that one of my 
 client’s hasn’t backed up for a week.


Check $Conf{EMailNotifyOldBackupDays}. Default is 7 days.

--
Alexander

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
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/