Quantcast

databackup issue

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

databackup issue

محمد جواد حسنی
dear all,

The job that defined in conf.xml for create copy of *.dbx every 2 minute, copy only collection.dbx.

Regards.





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: databackup issue

Joe Wicentowski
Hi Mjavad,

On Sat, Mar 18, 2017 at 8:28 AM, محمد جواد حسنی <[hidden email]> wrote:
The job that defined in conf.xml for create copy of *.dbx every 2 minute, copy only collection.dbx.

Just to clarify, are you referring to this job?


Joe

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: databackup issue

Dannes Wessels-3
In reply to this post by محمد جواد حسنی
Hi,

On 18 Mar 2017, at 13:28 , ⁨محمد جواد حسنی⁩ <⁨[hidden email]⁩> wrote:

The job that defined in conf.xml for create copy of *.dbx every 2 minute, copy only collection.dbx.

sorry I have *no* idea what you are talking about. Please write your issue a bit longer as in:

- what did you do
- what did you see
- what did you expect
- why do you think it is wrong
- provider a step my step detailed description what you did.

please help us to help you, otherwise there is a real chance that you’ll get no response. we should not ‘shop’ for details, you really should provide it yourself.


thnx

D.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: databackup issue

محمد جواد حسنی
oh, yes
I uncommented trigger in conf.xml to create data backup every 2 minute.


<job type="system" name="databackup" 
            class="org.exist.storage.DataBackup" period="120000">
            <parameter name="output-dir" value="backup" />
        </job>

The backup file was created. I extracted it. There are only collection.dbx in them. Indeed, i expected all dbx files in zip file.

I removed all dbx file in data directory and paste collection.dbx in them then start database. The database was not properly started.

Thanks.



On Mon, Mar 20, 2017 at 1:16 AM Dannes Wessels <[hidden email]> wrote:
Hi,


On 18 Mar 2017, at 13:28 , ⁨محمد جواد حسنی⁩ <⁨[hidden email]⁩> wrote:

The job that defined in conf.xml for create copy of *.dbx every 2 minute, copy only collection.dbx.

sorry I have *no* idea what you are talking about. Please write your issue a bit longer as in:

- what did you do
- what did you see
- what did you expect
- why do you think it is wrong
- provider a step my step detailed description what you did.

please help us to help you, otherwise there is a real chance that you’ll get no response. we should not ‘shop’ for details, you really should provide it yourself.


thnx

D.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: databackup issue

Adam Retter
> I uncommented trigger in conf.xml to create data backup every 2 minute.
>
>
> <job type="system" name="databackup"
>             class="org.exist.storage.DataBackup" period="120000">
>             <parameter name="output-dir" value="backup" />
>         </job>
>
> The backup file was created. I extracted it. There are only collection.dbx
> in them. Indeed, i expected all dbx files in zip file.


> I removed all dbx file in data directory and paste collection.dbx in them
> then start database. The database was not properly started.

Indeed, you need much more than collections.dbx. I was able to
reproduce your issue, it seems like a regression I likely introduced
before eXist 3.0 was released where I was tidying up InputStream
management. I have created a PR which fixes this here -
https://github.com/eXist-db/exist/pull/1383


--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: databackup issue

محمد جواد حسنی
Hi Joe,
Of course, I did it.


On Sun, Mar 26, 2017 at 9:30 PM Adam Retter <[hidden email]> wrote:
> I uncommented trigger in conf.xml to create data backup every 2 minute.
>
>
> <job type="system" name="databackup"
>             class="org.exist.storage.DataBackup" period="120000">
>             <parameter name="output-dir" value="backup" />
>         </job>
>
> The backup file was created. I extracted it. There are only collection.dbx
> in them. Indeed, i expected all dbx files in zip file.


> I removed all dbx file in data directory and paste collection.dbx in them
> then start database. The database was not properly started.

Indeed, you need much more than collections.dbx. I was able to
reproduce your issue, it seems like a regression I likely introduced
before eXist 3.0 was released where I was tidying up InputStream
management. I have created a PR which fixes this here -
https://github.com/eXist-db/exist/pull/1383


--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: databackup issue

محمد جواد حسنی
In reply to this post by Adam Retter
Thanks Adam.

On Sun, Mar 26, 2017 at 9:30 PM Adam Retter <[hidden email]> wrote:
> I uncommented trigger in conf.xml to create data backup every 2 minute.
>
>
> <job type="system" name="databackup"
>             class="org.exist.storage.DataBackup" period="120000">
>             <parameter name="output-dir" value="backup" />
>         </job>
>
> The backup file was created. I extracted it. There are only collection.dbx
> in them. Indeed, i expected all dbx files in zip file.


> I removed all dbx file in data directory and paste collection.dbx in them
> then start database. The database was not properly started.

Indeed, you need much more than collections.dbx. I was able to
reproduce your issue, it seems like a regression I likely introduced
before eXist 3.0 was released where I was tidying up InputStream
management. I have created a PR which fixes this here -
https://github.com/eXist-db/exist/pull/1383


--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...