[BackupPC-users] Keeping 1 golden backup for a year

2011-03-25 Thread Brad Alexander
Okay, this kind of confuses me. I would like to have the following backup
strategy:

6 incrementals (*2)
1 weekly (*2)
1 yearly (*1)

Currently,

$Conf{FullKeepCnt} = [ 1, 0, 1, 0, 0, 1 ];

I know this isn't right, but it's not what I would anticipate seeing. For
instance, one of my backup targets has:

Backup# Type Filled Level Start Date
 626 full yes 02/21 23:00
 645 full yes 03/15 01:02
 649 incr  no 13/19 01:00
 650 incr  no 13/20 01:00
 651 incr  no 13/21 01:00
 652 full yes 03/22 01:00
 653 incr  no 13/23 01:00
 654 incr  no 13/24 01:00
 655 incr  no 13/25 01:00

incrs between 3/16 and 3/18 are missing because of a power outage and the
backuppc filesystem not mounting correctly.

So how should I set up my FullKeepCnt to keep one backup for a year and two
sets of fulls/incrementals for the past two weeks?

Thanks,
--b
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
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] Keeping 1 golden backup for a year

2011-03-25 Thread Les Mikesell
On 3/25/2011 10:36 AM, Brad Alexander wrote:
 Okay, this kind of confuses me. I would like to have the following
 backup strategy:

 6 incrementals (*2)
 1 weekly (*2)
 1 yearly (*1)

 Currently,

 $Conf{FullKeepCnt} = [ 1, 0, 1, 0, 0, 1 ];


 So how should I set up my FullKeepCnt to keep one backup for a year and
 two sets of fulls/incrementals for the past two weeks?

The meaning of FullKeepCnt array doubles for each element so if you do 
weekly fulls you can't quite hit yearly boundaries.
[2,0,0,0,0,100]
would keep the 2 most recent weeklys and one every 32 weeks for longer 
than you are likely to want them.  Per 
http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Keep_yearly_backups
the next step would be 64 weeks - but you could keep monthlys to have 
the last year boundary like:
[2,0,13,0,0,100]
Note that with backuppc's pooling it doesn't take that much more space 
to keep more history unless there is a big turnover in file content. 
Also, you may see a few more nearby fulls than you expect since they are 
retained if any incrementals depend on them.

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



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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] Keeping 1 golden backup for a year

2011-03-25 Thread Matthias Meyer
Brad Alexander wrote:

 Okay, this kind of confuses me. I would like to have the following backup
 strategy:
 
 6 incrementals (*2)
 1 weekly (*2)
 1 yearly (*1)
 
 Currently,
 
 $Conf{FullKeepCnt} = [ 1, 0, 1, 0, 0, 1 ];
 
 I know this isn't right, but it's not what I would anticipate seeing. For
 instance, one of my backup targets has:
 
 Backup# Type Filled Level Start Date
  626 full yes 02/21 23:00
  645 full yes 03/15 01:02
  649 incr  no 13/19 01:00
  650 incr  no 13/20 01:00
  651 incr  no 13/21 01:00
  652 full yes 03/22 01:00
  653 incr  no 13/23 01:00
  654 incr  no 13/24 01:00
  655 incr  no 13/25 01:00
 
 incrs between 3/16 and 3/18 are missing because of a power outage and the
 backuppc filesystem not mounting correctly.
 
 So how should I set up my FullKeepCnt to keep one backup for a year and
 two sets of fulls/incrementals for the past two weeks?
 
 Thanks,
 --b
There are a lot of threads about this. In my point of view it was one of 
the few room for improvements within BackupPC.

I've developed a patch for V3.1 which can be found in backuppc.devel. It 
will solve your requirements. But I didn't migrate the patch to V3.2 and I 
don't know when I will do that.

br
Matthias
-- 
Don't Panic


--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
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] backend to nfs nas share

2011-03-25 Thread Lord Sporkton
I was planning to make my backend storage box with zfs which as i
understand it support easy expansion to multiple new disks. Then run
either iSCSI or NFS between the backend storage box and the front end
BPC box

On 23 March 2011 21:34,  hans...@gmail.com wrote:
 Best to use LVM (over RAID if you like) for future expansion flexibility.

 I happen to use OpenFiler as a NAS host for the same reason - can act
 as an iSCSI host as well as all the mainstream filesharing protocols,
 relatively easy to set up compared to building your own from a generic
 distro.

 Note it is not recommended to run BPC on the OF host itself, best to
 treat OF as a black box appliance.

 On Tue, Mar 22, 2011 at 7:52 PM, Jeffrey J. Kosowsky
 backu...@kosowsky.org wrote:
 Lord Sporkton wrote at about 02:56:59 -0700 on Tuesday, March 22, 2011:
   I was hoping to setup a backend storage system for this to allow me to
   use a much larger file system than is typically available locally. I
   was looking at using an NFS share and connecting backuppc to the NFS
   share. As I understand it NFS has no real limit on the filesystem size
   other than that of the hosting machines filesystem limits, but does
   backuppc have any filesystem requirements or filesystem size limits? I
   noticed the inode issue mentioned in documentation, im looking into
   that one currently for NFS.
  
   I saw the limits about individual file size in the faq but im more
   concerned with the overall filesystem backuppc is running on top of.
  

 BackupPC itself has no such limits. The limits are based on the
 filesystem where TopDir is located.

 Also, btw, the issue is not NFS but the filesystem that NFS is
 mounting from the remote machine. So you need to look on the remote
 machine filesystem partition and see how much space and inodes are
 available.

 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 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/


 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 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/


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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] mysql addon or plugin?

2011-03-25 Thread Lord Sporkton
I have seen some examples of using a local backup script to dumpmysql
to a local dir, then backup that local dir via BPC, but i was hoping
for something a little more robust. I was looking into replacing the
tar commands that pipe back to ssh with a mysqldump command so it
pipes one big sqldump file into BPC, and ive been looking at the local
script method but neither seems very robust. I was hoping maybe there
was like a plugin or something that would create an extra backup
method or something like that. preferrably i was hoping to be able to
backup individual databases as individual files.

Is there any current methods for this ?

Thank you
Lawrence

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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/