==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this
link:http://bugs.contribs.org/show_bug.cgi?id=7633
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
--- Comment #8 from [email protected] ---
(In reply to arnaud056 from comment #7)
as written in the attached file, to backup a sme following is needed:
1) signal-event pre-backup
2) the list of the files and directories to backup
3) signal-event post-backup
I see 2 ways to do it:
a) by hand in the configuration of the job
b) better: to use a parameter "SME-Server=yes/no" in the configuration of the
job - like in the V2
For the restoring of a sme, 2 thinks are needed:
1) signal-event pre-restore
2) signal-event post-upgrade; signal-event reboot
2 ways too:
a) by hand in the configuration of the job by using the parameters
"pre/postJobCommandRemote"
b) better: to use a parameter "SME-Server=yes/no"
For the --rise function, it is important too to know if "SME-Server= yes or no"
(--rise can only work with the archive of a sme!).
--> Therefore I think that this is the first thing to do: add this parameter in
the job configuration in order to use it to add automatically the default
directories to backup and the different "signal-event ...." in
pre/postjobCommands:
+++ For adding the default directories by "SME-server=yes", AffaV2 does it in
the sub getSourceDirs() (line 1034 to 1061). The list of directories is take
from the db esmith::Backup.
--> if we "use esmith::Backup;" at the beginning of the script (like Affa2),
could it be possible to add the list of default directories in Affa3 in the
same way
Any proposals for the modified sub getSourceDirs($) of Affa3 (line 1077 to
1090)??
By the way: what is the sub getSourceDirs($) of Affa3 exactly doing (by Affa3
all the directories must be "included")?? What is the difference to the sub
getIncludedString() (lines 1103 to 1112)? I don't understand the scripts.
+++ For the pre/postjobCommands: by Affa2, the signal-event prebackup is
happening for "SME-Server=yes" line 515.
The sub signalPreBackupEvent() should be a little bit modified for a distant
"remoteHostName" by using the new function "preJobCommandRemote".
Same method for the "signal-event postbackup".
Please give me your opinion about it
and keep in mind that all I have writen above is only what I have understood or
what I guess how things works.... It must not be true!
Bye Arnaud
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/