Hi all:

I'm running Bacula 3.0.2 with a policy of 1 Full Backup per month and the
rest of days Incremental backups. I'm pretending to offer some kind of
archive acces to my end users like this:

1. Trough Samba publish the contents of user backups
2. Create a directory named with the current date that contains a backup of
that day
3. Restore the backups of everyday on the directory corresponding with its
date

This would create something like this:

/var/backups/mailserver/09-01-2009 (this contains a full backup. It should
use around 100 MB)
/var/backups/mailserver/09-02-2009 (this contains only the files of the
incremental backup of that date. It should use around 5MB)
/var/backups/mailserver/09-03-2009 (this contains only the files of the
incremental backup of that date. It should use around 4MB)
/var/backups/mailserver/09-04-2009 (this contains only the files of the
incremental backup of that date. It should use around 6MB)

I tought that I could just run restore jobs choosing a specific Job ID like
this:

* restore jobid=45 storage=FileDrive client=mailserver
restore-client=samba-server regexwhere=!^!/var/backups/mailserver/DATE/!
select all yes

... where:

- 45 is the Job ID of an Incremental Backup (except the 1st day of a month
that is a Full Backup)
- samba-server is the target host of the restore backups (and the one that
publishes the restores backups via Samba)

OK, this works fine. I wrote a script that automatizes the procedure of
restoring backups of everyday but I noted that Bacula is always choosing the
last Full Backup (that is not what I want) and the specific incremental
backup (this is right!).

I would like that the procedure of restore an Incremental Backup not
includes the last backup because this would not allow me to have published
the files that changed everyday each of them inside its own directory.

Is there a way to extract just the contents of an incremental backup but not
the last full backup? I would want to restore all the directories structure
necessary but only the files being restored from the incremental backup.

I hope someone was able to understand me (Sorry, my english isn't good) and
point me to a possible solution because I was reading a lot the
documentation and searching around Google with no success.


Thanks
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to