Hi,
On 2/8/2006 6:47 PM, Brian A. Seklecki wrote:
Bumping the clock around on the machine seems reasonable, but ugly.
File system activity can also be scripted outside of the system.
Somehow I don't understand what file system activity has to do with the
schedules...
I guess I need to test more than just the schedule. I need to test the
logic behind Incremental->Full mode promotion code. I need to test the
Prune/Auto-Recycle code/behavior.
Ok, I understand... You wouldn't take our word instead of testing for
yourself? ;-)
Ok, what I'm usually doing is the following:
Set up jobs with a test file set where you can add and delete files to
your liking... cron in conjunction with something like 'dd
if=/dev/urandom bs=16k count=1 of=/tmp/bactest/`date
--iso-8601=minutes`' is a great tool, by the way.
By the way, when testing this sort of stuff, keep in mind that Bacula
uses the unix time stamps to determine which files to store - together
with mv'in files to different directories this can become a problem!
Then, set up your test jobs and pools in a way that automatic pruning
happens after short retention times - that way, you can (still?)
automatically remove jobs Bacula would need for later
incremental/differential backups. You'll easily notice the job
promotions in the job reports.
Anyway, with such a setup and minimal manual intervention you've got
covered the job promotion and the automatic pruning / recycling.
The schedules are quite separate from this part, and you can try to make
them as complicated as you like - I can't give you much advise there
(regarding your original question), because I try to keep schedules
simple :-)
Ok, I admit this doesn't exactly answer your original question, but
perhaps it's helpful...
Arno
~lava
Arno
TIA,
~lava
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users