"David Masover" writes:
Is there any downside to this:
$Conf{IncrFill} = 1;
If I can help it, I only want to do incremental backups. It seems to me
that with this option turned on, there's no reason not to just set
$Conf{FullKeepCnt} = 1;
$Conf{FullKeepCntMin} = 1;
and let the full backups all expire. It also seems like the space
required for hardlinks is really tiny, and probably at least as efficient
as whatever method you're using to keep track of which files in which
incremental belong to which full backup.
Unfortunately BackupPC currently only does level 1 incrementals.
That means each incremental is based on the last full, not the
most recent incremental. So you always need at least one full.
Setting $Conf{IncrFill} won't change this. In fact, setting
$Conf{IncrFill} will only cost time and some disk storage;
the behavior will be unchanged.
That said, almost everything is in place for BackupPC to support
multi-level incrementals. They will likely be supported in the
next version. There is more discussion of this in the roadmap
in the FAQ and maillist.
Also -- I want to schedule daily backups that expire when they are a week
old, leaving one weekly backup. I want the weekly backups to expire when
they are a quarter old, leaving one quarterly backup. I want the
quarterly backups to never die. Can I do this? Can I do it with
all incremental backups as above?
For fulls: yes. $Conf{FullKeepCnt} supports exponential expiry.
For incrementals: no.
I have a feeling that the easiest way to do this is going to be to leave
on IncrFill and occasionally mv a backup (manually, from a cron job) into
a separate folder. I think, from reading the docs, that files are cleaned
from the pool based on hardlink count. If so, those files should still
stay in the pool, correct?
If the new directory is on the same file system, then the hardlinks
will be intact. But then files will never be removed from the pool
if you have a manually moved directory.
Craig
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
