Hi Michael,
I can see three possibilities:
1) use AA -> Export and AA -> Import
It generates some kind of XML output, which could optionally include
views, constants and also data. In latest svn version it is also
possible to encode all the data to UTF-8.
2) export the data to CSV using your own view and then import the data
from CSV.
3) Just copy the database and possibly delete all unwanted slices.
There will be another option in future, which will be part of AA
Central. Idea of AA Central is to maintain more than one AA database
form one admin interface. In that model you will be able to separate the
users to distinct databases (but you can still use the same AA scripts).
>From the Central you will be able
- to copy a slice form one database to another
(that means also possibility to exchange slice templates from
remote server)
- synchronize the slice structure
- update the structure of all registered AA databases
- ...
Thanks to Colnodo we already implemented the "synchronize the slice
structure".
Honza
Michael Moritz píše v Út 05. 06. 2007 v 13:22 +0100:
> Hi
>
> this is a very general question but it could be sort of useful I think. What
> are currently the options for dumping the content of a slice and restoring
> it? Is that possible (auto_increment etc). I can see the export function in
> the AA interface but no import.
>
> Thanks,
>
> mimo
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Apc-aa-coders mailing list
> Apc...@li...
> https://lists.sourceforge.net/lists/listinfo/apc-aa-coders
>
--
|