[xwiki-devs] Export/Import XAR Admin tool
Hello, I used admin tool to export the whole wiki from XWIKI 4.4 and i did the import in XWIKI 5.4.5 The result wasn't perfect i have some link which still refer to the old wiki, Please, another tools to try ? should try some other script out there? Thanks in advance :)
Why do you feel the need to export and reimport the whole wiki ? The standard way of upgrading XWiki and to let it migrate the database so unless you plan to move to an entirely different database (like moving from hsqldb to MySQL) there is no need for this painful export/import process. On Thu, May 29, 2014 at 7:33 PM, walid yaich <[email protected]> wrote:
Hello,
I used admin tool to export the whole wiki from XWIKI 4.4 and i did the import in XWIKI 5.4.5
The result wasn't perfect i have some link which still refer to the old wiki,
Please, another tools to try ? should try some other script out there?
Thanks in advance :) _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Thanks, Actually upgrading from 4.4 to 5.4 Will be too long, isnt it? In addition i have a listener on document création to add an xobject to all documents. If i just upgrade version all old documents Will not have this object and so approve révision Will not be applicable to those old document, So please can you explain why export import is painful ? Its not safe to export from a version and import to another version of Xwiki ? Le 29 mai 2014 19:13, "Thomas Mortagne" <[email protected]> a écrit :
Why do you feel the need to export and reimport the whole wiki ? The standard way of upgrading XWiki and to let it migrate the database so unless you plan to move to an entirely different database (like moving from hsqldb to MySQL) there is no need for this painful export/import process.
On Thu, May 29, 2014 at 7:33 PM, walid yaich <[email protected]> wrote:
Hello,
I used admin tool to export the whole wiki from XWIKI 4.4 and i did the import in XWIKI 5.4.5
The result wasn't perfect i have some link which still refer to the old wiki,
Please, another tools to try ? should try some other script out there?
Thanks in advance :) _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 29 May 2014 at 21:45:38, walid yaich ([email protected](mailto:[email protected])) wrote:
Thanks, Actually upgrading from 4.4 to 5.4 Will be too long, isnt it?
Why would it be long?
In addition i have a listener on document création to add an xobject to all documents. If i just upgrade version all old documents Will not have this object and so approve révision Will not be applicable to those old document,
So please can you explain why export import is painful ? Its not safe to export from a version and import to another version of Xwiki ?
You’ll loose some information unnecessarily, please read: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup#HUsingtheXWikiExp... Thanks -Vincent
Le 29 mai 2014 19:13, "Thomas Mortagne" a écrit :
Why do you feel the need to export and reimport the whole wiki ? The standard way of upgrading XWiki and to let it migrate the database so unless you plan to move to an entirely different database (like moving from hsqldb to MySQL) there is no need for this painful export/import process.
On Thu, May 29, 2014 at 7:33 PM, walid yaich wrote:
Hello,
I used admin tool to export the whole wiki from XWIKI 4.4 and i did the import in XWIKI 5.4.5
The result wasn't perfect i have some link which still refer to the old wiki,
Please, another tools to try ? should try some other script out there?
Thanks in advance :) _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 05/29/2014 03:45 PM, walid yaich wrote:
Thanks, Actually upgrading from 4.4 to 5.4 Will be too long, isnt it? In addition i have a listener on document création to add an xobject to all documents. If i just upgrade version all old documents Will not have this object and so approve révision Will not be applicable to those old document,
Relying on the import to add approved revisions is... not optimal. If you want to do this once, then you have two better options: - add a migrator that will run once when upgrading - just write a script that goes through all the documents and adds that object, then run it once -- Sergiu Dumitriu http://purl.org/net/sergiu
Relying on the import to add approved revisions is... not optimal. If you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading - just write a script that goes through all the documents and adds that object, then run it once
Thanks Sergui. Why would it be long? in upgrade docs <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade>, you said : Some additional operations may be required for upgrading and *you must check the release notes <http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/WebHome> for all the versions* from the version you're upgrading from up to the new version you're installing. Maybe i should take the time to upgrade... do you think it's better than taking a fresh version and import all content (it's importing the Main space, that's it) ?? 2014-05-30 2:45 GMT+01:00 Sergiu Dumitriu <[email protected]>:
On 05/29/2014 03:45 PM, walid yaich wrote:
Thanks, Actually upgrading from 4.4 to 5.4 Will be too long, isnt it? In addition i have a listener on document création to add an xobject to all documents. If i just upgrade version all old documents Will not have this object and so approve révision Will not be applicable to those old document,
Relying on the import to add approved revisions is... not optimal. If you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading - just write a script that goes through all the documents and adds that object, then run it once -- Sergiu Dumitriu http://purl.org/net/sergiu _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Fri, May 30, 2014 at 11:50 AM, walid yaich <[email protected]> wrote:
Relying on the import to add approved revisions is... not optimal. If you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading - just write a script that goes through all the documents and adds that object, then run it once
Thanks Sergui.
Why would it be long? in upgrade docs <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade>, you said : Some additional operations may be required for upgrading and *you must check the release notes <http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/WebHome> for all the versions* from the version you're upgrading from up to the new version you're installing.
Maybe i should take the time to upgrade... do you think it's better than taking a fresh version and import all content (it's importing the Main space, that's it) ??
The export/import does not bring you anything. You still export/import old pages and you will have to upgrade them, the difference is that when you do the right way (let XWiki migrate the database) you get a wizard which takes care of doing 3ways merge for you and indicate you where you have conflicts.
2014-05-30 2:45 GMT+01:00 Sergiu Dumitriu <[email protected]>:
On 05/29/2014 03:45 PM, walid yaich wrote:
Thanks, Actually upgrading from 4.4 to 5.4 Will be too long, isnt it? In addition i have a listener on document création to add an xobject to all documents. If i just upgrade version all old documents Will not have this object and so approve révision Will not be applicable to those old document,
Relying on the import to add approved revisions is... not optimal. If you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading - just write a script that goes through all the documents and adds that object, then run it once -- Sergiu Dumitriu http://purl.org/net/sergiu _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Alright, thanks, Have a nice weekend 2014-05-30 11:20 GMT+01:00 Thomas Mortagne <[email protected]>:
On Fri, May 30, 2014 at 11:50 AM, walid yaich <[email protected]> wrote:
Relying on the import to add approved revisions is... not optimal. If you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading - just write a script that goes through all the documents and adds that object, then run it once
Thanks Sergui.
Why would it be long? in upgrade docs <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade>, you said : Some additional operations may be required for upgrading and *you must check the release notes <http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/WebHome> for all the versions* from the version you're upgrading from up to the new version you're installing.
Maybe i should take the time to upgrade... do you think it's better than taking a fresh version and import all content (it's importing the Main space, that's it) ??
The export/import does not bring you anything. You still export/import old pages and you will have to upgrade them, the difference is that when you do the right way (let XWiki migrate the database) you get a wizard which takes care of doing 3ways merge for you and indicate you where you have conflicts.
2014-05-30 2:45 GMT+01:00 Sergiu Dumitriu <[email protected]>:
On 05/29/2014 03:45 PM, walid yaich wrote:
Thanks, Actually upgrading from 4.4 to 5.4 Will be too long, isnt it? In addition i have a listener on document création to add an xobject
to
all
documents. If i just upgrade version all old documents Will not have this object and so approve révision Will not be applicable to those old document,
Relying on the import to add approved revisions is... not optimal. If you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading - just write a script that goes through all the documents and adds that object, then run it once -- Sergiu Dumitriu http://purl.org/net/sergiu _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
Sergiu Dumitriu -
Thomas Mortagne -
vincent@massol.net -
walid yaich