Re: [BackupPC-users] BackupPC and Barracudaware

2009-09-03 Thread Tino Schwarze
On Wed, Sep 02, 2009 at 10:31:21PM -0500, Jim Leonard wrote:

> > I'm using bacula to backup the generated tar files and have them deleted
> > afterwards.
> 
> This is off-topic, I apologize, but if you are using Bacula, then why do 
> you have a BackupPC installation?

There are several reasons:

- BackupPC was deployed first and it works well. Never change a running
  system if it suits all your needs (so far).
- We're backing up multiple hosts over Internet. Rsync saves us a lot
  of bandwidth.
- Bacula has two purposes for us: provide offsite backup to tape and
  store our database dumps (where BackupPC isn't good at because the
  files change each day - about 70Gb each day)
- IMO it is easier to restore files to a server using BackupPC - e.g.
  after reinstall - it just needs ssh running and rsync installed.
- I didn't like the extra bacula client on servers. But I didn't look
  deeply into it either.
- BackupPC has a nice Web interface. We've had troubles finding a
  working bat when we installed Bacula (it might have been improved, but
  I'm a bit anxious to update our Bacula 2.2.x to 3.0) - we're a SuSE
  shop and had lots of segfaults etc.

Counter-question: Why should I use Bacula instead? (I'm serious, I'm
interested in possible reasons I might have missed.)

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Using rsync for blockdevice-level synchronisation of BackupPC pools

2009-09-03 Thread Tino Schwarze
On Wed, Sep 02, 2009 at 02:18:41PM -0600, dan wrote:

> Can I offer an alternative solution?  How about using bittorrent?

I don't see the benefits over using the patched rsync... What am I
missing? After all it's still read-all-blocks - compare checksums -
transfer changes, right?

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] 2.x behavior desired on 3.1 install

2009-09-03 Thread Tino Schwarze
On Wed, Sep 02, 2009 at 12:40:45PM -0400, Jeffrey J. Kosowsky wrote:

>  > IMO the easiest approach would be:
>  > - if BackupPC_nightly starts, it acquires a lock, then waits for backups
>  >   to complete
>  > - no new backups start until BackupPC_nightly finished
>  > 
>  > This should be rather easy since it could be implemented at the central
>  > scheduling code - actually BackupPC_nightly wouldn't be started, just
>  > the flag would be set that it wants to.
>  > 
>  > I would like such automatism (configurable, of course) as well since it
>  > just sucks to guess backup periods and to keep some time reserved for
>  > nightly maintenance.
>  > 
> 
> I like this idea and I agree it would be easy to implement.
> And by configurable, I assume you mean at a minimum the ability to
> turn on/off this option.

Exactly. Something like

# If set to 1, wait for running backups to complete before running
# BackupPC_nightly. Also, no new backups will be started until the
# nightly cleanup is finished.
$Conf{NoBackupsDuringBackupPCNightly} = 1;

By the way: The same should be configurable for the trash cleaner. It
does about the same to disk I/O as the nightly - it make the disk head
spin around like mad since a lot of virtually random inodes need to be
touched. Therefore, a config like

# Configure trash cleaning strategy:
# 1 = continuous - wake up every $Conf{TrashCleanSleepSec} and check for
# files to delete (default pre 3.2 behaviour B-) )
# 2 = run only just before BackupPC_nightly - see
# $Conf{DelayBackupsDuringBackupPCNightly} to disable backups during
# that operation
$Conf{TrashCleanMethod} = 1;

Hm... does anybody volunteer to implement that? I could take a look and
try to figure out a patch but I've not yet digged into the BackupPC
scheduling code...

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Etaoin Shrdlu
Apologies if this is a FAQ, but it seems I'm not able to merge the per-host 
config with the general config. In config.pl, I have

$Conf{BackupFilesExclude} = {
  '/' => [ '/proc',
   '/dev',
   '/sys'   
 ]
};

For a specific host, I want to exclude some other directories, so in the per-
host config file I'm doing

$Conf{BackupFilesExclude}{'/'} = [ 
  @{$Conf{BackupFilesExclude}{'/'}},
  '/var/spool' 
];

However, when the backup runs, it seems that the only exclusion is /var/spool, 
instead of '/proc', '/dev', '/sys', '/var/spool' as I would expect.

I'm surely doing something wrong, but I cannot find out what.
Thank you in advance.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Jeffrey J. Kosowsky
Jim Leonard wrote at about 23:57:53 -0500 on Wednesday, September 2, 2009:
 > Mark Phillips wrote:
 > > I am setting up a new backuppc server. Are there any advantages to using 
 > > an external drive (USB or eSATA) over an internal drive to store the 
 > > backups? The server is an older Pentium 3 500 MHz box running Debian 
 > > Linux. I plan on using ssh/rsync to do the backups for other Linux 
 > > boxes, a Windows box, and a Mac.
 > 
 > Because rsync backups in BackupPC is implemented in Perl, the speed of 
 > your server is going to greatly limit your top speed no matter what 
 > storage solution you choose.
 > 

On slower machines, I find that ssh is more rate limiting than rsync.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Using rsync for blockdevice-level synchronisation of BackupPC pools

2009-09-03 Thread Pieter Wuille
On Wed, Sep 02, 2009 at 01:08:27PM -0500, Les Mikesell wrote:
> Pieter Wuille wrote:
> > You're very right, and i thought about it too. Instead of using a RAID1 on
> > the offsite backup, there are two separate backups on the offsite machine,
> > and synchronisation switches between them. This also enables the use of
> > rsync's --inplace option.
> 
> That should be safe enough, but doesn't that mean you xfer each set of 
> changes twice since the alternate would be older?

That's correct, but it hardly seems to matter. Due to a problem the offsite
machine was down once for over two weeks, and the subsequent synchronisation
run still only took 14h. The limiting factor is the sequential read speed of
the device, not the network.

> > Keeping an LVM snapshot is a possibility, but it becomes somewhat complex to
> > manage: you get a snapshot of a volume containing a filesystem whose files
> > correspond to parts of a snapshot of a volume containing an (encrypted)
> > filesystem containing a directory that corresponds to a pool of backups...
> 
> The snapshot would just contain be the same files you had before the 
> last xfer started.   But, you'd still need space to hold the large file 
> changes.

It's definitely possible, and if your destination machine uses RAID5+, and
only relatively small changes per synchronisation run, it may be preferable
to keeping two sets on non-redundant storage.

> > Catting the part files together to a device after transmission isn't a
> > complete solution: what if the machine crashes during the catting...?
> 
> The machine crash would have to destroy the filesystem containing the 
> chunks to be a real problem.  And then I wouldn't expect both your 
> primary server and the server holding the file chunks to die at the same 
> time, but it would mean you'd have to xfer the whole mess again. 
> Perhaps you could alternate the catting to 2 different devices so you'd 
> always have one ready to whisk off to the restore location.

Yes, i was wrong. A crash during the catting would normally not hurt the
files that already were transmitted. As long as you don't start transferring
the next set during the catting of the previous, there is no problem.

-- 
Pieter

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Windows Excludes

2009-09-03 Thread Michael Stowe

Over time, I've accumulated the following set of excludes for use for
backing up Windows machines, which applies to all Windows machines on the
network.  So the open question is, are there other things that it would
make sense to universally exclude?  (Exclude syntax is for rsync.)

  '*' => [
'/BackupPC/diagnostic.txt',
'/BackupPC/vss-setvar.cmd',
'/Documents and Settings/*/Application Data/AOL/TopSpeed',
'/Documents and Settings/*/Application Data/Microsoft/Search/Data',
'/Documents and Settings/*/Local Settings/Application
Data/Google/Chrome/User Data/Default/Cache',
'/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*.default/Cache',
'/Documents and Settings/*/Local Settings/Temp',
'/Documents and Settings/*/Local Settings/Temporary Internet Files',
'/Documents and Settings/*/Local Settings/Temporary Internet Files',
'/hyberfile.sys',
'/pagefile.sys',
'/RECYCLER',
'/System Volume Information',
'/Temp',
'/Windows/Prefetch',
'/WINDOWS/Temp'
]




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Stephen Joyce
Have you tried ssh -c blowfish?

3des is the default cipher for most ssh implementations and blowfish is 
much faster than 3des.

Cheers, Stephen
--
Stephen Joyce
Systems Administrator
PANIC - Physics and Astronomy Network Infrastructure and Computing
University of North Carolina at Chapel Hill
voice: 919.962.7214
fax: 919.962.0480

In pioneer days they used oxen for heavy pulling, and when one ox
couldn't budge a log, they didn't try to grow a larger ox. We
shouldn't be trying for bigger computers, but for more systems of
computers.  --Rear Admiral Grace Hopper

What would you rather have to plow a field: two strong oxen or
1,024 chickens? --Seymour Cray

On Thu, 3 Sep 2009, Jeffrey J. Kosowsky wrote:

> Jim Leonard wrote at about 23:57:53 -0500 on Wednesday, September 2, 2009:
> > Mark Phillips wrote:
> > > I am setting up a new backuppc server. Are there any advantages to using
> > > an external drive (USB or eSATA) over an internal drive to store the
> > > backups? The server is an older Pentium 3 500 MHz box running Debian
> > > Linux. I plan on using ssh/rsync to do the backups for other Linux
> > > boxes, a Windows box, and a Mac.
> >
> > Because rsync backups in BackupPC is implemented in Perl, the speed of
> > your server is going to greatly limit your top speed no matter what
> > storage solution you choose.
> >
>
> On slower machines, I find that ssh is more rate limiting than rsync.
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> 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/
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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 and Barracudaware

2009-09-03 Thread Michael Stowe

> I also use bacula and backuppc to backup some TB of data. I've lost
> once my 4 TB backuppc pool because of a error which the RAID
> controller didn't detect until the reiserfs was so badly damaged that
> not much was left. For important data I always use two different
> systems.

This is, ultimately, why I got rid of reiserfs -- when something went
wrong, it wasn't detected until the corruption was widespread, and
essentially uncorrectable.  (I happened to move to jfs, though xfs seems
to perform better with BackupPC.)

> And I don't think it's off-topic to just mention how someone stores
> it's backuppc tar files with bacula.
>
> Ralf


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Jeffrey J. Kosowsky
Stephen Joyce wrote at about 10:31:44 -0400 on Thursday, September 3, 2009:
 > Have you tried ssh -c blowfish?
 > 
 > 3des is the default cipher for most ssh implementations and blowfish is 
 > much faster than 3des.

Thanks - I wasn't aware of that.
What (if any) are the downsides to using 'blowfish' vs 3DES?

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Michael Stowe

> Thanks - I wasn't aware of that.
> What (if any) are the downsides to using 'blowfish' vs 3DES?

One could make a convincing technical case that blowfish is less secure
than 3DES, but as a practical matter, there's not much of a downside.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Tino Schwarze
On Thu, Sep 03, 2009 at 11:45:02AM -0400, Jeffrey J. Kosowsky wrote:
> Stephen Joyce wrote at about 10:31:44 -0400 on Thursday, September 3, 2009:
>  > Have you tried ssh -c blowfish?
>  > 
>  > 3des is the default cipher for most ssh implementations and blowfish is 
>  > much faster than 3des.
> 
> Thanks - I wasn't aware of that.
> What (if any) are the downsides to using 'blowfish' vs 3DES?

NSA will have a harder job of decrypting. ;->

Seriously: None. Blowfish is faster and more secure than 3DES.

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Les Mikesell
Jeffrey J. Kosowsky wrote:
> Stephen Joyce wrote at about 10:31:44 -0400 on Thursday, September 3, 2009:
>  > Have you tried ssh -c blowfish?
>  > 
>  > 3des is the default cipher for most ssh implementations and blowfish is 
>  > much faster than 3des.
> 
> Thanks - I wasn't aware of that.
> What (if any) are the downsides to using 'blowfish' vs 3DES?

It hasn't been as widely tested by security experts.  But, being 
generally paranoid and prone to conspiracy theories, I've always assumed 
that the recommendations for 3DES meant that the government agencies 
involved were prepared to crack it.

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Using rsync for blockdevice-level synchronisation of BackupPC pools

2009-09-03 Thread Les Mikesell
Pieter Wuille wrote:
> 
>>> You're very right, and i thought about it too. Instead of using a RAID1 on
>>> the offsite backup, there are two separate backups on the offsite machine,
>>> and synchronisation switches between them. This also enables the use of
>>> rsync's --inplace option.
>> That should be safe enough, but doesn't that mean you xfer each set of 
>> changes twice since the alternate would be older?
> 
> That's correct, but it hardly seems to matter. Due to a problem the offsite
> machine was down once for over two weeks, and the subsequent synchronisation
> run still only took 14h. The limiting factor is the sequential read speed of
> the device, not the network.

Your network between sites must be exceptionally fast - that's probably 
not a typical situation.

>>> Catting the part files together to a device after transmission isn't a
>>> complete solution: what if the machine crashes during the catting...?
>> The machine crash would have to destroy the filesystem containing the 
>> chunks to be a real problem.  And then I wouldn't expect both your 
>> primary server and the server holding the file chunks to die at the same 
>> time, but it would mean you'd have to xfer the whole mess again. 
>> Perhaps you could alternate the catting to 2 different devices so you'd 
>> always have one ready to whisk off to the restore location.
> 
> Yes, i was wrong. A crash during the catting would normally not hurt the
> files that already were transmitted. As long as you don't start transferring
> the next set during the catting of the previous, there is no problem.

Maybe it doesn't matter if your network is as fast as your disks, but I 
like the idea of ending up with a disk you can ship overnight or toss in 
a briefcase and take to your disaster recovery location and start 
restoring immediately.

-- 
   Les Mikesell
lesmikes...@gmail.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Stephen Joyce
For anything any of us (consumers of free backup products) are likely to 
do, anything stronger than original DES is probably fine.


If you want background info, 
http://www.security-forums.com/viewtopic.php?printertopic=1&t=6690&start=0&postdays=0&postorder=asc&vote=viewresult&sid=19654e84950fe8608fde7e4a951da0ee
 
has a good end-user perspective of some of the most common ciphers.

The take home is: avoid DES due to the short length of its key. 3DES is 
secure (30+ years of use), but slow. Blowfish has a good reputation for 
being fast, simple, and secure. If you're paranoid, think about AES, but 
remember the recent advisories concerning AES keys >= 128-bits.

Disclaimer: I am *not* a cryptographic expert; I just know how to use 
google. :-)

On Thu, 3 Sep 2009, Jeffrey J. Kosowsky wrote:

> Stephen Joyce wrote at about 10:31:44 -0400 on Thursday, September 3, 2009:
> > Have you tried ssh -c blowfish?
> >
> > 3des is the default cipher for most ssh implementations and blowfish is
> > much faster than 3des.
>
> Thanks - I wasn't aware of that.
> What (if any) are the downsides to using 'blowfish' vs 3DES?
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> 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/
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
I want to schedule one Full backup every Sunday at 21:15 and five
Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday, Friday,
and Saturday.

 

This is something really, really easy to do using NTbackup and Task
Scheduler on Windows computers, but I have a Zimbra/Ubuntu server and can't
use NTbackup.

 

I read the documentation and tried searching for the setting in Google but
seems to be so easy that no one has ask for this.

So I guess is that I do not understand.

 

I tried Amanda, and Bacula, but they are even more difficult to configure,
so I am trying Backuppc .

 

Please help,

 

Jose

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Windows Excludes

2009-09-03 Thread Jeffrey J. Kosowsky
Michael Stowe wrote at about 09:16:18 -0500 on Thursday, September 3, 2009:
 > 
 > Over time, I've accumulated the following set of excludes for use for
 > backing up Windows machines, which applies to all Windows machines on the
 > network.  So the open question is, are there other things that it would
 > make sense to universally exclude?  (Exclude syntax is for rsync.)
 > 
 >   '*' => [
 > '/BackupPC/diagnostic.txt',
 > '/BackupPC/vss-setvar.cmd',
 > '/Documents and Settings/*/Application Data/AOL/TopSpeed',
 > '/Documents and Settings/*/Application Data/Microsoft/Search/Data',
 > '/Documents and Settings/*/Local Settings/Application
 > Data/Google/Chrome/User Data/Default/Cache',
 > '/Documents and Settings/*/Local Settings/Application
 > Data/Mozilla/Firefox/Profiles/*.default/Cache',
 > '/Documents and Settings/*/Local Settings/Temp',
 > '/Documents and Settings/*/Local Settings/Temporary Internet Files',
 > '/Documents and Settings/*/Local Settings/Temporary Internet Files',
 > '/hyberfile.sys',
 > '/pagefile.sys',
 > '/RECYCLER',
 > '/System Volume Information',
 > '/Temp',
 > '/Windows/Prefetch',
 > '/WINDOWS/Temp'
 > ]
 > 

First, just being anal, I have different excludes for the OS vs. other
partitions:
 OS partition:
'/Documents and Settings/*/Local Settings/Temp/*',
'/Documents and Settings/*/Local Settings/Temporary Internet 
Files/Content.IE5/*',
'/Documents and Settings/*/Local Settings/Temporary Internet 
Files/Content.MSO/*', #MS Office cache
'/Documents and Settings/*/Local Settings/Application 
Data/Mozilla/Firefox/Profiles/*/Cache/*',
'/System Volume Information/catalog.wci/*',  #This is just the 
web & document indexing portion
'/WINDOWS/system32/spool/PRINTERS/*',
'/pagefile.sys', '/hiberfil.sys', '/RECYCLER/*',

 Non-OS partition:
'/RECYCLER/*', '/Recycled/*',
'/System Volume Information/catalog.wci/*',  #This is just the 
web & document indexing portion

Also, if I am not using my VSS script to allow backup of locked files,
I also exclude the following locked or busy files on the OS partition:
  Note some excludes have upper and lower case versions since
  different of my puters use different caps conventions probably due
  tno different original vendors.
  Note the SAM stuff is for Symantic

'/Documents and Settings/*/Local Settings/Application 
Data/Microsoft/Windows/UsrClass.dat',
'/Documents and Settings/*/Local Settings/Application 
Data/Microsoft/Windows/UsrClass.dat.LOG',
'/Documents and Settings/*/NTUSER.DAT', '/Documents and 
Settings/*/NTUSER.DAT.LOG',
'/Documents and Settings/*/ntuser.dat', '/Documents and 
Settings/*/ntuser.dat.LOG',
'/Documents and Settings/*/Application 
Data/Mozilla/Firefox/Profiles/*/parent.lock',
'/Documents and Settings/*/Application 
Data/Thunderbird/Profiles/*/parent.lock',
'/Documents and Settings/*/Local Settings/Application 
Data/Mozilla/Firefox/Profiles/*/parent.lock',
'/Program Files/Common Files/Symantec 
Shared/CCPD-LC/symlcrst.dll',
'/WINDOWS/system32/CatRoot2/edb.log', 
'/WINDOWS/system32/CatRoot2/tmp.edb', 
'/WINDOWS/system32/config/SAM', 
'/WINDOWS/system32/config/SAM.LOG', 
'/WINDOWS/system32/config/SECURITY', 
'/WINDOWS/system32/config/SECURITY.LOG', 
'/WINDOWS/system32/config/default', 
'/WINDOWS/system32/config/default.LOG', 
'/WINDOWS/system32/config/software', 
'/WINDOWS/system32/config/software.LOG', 
'/WINDOWS/system32/config/system', 
'/WINDOWS/system32/config/system.LOG', 
'WINDOWS/system32/config/systemprofile/Local 
Settings/Application Data/Microsoft/Windows/UsrClass.dat',
'WINDOWS/system32/config/systemprofile/Local 
Settings/Application Data/Microsoft/Windows/UsrClass.dat.LOG',
'/WINDOWS/system32/config/systempprofile/NTUSER.DAT', 
'/WINDOWS/system32/config/systempprofile/NTUSER.DAT.LOG',

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Carl Wilhelm Soderstrom
On 09/03 11:52 , Etaoin Shrdlu wrote:
> However, when the backup runs, it seems that the only exclusion is 
> /var/spool, 
> instead of '/proc', '/dev', '/sys', '/var/spool' as I would expect.

The values associated with the variables in the per-host configuration file
clobber the values in config.pl -- they completely replace them.

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

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Windows Excludes

2009-09-03 Thread Jeffrey J. Kosowsky
Michael Stowe wrote at about 09:16:18 -0500 on Thursday, September 3, 2009:
 > 
 > Over time, I've accumulated the following set of excludes for use for
 > backing up Windows machines, which applies to all Windows machines on the
 > network.  So the open question is, are there other things that it would
 > make sense to universally exclude?  (Exclude syntax is for rsync.)
 > 
 >   '*' => [
 > '/BackupPC/diagnostic.txt',
 > '/BackupPC/vss-setvar.cmd',
I don't have such files in my implementation. What are they?

 > '/Documents and Settings/*/Application Data/AOL/TopSpeed',
No AOL spam/crap on my computer - probably not a general case for
a lot of people who are smart enough to use BackupPC ;)

 > '/Documents and Settings/*/Application Data/Microsoft/Search/Data',
What is this folder? I don't see it in my XP installations.

 > '/System Volume Information',

To be cautious, I have just been excluding:
   '/System Volume Information/catalog.wci/*'
which appears to be the web & document indexing portion and is the
portion that changes the most. Is it 'safe' to exclude the other parts
of System Volume Information if you want to do as clean a restore as possible?

 > '/Windows/Prefetch',
I haven't been excluding this - what does it do?

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jeffrey J. Kosowsky
Jose Torres wrote at about 12:27:07 -0400 on Thursday, September 3, 2009:
 > I want to schedule one Full backup every Sunday at 21:15 and five
 > Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday, Friday,
 > and Saturday.
 > 
 >  
 > 
 > This is something really, really easy to do using NTbackup and Task
 > Scheduler on Windows computers, but I have a Zimbra/Ubuntu server and can't
 > use NTbackup.

Well, BackupPC has a different but arguably more sophisticated and
robust version of backup scheduling.

If all you want to do is to run a fixed backup job at the exact same
time every week, then you don't need to use the sophisticated default
scheduler. Just turn off all job scheduling in config.pl and run
simple cron jobs calling: BackupPC_dump [-i] [-f] 
  where -i = incremental
-f = full

That being said, since this question seems to come up a lot, maybe it
should be added to the FAQ if it isn't there already.

Also, given that some people seem to prefer such absolutely
deterministic scheduling, maybe we should consider adding such an
option internally to BackupPC itself. Whereby on a generic or
host-by-host basis, one could add specifically timed backup jobs to
either config.pl or the corresponding host file, respectively.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Carl Wilhelm Soderstrom
On 09/03 12:27 , Jose Torres wrote:
> I want to schedule one Full backup every Sunday at 21:15 and five
> Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday, Friday,
> and Saturday.

Backuppc is designed to schedule itself automatically so as to fit as many
backups as possible into an allocated window. It is best to do this if
possible. (Using 'blackout' periods).

If for some reason you need to explicitly schedule a backup for a particular
time; this is best done with a cron job.

For example, to make a full backup go off every day at noon, put this in
your /etc/crontab:

00 12 * * * backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup
host.example.com host.example.com backuppc 1

You may or may not want to  stop backuppc from automatically scheduling a
backup of the same host. This is done by putting:

$Conf{BackupsDisable} = 1;

in the per-host configuration file.

The best documentation is the comments in the config.pl file. Read that
end-to-end, and you'll understand 90% of how backuppc works.

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

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Tino Schwarze
On Thu, Sep 03, 2009 at 01:06:17PM -0400, Jeffrey J. Kosowsky wrote:

>  > I want to schedule one Full backup every Sunday at 21:15 and five
>  > Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday, Friday,
>  > and Saturday.
>  > 
>  > This is something really, really easy to do using NTbackup and Task
>  > Scheduler on Windows computers, but I have a Zimbra/Ubuntu server and can't
>  > use NTbackup.
> 
> Well, BackupPC has a different but arguably more sophisticated and
> robust version of backup scheduling.
> 
> If all you want to do is to run a fixed backup job at the exact same
> time every week, then you don't need to use the sophisticated default
> scheduler. Just turn off all job scheduling in config.pl and run
> simple cron jobs calling: BackupPC_dump [-i] [-f] 
>   where -i = incremental
>   -f = full

I'd rather use BackupPC_serverMsg...

+1 for adding that to BackupPC. If people want exact control, they
should get it.

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Les Mikesell
Jose Torres wrote:
> I want to schedule one Full backup every Sunday at 21:15 and five 
> Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday, 
> Friday, and Saturday.
> 
>  
> 
> This is something really, really easy to do using NTbackup and Task 
> Scheduler on Windows computers, but I have a Zimbra/Ubuntu server and 
> can’t use NTbackup.
> 
>  
> 
> I read the documentation and tried searching for the setting in Google 
> but seems to be so easy that no one has ask for this.
> 
> So I guess is that I do not understand.

The usual approach with backuppc is to tell it when you do not want 
backups to run and let it take care of deciding which host(s) to back up 
at which times within the allowed window.  If you have more than a few 
targets, this allows the runs to happen as fast as possible with the 
concurrency you permit.  After the initial run, the timing is mostly 
controlled by the time you set to expire between each full and incremental.

If you really need to micro-manage things for some reason, you can use a 
cron job to send a ServerMesg command:
http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=ServerMesg_commands

-- 
   Les Mikesell
lesmikes...@gmail.com



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
Jeffrey Kosowsky wrote:
>That being said, since this question seems to come up a lot, maybe it
>should be added to the FAQ if it isn't there already.

>Also, given that some people seem to prefer such absolutely
>deterministic scheduling, maybe we should consider adding such an
>option internally to BackupPC itself. Whereby on a generic or
>host-by-host basis, one could add specifically timed backup jobs to
>either config.pl or the corresponding host file, respectively.


In my case I only have one server, so I do not need the software to manage
scheduling the default way.
In a small network of two or three computers the sophisticated scheduling is
an overkill.

I think this type of networks are the most found since home users and small
business networks are the majority
over large business networks.

So the suggestion of adding a simple scheduling mode to the software is a
good idea.

Cordially,

Jose Torres


-Original Message-
From: Jeffrey J. Kosowsky [mailto:backu...@kosowsky.org] 
Sent: Thursday, September 03, 2009 1:06 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Really confused with scheduling

Jose Torres wrote at about 12:27:07 -0400 on Thursday, September 3, 2009:
 > I want to schedule one Full backup every Sunday at 21:15 and five
 > Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday,
Friday,
 > and Saturday.
 > 
 >  
 > 
 > This is something really, really easy to do using NTbackup and Task
 > Scheduler on Windows computers, but I have a Zimbra/Ubuntu server and
can't
 > use NTbackup.

Well, BackupPC has a different but arguably more sophisticated and
robust version of backup scheduling.

If all you want to do is to run a fixed backup job at the exact same
time every week, then you don't need to use the sophisticated default
scheduler. Just turn off all job scheduling in config.pl and run
simple cron jobs calling: BackupPC_dump [-i] [-f] 
  where -i = incremental
-f = full

That being said, since this question seems to come up a lot, maybe it
should be added to the FAQ if it isn't there already.

Also, given that some people seem to prefer such absolutely
deterministic scheduling, maybe we should consider adding such an
option internally to BackupPC itself. Whereby on a generic or
host-by-host basis, one could add specifically timed backup jobs to
either config.pl or the corresponding host file, respectively.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Les Mikesell
Jose Torres wrote:
> 
>> That being said, since this question seems to come up a lot, maybe it
>> should be added to the FAQ if it isn't there already.
> 
>> Also, given that some people seem to prefer such absolutely
>> deterministic scheduling, maybe we should consider adding such an
>> option internally to BackupPC itself. Whereby on a generic or
>> host-by-host basis, one could add specifically timed backup jobs to
>> either config.pl or the corresponding host file, respectively.
> 
> 
> In my case I only have one server, so I do not need the software to manage
> scheduling the default way.
> In a small network of two or three computers the sophisticated scheduling is
> an overkill.

If you don't need sophisticated scheduling, then why not let backuppc do 
it for you within the window of time you set?  Why do you care if it 
starts at a certain second or a bit later?

-- 
   Les Mikesell
lesmikes...@gmail.com



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
A doubt:

By using the:

 " /usr/share/backuppc/bin/BackupPC_serverMesg backup host.example.tld
host.example.tld backuppc 1"

The backup will be seeing in the Web interface for status and log retrieval,
as will it send the status email at the end of the backup?

Thanks to all,

Jose


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, September 03, 2009 1:23 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Really confused with scheduling

Jose Torres wrote:
> I want to schedule one Full backup every Sunday at 21:15 and five 
> Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday, 
> Friday, and Saturday.
> 
>  
> 
> This is something really, really easy to do using NTbackup and Task 
> Scheduler on Windows computers, but I have a Zimbra/Ubuntu server and 
> can't use NTbackup.
> 
>  
> 
> I read the documentation and tried searching for the setting in Google 
> but seems to be so easy that no one has ask for this.
> 
> So I guess is that I do not understand.

The usual approach with backuppc is to tell it when you do not want 
backups to run and let it take care of deciding which host(s) to back up 
at which times within the allowed window.  If you have more than a few 
targets, this allows the runs to happen as fast as possible with the 
concurrency you permit.  After the initial run, the timing is mostly 
controlled by the time you set to expire between each full and incremental.

If you really need to micro-manage things for some reason, you can use a 
cron job to send a ServerMesg command:
http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=ServerMesg_co
mmands

-- 
   Les Mikesell
lesmikes...@gmail.com




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
Another doubt:

The BackupPC_nighly job does not do any actual backup, right?  It only does
housekeeping jobs?

I should set a cron job for the BackupPC_nightly job and set
$Conf{BackupsDisable} = 1;
Or leave $Conf{BackupsDisable} = 0 and set $Conf{BlackoutPeriods} to every
day/hour to simulate BackupDisable = 1

Or what do you suggest would be the better way?

Jose

-Original Message-
From: Jose Torres [mailto:jetor...@conecodepr.com] 
Sent: Thursday, September 03, 2009 2:00 PM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] Really confused with scheduling

A doubt:

By using the:

 " /usr/share/backuppc/bin/BackupPC_serverMesg backup host.example.tld
host.example.tld backuppc 1"

The backup will be seeing in the Web interface for status and log retrieval,
as will it send the status email at the end of the backup?

Thanks to all,

Jose


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, September 03, 2009 1:23 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Really confused with scheduling

Jose Torres wrote:
> I want to schedule one Full backup every Sunday at 21:15 and five 
> Incremental backups at 00:30 on every Tuesday, Wednesday, Thursday, 
> Friday, and Saturday.
> 
>  
> 
> This is something really, really easy to do using NTbackup and Task 
> Scheduler on Windows computers, but I have a Zimbra/Ubuntu server and 
> can't use NTbackup.
> 
>  
> 
> I read the documentation and tried searching for the setting in Google 
> but seems to be so easy that no one has ask for this.
> 
> So I guess is that I do not understand.

The usual approach with backuppc is to tell it when you do not want 
backups to run and let it take care of deciding which host(s) to back up 
at which times within the allowed window.  If you have more than a few 
targets, this allows the runs to happen as fast as possible with the 
concurrency you permit.  After the initial run, the timing is mostly 
controlled by the time you set to expire between each full and incremental.

If you really need to micro-manage things for some reason, you can use a 
cron job to send a ServerMesg command:
http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=ServerMesg_co
mmands

-- 
   Les Mikesell
lesmikes...@gmail.com




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Les Mikesell
Jose Torres wrote:
> A doubt:
> 
> By using the:
> 
>  " /usr/share/backuppc/bin/BackupPC_serverMesg backup host.example.tld
> host.example.tld backuppc 1"
> 
> The backup will be seeing in the Web interface for status and log retrieval,
> as will it send the status email at the end of the backup?

The backup will show as running in the web status.  However you only get 
email status reports if a host has gone more than 
$Conf{EMailNotifyOldBackupDays} without a backup and even then not more 
often than $Conf{EMailNotifyMinDays} between emails.

-- 
   Les Mikesell
lesmikes...@gmail.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
Actually I could go by setting the time by using the WakeupSchedule and
having all backups run at the same time,
But I do need to have the Full backup to run in a certain day and the
Incremental(s) on the other days.

By setting Blackouts you can set a window within a day but is always the
same window for all backups, so how can I make the Full backup only to run
on Sunday or any specific day of the week?

I see that I can set the period between Full backups and Incremental(s), but
that is once the first backup is run the periods take place, but, when the
first backup is going to run?  What I see is tonight will be the first Full
backup if I set the BackupsDisable to 0 today.  I do not think that is a
good way to set the start date of the backup sequences.

One should be able to set at least a start date for each of the Full backups
for each Host in a deterministic way, then letting the scheduler take the
control.

Cordially

Jose 


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, September 03, 2009 2:05 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Really confused with scheduling

Jose Torres wrote:
> 
>> That being said, since this question seems to come up a lot, maybe it
>> should be added to the FAQ if it isn't there already.
> 
>> Also, given that some people seem to prefer such absolutely
>> deterministic scheduling, maybe we should consider adding such an
>> option internally to BackupPC itself. Whereby on a generic or
>> host-by-host basis, one could add specifically timed backup jobs to
>> either config.pl or the corresponding host file, respectively.
> 
> 
> In my case I only have one server, so I do not need the software to manage
> scheduling the default way.
> In a small network of two or three computers the sophisticated scheduling
is
> an overkill.

If you don't need sophisticated scheduling, then why not let backuppc do 
it for you within the window of time you set?  Why do you care if it 
starts at a certain second or a bit later?

-- 
   Les Mikesell
lesmikes...@gmail.com




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
I set my $Conf{EMailNotifyMinDays} to 1 to be able to receive an email every
day.

If I set $Conf{EMailNotifyOldBackupDays} to 0, will I receive an email every
day for each host backup?

I need to receive the email for each host for each backup run.

If the software does not do that then I have to set a cron job to send me
the status to the email regardless?


Jose

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, September 03, 2009 2:42 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Really confused with scheduling

Jose Torres wrote:
> A doubt:
> 
> By using the:
> 
>  " /usr/share/backuppc/bin/BackupPC_serverMesg backup host.example.tld
> host.example.tld backuppc 1"
> 
> The backup will be seeing in the Web interface for status and log
retrieval,
> as will it send the status email at the end of the backup?

The backup will show as running in the web status.  However you only get 
email status reports if a host has gone more than 
$Conf{EMailNotifyOldBackupDays} without a backup and even then not more 
often than $Conf{EMailNotifyMinDays} between emails.

-- 
   Les Mikesell
lesmikes...@gmail.com



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Windows Excludes

2009-09-03 Thread Michael Stowe
>  > '/BackupPC/diagnostic.txt',
>  > '/BackupPC/vss-setvar.cmd',
> I don't have such files in my implementation. What are they?

They're from the winexe-VSS implementation.

>  > '/Documents and Settings/*/Application Data/AOL/TopSpeed',
> No AOL spam/crap on my computer - probably not a general case for a lot
of people who are smart enough to use BackupPC ;)

Probably not a general case, but it is a cache, like any other.  No need
to bash it.

>  > '/Documents and Settings/*/Application Data/Microsoft/Search/Data',
> What is this folder? I don't see it in my XP installations.

It's the search indexing service, which scans through and updates its
database.

>  > '/System Volume Information',
>
> To be cautious, I have just been excluding:
>'/System Volume Information/catalog.wci/*'
> which appears to be the web & document indexing portion and is the
portion that changes the most. Is it 'safe' to exclude the other parts
of System Volume Information if you want to do as clean a restore as
possible?

Yes, System Volume Information is only used to "go back" to a previous set
point, so it's substantially redundant.  Excluding it means you can't go
back to an earlier set point, but presumably, you could simply restore an
earlier backup. For the same effect.

>  > '/Windows/Prefetch',
> I haven't been excluding this - what does it do?

This is a trace of code and data that's loaded during the boot process, to
speed up future booting.  If it's wiped out, it gets rebuilt again upon
booting, so it seems pretty pointless to back it up.




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Les Mikesell
Jose Torres wrote:
> Another doubt:
> 
> The BackupPC_nighly job does not do any actual backup, right?  It only does
> housekeeping jobs?

Yes, it has to run to expire old backups and release the space they used.

> I should set a cron job for the BackupPC_nightly job and set
> $Conf{BackupsDisable} = 1;
> Or leave $Conf{BackupsDisable} = 0 and set $Conf{BlackoutPeriods} to every
> day/hour to simulate BackupDisable = 1
> 
> Or what do you suggest would be the better way?

If I were doing it (and cared about down-to-the-second scheduling), I'd 
leave most things at the defaults and set
$Conf{FullPeriod} and $Conf{IncrPeriod} to times that will never be 
reached as long as the cron-initiated runs happen when you expect.  I'm 
not sure there is good locking between scheduled runs and ServerMesg 
jobs so be sure you allow enough time for your jobs to complete and 
reset the scheduler's timer.

-- 
   Les Mikesell
 lesmikes...@gmail.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
If I set my FullPeriod to 10 (days) and the cron job runs every Saturday (7
days), the FullPeriod will not be reached?

The BackupPC_nighly job will recognize the cron job backup data and will
remove the old backups?


Jose

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, September 03, 2009 2:53 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Really confused with scheduling

Jose Torres wrote:
> Another doubt:
> 
> The BackupPC_nighly job does not do any actual backup, right?  It only
does
> housekeeping jobs?

Yes, it has to run to expire old backups and release the space they used.

> I should set a cron job for the BackupPC_nightly job and set
> $Conf{BackupsDisable} = 1;
> Or leave $Conf{BackupsDisable} = 0 and set $Conf{BlackoutPeriods} to every
> day/hour to simulate BackupDisable = 1
> 
> Or what do you suggest would be the better way?

If I were doing it (and cared about down-to-the-second scheduling), I'd 
leave most things at the defaults and set
$Conf{FullPeriod} and $Conf{IncrPeriod} to times that will never be 
reached as long as the cron-initiated runs happen when you expect.  I'm 
not sure there is good locking between scheduled runs and ServerMesg 
jobs so be sure you allow enough time for your jobs to complete and 
reset the scheduler's timer.

-- 
   Les Mikesell
 lesmikes...@gmail.com



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Carl Wilhelm Soderstrom
On 09/03 02:56 , Jose Torres wrote:
> I need to receive the email for each host for each backup run.

Is there some sort of management or legal requirement for this?
The Unix philosophy is that 'no news is good news'. If nothing complains,
assume that everything is going well. You really only need to do something
if there's a problem, correct? Backuppc adheres to this and generally only
sends mails if there's a problem.

If for some reason you *really* need a constant stream of mail telling you
everything is fine, and lulling you into ignoring all the mail from
backuppc, some people have discussed this before on this mailing list. Try
looking at the history.

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

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Carl Wilhelm Soderstrom
On 09/03 03:11 , Jose Torres wrote:
> If I set my FullPeriod to 10 (days) and the cron job runs every Saturday (7
> days), the FullPeriod will not be reached?
> 
> The BackupPC_nighly job will recognize the cron job backup data and will
> remove the old backups?

Correct.

I suggest you try installing the software, reading the config.pl, and the
wiki pages. It will take surprisingly little time to build an experimental
setup (provided you use the debian package), and all will be much more clear
at that point.

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

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Les Mikesell
Jose Torres wrote:
> Actually I could go by setting the time by using the WakeupSchedule and
> having all backups run at the same time,
> But I do need to have the Full backup to run in a certain day and the
> Incremental(s) on the other days.
> 
> By setting Blackouts you can set a window within a day but is always the
> same window for all backups, so how can I make the Full backup only to run
> on Sunday or any specific day of the week?

You can manually start a full with the web interface on the day of the 
week that you'd like fulls to run and unless something drastic goes 
wrong they will continue to happen on that day of the week, simply 
because the next full won't start until 6.97 days have passed - and the 
next wakeup happens.

> I see that I can set the period between Full backups and Incremental(s), but
> that is once the first backup is run the periods take place, but, when the
> first backup is going to run?

Usually they start immediately when you add a host - or at the next 
wakeup.  If you don't want that, you can stop it and/or defer the run 
for a specified amount of time.

>  What I see is tonight will be the first Full
> backup if I set the BackupsDisable to 0 today.  I do not think that is a
> good way to set the start date of the backup sequences.

If it has completed a run, you can either log in and force a full at the 
time you want the cycle to repeat or use a cron job to start it.  If it 
hasn't done the first one, go to the place you would stop a run and put 
in the time to defer before starting.

> One should be able to set at least a start date for each of the Full backups
> for each Host in a deterministic way, then letting the scheduler take the
> control.

You can.   But note also that the Blackout period doesn't take effect 
until a host has been detected as up outside of the blackout period. 
This is to ensure that hosts that are turned off at night still have 
backups done when possible.   But, if you defer the start of the first 
run - or add the host late in the day - the interval between runs will 
take care of it after that.

-- 
   Les Mikesell
lesmikes...@gmail.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Davide Brini
On Thursday 03 September 2009, Etaoin Shrdlu wrote:

> Apologies if this is a FAQ, but it seems I'm not able to merge the per-host
> config with the general config. In config.pl, I have
>
> $Conf{BackupFilesExclude} = {
>   '/' => [ '/proc',
>'/dev',
>'/sys'
>  ]
> };
>
> For a specific host, I want to exclude some other directories, so in the
> per- host config file I'm doing
>
> $Conf{BackupFilesExclude}{'/'} = [
>   @{$Conf{BackupFilesExclude}{'/'}},
>   '/var/spool'
> ];
>
> However, when the backup runs, it seems that the only exclusion is
> /var/spool, instead of '/proc', '/dev', '/sys', '/var/spool' as I would
> expect.

I agree that it should work like that. However, if I'm not mistaken, it seems 
that what's written here still applies:

http://osdir.com/ml/sysutils.backup.backuppc.general/2003-10/msg00010.html

As it happens, I was having the same issue in the office, so I changed the 
source to "do the right thing". Of course this is a hack, though it seems to 
be working for me, but I'm still testing it because it might break something 
else. Here is the patch (for rel. 3.0.0 sorry, but I've checked and the 
relevant bits have not changed in 3.1 and 3.2):

diff -uNr BackupPC-3.0.0/lib/BackupPC/Lib.pm 
BackupPC-3.0.0-patched/lib/BackupPC/Lib.pm
--- BackupPC-3.0.0/lib/BackupPC/Lib.pm  2007-01-29 06:02:48.0 +
+++ BackupPC-3.0.0-patched/lib/BackupPC/Lib.pm  2009-09-03 20:13:26.0 
+0100
@@ -328,7 +328,7 @@
 # Read host config file
 #
 if ( $host ne "" ) {
-   ($mesg, $config) = $bpc->{storage}->ConfigDataRead($host);
+   ($mesg, $config) = $bpc->{storage}->ConfigDataRead($host, 
$bpc->{Conf});
return $mesg if ( defined($mesg) );
$bpc->{Conf} = { %{$bpc->{Conf}}, %$config };
 }
diff -uNr BackupPC-3.0.0/lib/BackupPC/Storage/Text.pm 
BackupPC-3.0.0-patched/lib/BackupPC/Storage/Text.pm
--- BackupPC-3.0.0/lib/BackupPC/Storage/Text.pm 2007-01-29 06:02:48.0 
+
+++ BackupPC-3.0.0-patched/lib/BackupPC/Storage/Text.pm 2009-09-03 
20:13:40.0 +0100
@@ -259,7 +259,10 @@

 sub ConfigDataRead
 {
-my($s, $host) = @_;
+
+# 3rd argument is existing config to be merged with the per-host config
+
+my($s, $host, $prevConf) = @_;
 my($ret, $mesg, $config, @configs);

 #
@@ -270,7 +273,7 @@

 push(@configs, $configPath) if ( -f $configPath );
 foreach $config ( @configs ) {
-%Conf = ();
+%Conf = $prevConf?%$prevConf:();
 if ( !defined($ret = do $config) && ($! || $@) ) {
 $mesg = "Couldn't open $config: $!" if ( $! );
 $mesg = "Couldn't execute $config: $@" if ( $@ );


In short, it allows reading the per-host config file with the configuration 
already read in the general config in effect, instead of an empty one. 

If I've got the program logic right, and that doesn't break anything (which of 
course is not granted, as I'm not a real Perl programmer anyway), may I ask 
that the change be incorporated in the vanilla BackupPC code?
It doesn't break compatibility with those who are already using the per-host 
config to override (rather than add to) the values, but it adds the 
possibility to append values, which is very important when you have tens or 
hundreds of hosts and almost each of them needs some minor change from the 
basic config. Otherwise, you'd end up replicating almost the same things in 
each per-host config file, and that is a pain if you later need to change 
something in the common bits.

If my patch does it the wrong way, then may I still ask for that to be added 
as a feature request?

Thank you for your consideration.

-- 
D.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Les Mikesell
Jose Torres wrote:
> If I set my FullPeriod to 10 (days) and the cron job runs every Saturday (7
> days), the FullPeriod will not be reached?

Yes, you can see the age of the last backup in the host summary web 
page.  The scheduler won't kick off another run until these reach the 
interval you've set.

> The BackupPC_nighly job will recognize the cron job backup data and will
> remove the old backups?

Yes, it doesn't care how the jobs that did the backups were started.

-- 
   Les Mikesell
lesmike...@gmail.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Carl Wilhelm Soderstrom
On 09/03 08:45 , Davide Brini wrote:
> I agree that it should work like that. However, if I'm not mistaken, it seems 
> that what's written here still applies:
> 
> http://osdir.com/ml/sysutils.backup.backuppc.general/2003-10/msg00010.html

I think the current behavior is the correct behavior -- where the per-host
config file variable data completely replaces the defaults set in the
config.pl.

The reason is that there are some settings in config.pl where is it not
sensible to add the value in config.pl to the value in the per-host file;
such as the rsync command. 

It would be bad from a discoverability standpoint to have some variables be
additive, and others ablative. They should all behave the same way; and the
only sensible way IMHO is current behavior.

Please correct me if I misunderstand your statement and intent.

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

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Really confused with scheduling

2009-09-03 Thread Jose Torres
Yes, finally.  I got it.  I can set a deferral time for each host in such a
way that the first Full Backup starts the day and time I want it to start,
then the Incremental(s) will follow the correct sequence, and so on.

This way we can set indirectly the start date and time for each backup
without using the cron job method.

Maybe this is in the FAQ or the WIKI, but if not will be nice to be there. 

Thanks,

Jose Torres

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, September 03, 2009 3:34 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Really confused with scheduling

Jose Torres wrote:
> Actually I could go by setting the time by using the WakeupSchedule and
> having all backups run at the same time,
> But I do need to have the Full backup to run in a certain day and the
> Incremental(s) on the other days.
> 
> By setting Blackouts you can set a window within a day but is always the
> same window for all backups, so how can I make the Full backup only to run
> on Sunday or any specific day of the week?

You can manually start a full with the web interface on the day of the 
week that you'd like fulls to run and unless something drastic goes 
wrong they will continue to happen on that day of the week, simply 
because the next full won't start until 6.97 days have passed - and the 
next wakeup happens.

> I see that I can set the period between Full backups and Incremental(s),
but
> that is once the first backup is run the periods take place, but, when the
> first backup is going to run?

Usually they start immediately when you add a host - or at the next 
wakeup.  If you don't want that, you can stop it and/or defer the run 
for a specified amount of time.

>  What I see is tonight will be the first Full
> backup if I set the BackupsDisable to 0 today.  I do not think that is a
> good way to set the start date of the backup sequences.

If it has completed a run, you can either log in and force a full at the 
time you want the cycle to repeat or use a cron job to start it.  If it 
hasn't done the first one, go to the place you would stop a run and put 
in the time to defer before starting.

> One should be able to set at least a start date for each of the Full
backups
> for each Host in a deterministic way, then letting the scheduler take the
> control.

You can.   But note also that the Blackout period doesn't take effect 
until a host has been detected as up outside of the blackout period. 
This is to ensure that hosts that are turned off at night still have 
backups done when possible.   But, if you defer the start of the first 
run - or add the host late in the day - the interval between runs will 
take care of it after that.

-- 
   Les Mikesell
lesmikes...@gmail.com



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Tino Schwarze
On Thu, Sep 03, 2009 at 03:00:37PM -0500, Carl Wilhelm Soderstrom wrote:
> On 09/03 08:45 , Davide Brini wrote:
> > I agree that it should work like that. However, if I'm not mistaken, it 
> > seems 
> > that what's written here still applies:
> > 
> > http://osdir.com/ml/sysutils.backup.backuppc.general/2003-10/msg00010.html
> 
> I think the current behavior is the correct behavior -- where the per-host
> config file variable data completely replaces the defaults set in the
> config.pl.
> 
> The reason is that there are some settings in config.pl where is it not
> sensible to add the value in config.pl to the value in the per-host file;
> such as the rsync command. 

> It would be bad from a discoverability standpoint to have some variables be
> additive, and others ablative. They should all behave the same way; and the
> only sensible way IMHO is current behavior.

But maybe the global config could be made available as $GlobalConf{xyz}
within the per-host config? I remember having tried the same thing -
that is, I want a set of default excludes, then extend then for one
host. Currently, I have to repeat the whole default config just to
append one more directory to the excludes.

Bye,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Davide Brini
On Thursday 03 September 2009, Carl Wilhelm Soderstrom wrote:
> On 09/03 08:45 , Davide Brini wrote:
> > I agree that it should work like that. However, if I'm not mistaken, it
> > seems that what's written here still applies:
> >
> > http://osdir.com/ml/sysutils.backup.backuppc.general/2003-10/msg00010.htm
> >l
>
> I think the current behavior is the correct behavior -- where the per-host
> config file variable data completely replaces the defaults set in the
> config.pl.
>
> The reason is that there are some settings in config.pl where is it not
> sensible to add the value in config.pl to the value in the per-host file;
> such as the rsync command.

That's actually another issue we're having, which would be solved by my patch. 
We have a set of basic rsync options in config.pl (that is, $Conf{RsyncArgs} 
and $Conf{RsyncRestoreArgs}) which do not include --checksum-seed=32761, as 
some of the hosts we back up have a too old rsync version installed. But, for 
the hosts that DO support that, we want to use it. So my patch enables us to 
do something like

push @{$Conf{RsyncArgs}}, '--checksum-seed=32761';
push @{$Conf{RsyncRestoreArgs}}, '--checksum-seed=32761';

in the per-host config file only for the hosts that can support that. The 
alternative would be to include the full $Conf{RsyncArgs} with checksum 
caching appended at the end in each per-host config file. If some day we want 
to change an option in rsync's default options, we would have to change that 
in config.pl AND in all the per-host config files where we were forced to 
paste the same options only to add checksum caching, which would be 
inconvenient.

So far, we were able to kind of simulate the same behavior by doing, in each 
per-host config file,

do "/etc/backuppc/config.pl";
# host specific stuff here, including appending of values
...

but that looks like a hack to me.

> It would be bad from a discoverability standpoint to have some variables be
> additive, and others ablative. They should all behave the same way; and the
> only sensible way IMHO is current behavior.
>
> Please correct me if I misunderstand your statement and intent.

Well I see your point, but keep in mind that the two behaviors are not 
mutually incompatible; people who used to override values in the per-host 
config file can still do so (in fact without changing anything); on the other 
hand, my suggestion would allow you to get additive behavior *only if you 
want*, because to do that you have to explicitly craft Perl code like the 
above or similar, which should mean you know what you're doing.

-- 
D.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Davide Brini
On Thursday 03 September 2009, Tino Schwarze wrote:

> > It would be bad from a discoverability standpoint to have some variables
> > be additive, and others ablative. They should all behave the same way;
> > and the only sensible way IMHO is current behavior.
>
> But maybe the global config could be made available as $GlobalConf{xyz}
> within the per-host config?

That also looks like a good alternative to me.

> I remember having tried the same thing - that is, I want a set of default
> excludes, then extend then for one host. Currently, I have to repeat the
> whole default config just to append one more directory to the excludes.

Same here.

-- 
D.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] XP rsync SLOW and fails

2009-09-03 Thread brianbe2

Welp,
I'm not REALLY sure what I did, but I had all of half an hour to tinker with 
the bosses laptop. I tried newer matching versions of rsync and cygwin1 as 
taken from other packages mentioned previously and tried them on the stock 
c:\rsyncd folder distribution. They didn't work too well as the rsyncd.conf 
needed altering from:
[cDrive]
path = c:
comment = Entire Drive
to:
path = /cygdrive/c/

I ended up returning back to original files when it wouldn't start properly or 
backup failed for one reason or another. I simply didn't have the luxury of 
time to document all the versions of rsync.exe and cygwin1.dll. One pair came 
from Delta Copy though, another from the goodjobsucking.com site.

I dunno what happened but the full backup completed in 3 hours and 6 minutes. 
26598.5 MB according to the log. It should run incrementals for the next 29 
days and back to a full backup on the thirtieth day.

I am convinced that the VSS rysnc method described by Michael is the way to go. 
Just need time to dink with it a bit and test on another laptop before porting 
it to the bosses  [Wink] 

Thanks guys for your input and sharing your resolutions to this annoying 
problem with windows and rsync.

Sincerely,
Brian

+--
|This was sent by bbett...@alfseed.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Carl Wilhelm Soderstrom
On 09/03 09:26 , Davide Brini wrote:
> push @{$Conf{RsyncArgs}}, '--checksum-seed=32761';
> push @{$Conf{RsyncRestoreArgs}}, '--checksum-seed=32761';
> 
> in the per-host config file only for the hosts that can support that. The 
> alternative would be to include the full $Conf{RsyncArgs} with checksum 
> caching appended at the end in each per-host config file. 

Personally, when administrating a machine I try to avoid being too clever
with my configurations. One needs to consider that another administrator may
come along and have little or no clue how things are set up with all the
levels of indirection and dependency. As such, I often take some extra
effort to explicitly spell out what all the settings are such that the
behavior may be readily discovered.

That said, I also realize that I don't know what's best for everyone else,
and it's good to have labor-saving flexibility and configurability. So long
as the default behavior remains; it seems like a reasonable patch. 

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

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] XP rsync SLOW and fails

2009-09-03 Thread Tino Schwarze
On Thu, Sep 03, 2009 at 04:45:48PM -0400, brianbe2 wrote:

> I dunno what happened but the full backup completed in 3 hours and 6
> minutes. 26598.5 MB according to the log. It should run incrementals
> for the next 29 days and back to a full backup on the thirtieth day.

I would do far more full backups - they're not that expensive with
BackupPC. How did you configure your incrementals? Do you have
incremental levels configured? If yes, how? They might cause your
difficulties - if you had 29 incremental levels, the server would have
to traverse a whopping 28 backups on the 29th day!

HTH,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Jeffrey J. Kosowsky
Carl Wilhelm Soderstrom wrote at about 15:00:37 -0500 on Thursday, September 3, 
2009:
 > On 09/03 08:45 , Davide Brini wrote:
 > > I agree that it should work like that. However, if I'm not mistaken, it 
 > > seems 
 > > that what's written here still applies:
 > > 
 > > http://osdir.com/ml/sysutils.backup.backuppc.general/2003-10/msg00010.html
 > 
 > I think the current behavior is the correct behavior -- where the per-host
 > config file variable data completely replaces the defaults set in the
 > config.pl.
 > 
 > The reason is that there are some settings in config.pl where is it not
 > sensible to add the value in config.pl to the value in the per-host file;
 > such as the rsync command. 
 > 
 > It would be bad from a discoverability standpoint to have some variables be
 > additive, and others ablative. They should all behave the same way; and the
 > only sensible way IMHO is current behavior.
 > 
 > Please correct me if I misunderstand your statement and intent.

Perhaps I misunderstand by why couldn't the config.pl be read in
and evaluated first followed by reading in the appropriate
pc/hostname.pl file if it exist.

Then:
1. Any statement in subsequent pc/hostname.pl files of form 
$Conf{x} = "";
   would clearly overwrite earlier settings.
2. Any missing $Conf variable in the pc/hostname.pl file would inherit
   from the config.pl file.
3. And something of form:
   push(@{$Conf{x}}, "");
   would append to the value set in the main config.pl file

The only issue is that for some variables form #3 might not make sense
but then don't use form #3 or use another snippet of Perl code to
properly make your edit.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Les Mikesell
Tino Schwarze wrote:
> On Thu, Sep 03, 2009 at 03:00:37PM -0500, Carl Wilhelm Soderstrom wrote:
>> On 09/03 08:45 , Davide Brini wrote:
>>> I agree that it should work like that. However, if I'm not mistaken, it 
>>> seems 
>>> that what's written here still applies:
>>>
>>> http://osdir.com/ml/sysutils.backup.backuppc.general/2003-10/msg00010.html
>> I think the current behavior is the correct behavior -- where the per-host
>> config file variable data completely replaces the defaults set in the
>> config.pl.
>>
>> The reason is that there are some settings in config.pl where is it not
>> sensible to add the value in config.pl to the value in the per-host file;
>> such as the rsync command. 
> 
>> It would be bad from a discoverability standpoint to have some variables be
>> additive, and others ablative. They should all behave the same way; and the
>> only sensible way IMHO is current behavior.
> 
> But maybe the global config could be made available as $GlobalConf{xyz}
> within the per-host config? I remember having tried the same thing -
> that is, I want a set of default excludes, then extend then for one
> host. Currently, I have to repeat the whole default config just to
> append one more directory to the excludes.

Doesn't that happen by itself if you use the web interface to edit the 
per-host config?  That is, you see all of the default array elements 
from the main config file until you insert a new one and then the set 
becomes an override.  If you have enough machines that you don't want to 
use the web interface to make a change, you could use a script to make 
whatever edits you want.

-- 
   Les Mikesell
lesmikes...@gmail.com



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Tino Schwarze
On Thu, Sep 03, 2009 at 04:46:58PM -0500, Les Mikesell wrote:

> > But maybe the global config could be made available as $GlobalConf{xyz}
> > within the per-host config? I remember having tried the same thing -
> > that is, I want a set of default excludes, then extend then for one
> > host. Currently, I have to repeat the whole default config just to
> > append one more directory to the excludes.
> 
> Doesn't that happen by itself if you use the web interface to edit the 
> per-host config?  That is, you see all of the default array elements 
> from the main config file until you insert a new one and then the set 
> becomes an override.  If you have enough machines that you don't want to 
> use the web interface to make a change, you could use a script to make 
> whatever edits you want.

I'm not using the web interface for configuring my hosts, for example
because I've got a 
do "somepath/DefaultRsync.conf";
in several config.pl. I just would like to say "add this to the default
excludes list" in config.pl which should be pretty easy given that it is
Perl code already.

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] XP rsync SLOW and fails

2009-09-03 Thread brianbe2

Hello Tino,

Thank you for bringing that to my attention. I have full period set to 29.67 
with all other parameters as default except for full keep count as 2. 
Inrementals are all default. Blackouts set to zero for the laptops so I can 
specify the hours tailored to each user.

Reason for the Full being as it is... One full per month is fine with me so the 
user is not burdened with an unresponsive, or slow laptop. The incrementals 
backup all data since the last full there four even though I only have 6 
incrementals available they contain all data since the last full, right? sure 
there is a gap between the last full, say at the beginning of the month and an 
incremental toward the end of the month, but I am not too worried about going 
back any further than the six days. If worse cam to worse and a rebuilding of 
the laptop were to be forced upon us, we'd restore the full and the last 
incremental, right?

So, unless I'm missing something, I should be okay. I'll gladly take your 
opinions, I just don't want the user to be aware that the backup even runs 
during the day. Now, at night, for those users who LEAVE their laptops at the 
office, that is another picture. I will set the period to 6.97 and leave the 
full keep to 2 to conserve space. I hope I am being prudent, yet efficient.

Your thoughts?
Brian

+--
|This was sent by bbett...@alfseed.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Using rsync for blockdevice-level synchronisation of BackupPC pools

2009-09-03 Thread Pieter Wuille
On Thu, Sep 03, 2009 at 11:35:50AM -0500, Les Mikesell wrote:
> Pieter Wuille wrote:
> > 
> >>> You're very right, and i thought about it too. Instead of using a RAID1 on
> >>> the offsite backup, there are two separate backups on the offsite machine,
> >>> and synchronisation switches between them. This also enables the use of
> >>> rsync's --inplace option.
> >> That should be safe enough, but doesn't that mean you xfer each set of 
> >> changes twice since the alternate would be older?
> > 
> > That's correct, but it hardly seems to matter. Due to a problem the offsite
> > machine was down once for over two weeks, and the subsequent synchronisation
> > run still only took 14h. The limiting factor is the sequential read speed of
> > the device, not the network.
> 
> Your network between sites must be exceptionally fast - that's probably 
> not a typical situation.

The network connection between them is indeed quite fast, but that doesn't
really matter. We're talking about a few gigabytes (maybe 10-20) of changes
that need to be transferred along with some checksums during a period of 14
hours. That's an average bandwidth of 3-4 megabit

> >>> Catting the part files together to a device after transmission isn't a
> >>> complete solution: what if the machine crashes during the catting...?
> >> The machine crash would have to destroy the filesystem containing the 
> >> chunks to be a real problem.  And then I wouldn't expect both your 
> >> primary server and the server holding the file chunks to die at the same 
> >> time, but it would mean you'd have to xfer the whole mess again. 
> >> Perhaps you could alternate the catting to 2 different devices so you'd 
> >> always have one ready to whisk off to the restore location.
> > 
> > Yes, i was wrong. A crash during the catting would normally not hurt the
> > files that already were transmitted. As long as you don't start transferring
> > the next set during the catting of the previous, there is no problem.
> 
> Maybe it doesn't matter if your network is as fast as your disks, but I 
> like the idea of ending up with a disk you can ship overnight or toss in 
> a briefcase and take to your disaster recovery location and start 
> restoring immediately.

That's a conforting thought. But it is maybe possible to add write support to
my script, and use that on the remote side. That way you would build a real
remote mirror device immediately, instead of a set of files that can be used to
reconstruct it. I'll try that one of the next days. Using that patched rsync
would allow you to do the same...

-- 
Pieter

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] XP rsync SLOW and fails

2009-09-03 Thread Michael Stowe

You're missing something, I believe.

Using rsync, only the *first* backup actually transfers every file --
every other file will avoid transferring files that are duplicates.  It
may be worthwhile to review the backup times in your logs.

Since incrementals go back to the last full, it wouldn't surprise me if an
incremental backup against a 29-day-old full could actually be slower than
a full backup.  Some experimentation here demonstrated that the optimal
full backup period is actually about a week, and after about 10 days, the
incrementals took as long or longer than full backups.

Again, this is rsync; smb is quite different.

> Hello Tino,
>
> Thank you for bringing that to my attention. I have full period set to
> 29.67 with all other parameters as default except for full keep count as
> 2. Inrementals are all default. Blackouts set to zero for the laptops so I
> can specify the hours tailored to each user.
>
> Reason for the Full being as it is... One full per month is fine with me
> so the user is not burdened with an unresponsive, or slow laptop. The
> incrementals backup all data since the last full there four even though I
> only have 6 incrementals available they contain all data since the last
> full, right? sure there is a gap between the last full, say at the
> beginning of the month and an incremental toward the end of the month, but
> I am not too worried about going back any further than the six days. If
> worse cam to worse and a rebuilding of the laptop were to be forced upon
> us, we'd restore the full and the last incremental, right?
>
> So, unless I'm missing something, I should be okay. I'll gladly take your
> opinions, I just don't want the user to be aware that the backup even runs
> during the day. Now, at night, for those users who LEAVE their laptops at
> the office, that is another picture. I will set the period to 6.97 and
> leave the full keep to 2 to conserve space. I hope I am being prudent, yet
> efficient.
>
> Your thoughts?
> Brian


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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 and Barracudaware

2009-09-03 Thread swedishorr

Thank you for the replies.  I came in this morning to find that Yosemite / 
Barracudaware died on me and now I've got to find a new solution that doesn't 
use third-rate software.  

My new goal is to just get backups to tape.  Not having any luck though with 
the Dell PowerVault 124T.  But I digress, that is another topic altogether.

Thank you again for the great replies and suggestions.

+--
|This was sent by n...@intela.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] XP rsync SLOW and fails

2009-09-03 Thread brianbe2

Thanks Michael,

I will go back to 6.97 on the full period and watch what happens. Another 
reason why this board is so wonderful is that I get to learn from others 
experisnce. Been to several of Curtis Preston's seminars and I will likely 
apply all that he recommends over time  :) 

Thanks again Michael and Tino

Brian

+--
|This was sent by bbett...@alfseed.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Merge config in per-host config?

2009-09-03 Thread Les Mikesell
Tino Schwarze wrote:
> On Thu, Sep 03, 2009 at 04:46:58PM -0500, Les Mikesell wrote:
> 
>>> But maybe the global config could be made available as $GlobalConf{xyz}
>>> within the per-host config? I remember having tried the same thing -
>>> that is, I want a set of default excludes, then extend then for one
>>> host. Currently, I have to repeat the whole default config just to
>>> append one more directory to the excludes.
>> Doesn't that happen by itself if you use the web interface to edit the 
>> per-host config?  That is, you see all of the default array elements 
>> from the main config file until you insert a new one and then the set 
>> becomes an override.  If you have enough machines that you don't want to 
>> use the web interface to make a change, you could use a script to make 
>> whatever edits you want.
> 
> I'm not using the web interface for configuring my hosts, for example
> because I've got a 
> do "somepath/DefaultRsync.conf";
> in several config.pl. I just would like to say "add this to the default
> excludes list" in config.pl which should be pretty easy given that it is
> Perl code already.

It is, but you can't just re-assign the existing variable without losing 
what's there.  If you are adding new perl code and have given up on the 
web edit mechanism, you can just push elements or define a new array and 
combine them:
@old = (@old, @new);

--
   Les Mikesell
lesmikes...@gmail.com

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Mark Phillips
Thank-you to everyone for their suggestions. I think I will go with an
external eSATA drive. The P3 may not be fast enough, in which case I assume
moving to a faster machine will be easier with an external than an internal
drive. Please let me know if this is not the case!

I was looking on newegg, and found 1TB drives for less than $150. However,
they are advertised to be eSATA compatible for DVRs. Are they also
compatible as backup devices? I was looking at this one in particular:
http://www.newegg.com/Product/Product.aspx?Item=N82E16822186175

Do you have any recommendations for a PCI 33MHz eSATA drive controller for
external eSATA drives that works with Debian?

Thanks!

Mark

On Thu, Sep 3, 2009 at 9:41 AM, Stephen Joyce wrote:

> For anything any of us (consumers of free backup products) are likely to
> do, anything stronger than original DES is probably fine.
>
>
> If you want background info,
>
> http://www.security-forums.com/viewtopic.php?printertopic=1&t=6690&start=0&postdays=0&postorder=asc&vote=viewresult&sid=19654e84950fe8608fde7e4a951da0ee
> has a good end-user perspective of some of the most common ciphers.
>
> The take home is: avoid DES due to the short length of its key. 3DES is
> secure (30+ years of use), but slow. Blowfish has a good reputation for
> being fast, simple, and secure. If you're paranoid, think about AES, but
> remember the recent advisories concerning AES keys >= 128-bits.
>
> Disclaimer: I am *not* a cryptographic expert; I just know how to use
> google. :-)
>
> On Thu, 3 Sep 2009, Jeffrey J. Kosowsky wrote:
>
> > Stephen Joyce wrote at about 10:31:44 -0400 on Thursday, September 3,
> 2009:
> > > Have you tried ssh -c blowfish?
> > >
> > > 3des is the default cipher for most ssh implementations and blowfish is
> > > much faster than 3des.
> >
> > Thanks - I wasn't aware of that.
> > What (if any) are the downsides to using 'blowfish' vs 3DES?
> >
> >
> --
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > ___
> > 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/
> >
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> 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/
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Windows Excludes

2009-09-03 Thread higuita
Hi all

On Thu, 3 Sep 2009 09:16:18 -0500, "Michael Stowe" 
 wrote:
> '/Documents and Settings/*/Local Settings/Temporary Internet Files',
> '/Documents and Settings/*/Local Settings/Temporary Internet Files',

do you know you have a duplicated here :)

i usually also exclude *.vmdk (vmware), *vdi (virtual box), i
dont know anyone that used the MS virtual machine, but they
should have also a extension for their virtual HDs

google earth, google search, MS search also create big files
that are always changing

java also create a cache dir, but *cache* is always a good 
candidate, as *tmp and *tmp/*

IE cookied, flash cookies, as they dont deserve the cpu/io spent
with then

i also exclude the download, music, images, etc folders of 
some users... i also exclude the *no-backup* and tell users
to put inside folders with that name all things they dont
need backup

*.ost and *.pst.. ost are the offline exchange mailbox, 
is recreated if needed, the *.pst because they are too big, 
change alot and are always locked...they are the worst backup
thing that one could ask...

our users know that they should store the emails in the
server only and this way we say goodbye to this problem.
without .pst, the need for VSS is also smaller

finally, antivirus updates and definitions... some
keep older virus definitions around and its a waste of
space and IO

good luck
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
   -- Hermann Goering, Nazi and war criminal, 1883-1946


signature.asc
Description: PGP signature
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Which FS?

2009-09-03 Thread higuita
Hi again

On Wed, 2 Sep 2009 19:26:29 -0600, dan  wrote:
> This is somewhat dependant on filesystem and IO Scheduler of the OS.
> Some  filesystems excel under IO loads (ZFS) but shrivel and die under RAM
> pressure(ZFS)

strange, was not really my experience...
before i used backuppc, i used a hand made rsync script on
a solaris with ZFS and during the backups the machine as dog
slow and trying to use the ZFS filesystem took seconds
and even minutes...but still had free ram (about 2GB)

maybe because i had just 2 HDs and for several times i
manage to fill 100% the ZFS (i found that with 0 bytes
free, you cant delete anything, just a echo > big_file
would help there). it was still too new and buggy for sure,
and i probably stressed too much that poor XFS :)

i gave up that ZFS and script after a powerlost and the ZFS
didnt come online no matter what i did... after 2 days of
unsuccessful tries, i installed backuppc.

cya
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
   -- Hermann Goering, Nazi and war criminal, 1883-1946


signature.asc
Description: PGP signature
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Windows Excludes

2009-09-03 Thread Michael Stowe
> Hi all
>
> On Thu, 3 Sep 2009 09:16:18 -0500, "Michael Stowe"
>  wrote:
>> '/Documents and Settings/*/Local Settings/Temporary Internet Files',
>> '/Documents and Settings/*/Local Settings/Temporary Internet Files',
>
>   do you know you have a duplicated here :)

Yes, but I not only want those directories excluded, I want them to -feel-
excluded.

>   i usually also exclude *.vmdk (vmware), *vdi (virtual box), i
>   dont know anyone that used the MS virtual machine, but they
>   should have also a extension for their virtual HDs
>
>   google earth, google search, MS search also create big files
>   that are always changing
>
>   java also create a cache dir, but *cache* is always a good
>   candidate, as *tmp and *tmp/*

Excellent thoughts, thank you

>   IE cookied, flash cookies, as they dont deserve the cpu/io spent
>   with then
>
>   i also exclude the download, music, images, etc folders of
>   some users... i also exclude the *no-backup* and tell users
>   to put inside folders with that name all things they dont
>   need backup
>
>   *.ost and *.pst.. ost are the offline exchange mailbox,
>   is recreated if needed, the *.pst because they are too big,
>   change alot and are always locked...they are the worst backup
>   thing that one could ask...

Funnily enough, .pst files are always backed up (using shadow volumes
leaves me without worries about locked files.)

>   our users know that they should store the emails in the
>   server only and this way we say goodbye to this problem.
>   without .pst, the need for VSS is also smaller
>
>   finally, antivirus updates and definitions... some
>   keep older virus definitions around and its a waste of
>   space and IO

Really?  Huh, I can't imagine how or why anybody would want to do that
(but I don't doubt that they do.)

> good luck
> higuita


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Jim Leonard
Jeffrey J. Kosowsky wrote:
> On slower machines, I find that ssh is more rate limiting than rsync.

If rsync is a binary, yes.  But BackupPC uses File::Rsync which is 
significantly slower than real rsync.
-- 
Jim Leonard (trix...@oldskool.org)http://www.oldskool.org/
Help our electronic games project:   http://www.mobygames.com/
Or check out some trippy MindCandy at http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.wordpress.com/

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Advantages of internal over external hard drive?

2009-09-03 Thread Jeffrey J. Kosowsky
Jim Leonard wrote at about 23:41:06 -0500 on Thursday, September 3, 2009:
 > Jeffrey J. Kosowsky wrote:
 > > On slower machines, I find that ssh is more rate limiting than rsync.
 > 
 > If rsync is a binary, yes.  But BackupPC uses File::Rsync which is 
 > significantly slower than real rsync.

Sorry - I find it even with perl-File-RsyncP. Speed of BackupPC goes
up about 2x for me when I switched from rsync (over ssh) to just
rsyncd.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/