Hello all,
I'm new on this list, so a little brief... my name is Allan Garcia, I live
in Brazil, I'm not an experienced C developer, but I already make many C
programs for scientific purposes in my Bachelors and after that Masters and
PhD, but none of these were large programs. Now, my mainly occupation is
academic professor of the Federal Government of Brazil, so I have some spare
time.
I'm telling that 'cause I have the intention to develop the Item 20 of the
projects list. This feature are essential to my backup plans and there're no
other tool to make backup such Bacula (FOSS) that implements this feature.
I'm not sure that I'll accomplish with success this endeavor, like I told,
I'm not a very experienced C developer.
So, I like to begin a thread about this feature, collect ideas, tips, or any
comment that helps, mainly from Kern and Eric and other core developers.
I notice that the Migration/Copy are commanded in dird/migrate.c and
accomplished in stored/mac.c, especially in mac.c the "copy" between volumes
are made inner the same *sd*, and from this becomes the limitation.
I imagine that the initial approach could make a detection if the
destination *sd* are the same *sd* and if are the migration are done in the
actual way.
If the *sd* are different we have to open a socked to destination *sd* and
ask him to call the "record" function.
MY INITIAL BRAINSTORM
1. the dird have to contact the origin *sd* and command the migration (like
it's done now)
2. the origin *sd* detects if the destination *sd* it's himself or the other
*sd*
3. if the origin *sd* detects other destination, it respond informing that
to the dird
4. the dird have to handle the origin *sd* response informing the
destination *sd*
5. the dird commands the destination *sd* to wait the origin *sd* connection
6. the dird commands waits the destination *sd* to confirm
7. the dird commands origin *sd* to send data to destination *sd*
8. when it's done the job are marked as sucess, otherwise fail.
Waiting for any comments...
--
Allan Garcia
allan.gar...@gmail.com
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel