|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Different automatic Backups?Hi,
first of all, the new version seems to be great
although i haven''t worked a lot with it yet.
But i have an important question on the new
backup-functionality.
I tried to enter more than one backup-job in den
conf.xml like this:
<job type="system" class="org.exist.storage.BackupSystemTask" cron-trigger="0 0/2 * * * ?"> <parameter name="dir" value="C:\backup/backup_2" /> <parameter name="suffix" value=".zip" /> <parameter name="prefix" value="backup-" /> <parameter name="collection" value="/db" /> <parameter name="user" value="admin" /> <parameter name="password" value="" /> <parameter name="zip-files-max" value="10" /> </job> <job type="system" class="org.exist.storage.BackupSystemTask" cron-trigger="0 0/5 * * * ?"> <parameter name="dir" value="C:\backup/backup_5" /> <parameter name="suffix" value=".zip" /> <parameter name="prefix" value="backup-" /> <parameter name="collection" value="/db" /> <parameter name="user" value="admin" /> <parameter name="password" value="" /> <parameter name="zip-files-max" value="12" /> </job> <job type="system" class="org.exist.storage.BackupSystemTask" cron-trigger="0 0/10 * * * ?"> <parameter name="dir" value="C:\backup/backup_10" /> <parameter name="suffix" value=".zip" /> <parameter name="prefix" value="backup-" /> <parameter name="collection" value="/db" /> <parameter name="user" value="admin" /> <parameter name="password" value="" /> <parameter name="zip-files-max" value="6" /> </job> Just for testing. Later we wanted to do backups every 2 hours (12 a day), every day (30 a month), every week (52 a year), every month (12 a year) so that we can restore to more different timepoints in the past. While the zip-files are getting bigger with more data, but we need dayly backups, 365 a year would be too much. So i tried to do that for testing in timings like 2, 5 and 10 minutes, but the first trigger is the only one that works. The other folders are still empty :-( Any suggestions or information on how i can do this? Thanks a lot, regards, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Exist-open mailing list Exist-open@... https://lists.sourceforge.net/lists/listinfo/exist-open |
|
|
Re: Different automatic Backups?> So i tried to do that for testing in timings like
> 2, 5 and 10 minutes, but the first trigger is the only one that works. The > other folders are still empty :-( I had the same issue with scheduled XQuery tasks recently. I think the problem is that the jobs are registered by class name (or XQuery name), so you can only register a class once. We need to change that. You might also be interested in a faster alternative to BackupSystemTask, about which I just posted on the blog: http://atomic.exist-db.org/blogs/eXist/ConsistencyChecker Wolfgang ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Exist-open mailing list Exist-open@... https://lists.sourceforge.net/lists/listinfo/exist-open |
|
|
|
|
|
Re: Different automatic Backups?Hi,
that's great. What about the 1.2.1 release you spoke of? Do you think this will happen this or next week, or do i have to use the svn version? Thanks, Marcus ----- Original Message ----- From: "Wolfgang Meier" <wolfgang@...> To: "Marcus" <StMarcus@...>; "Exist-open@..." <exist-open@...> Sent: Thursday, May 08, 2008 12:11 AM Subject: Re: [Exist-open] Different automatic Backups? >> > I had the same issue with scheduled XQuery tasks recently. I think the >> > problem is that the jobs are registered by class name (or XQuery >> > name), so you can only register a class once. We need to change that. >> > >> Is there a simple way to get around that problem or do i have to wait >> :-) >> When do you think might this be available? In the next version? > > I tried to address this problem in SVN trunk: you can now assign a > name to each job by specifying a name="..." attribute on the <job> > element in conf.xml. This way, multiple instances of the same job > class can be registered (as long as the names are unique). > > Wolfgang > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Exist-open mailing list > Exist-open@... > https://lists.sourceforge.net/lists/listinfo/exist-open ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Exist-open mailing list Exist-open@... https://lists.sourceforge.net/lists/listinfo/exist-open |
| Free Forum Powered by Nabble | Forum Help |