source: sipes/modules_contrib/data_export_import/README.txt @ c43ea01

stableversion-3.0
Last change on this file since c43ea01 was 177a560, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se agrego el directorio de modulos contribuidos de drupal

  • Propiedad mode establecida a 100755
File size: 4.2 KB
Línea 
1
2CONTENTS OF THIS FILE
3---------------------
4
5 * Overview
6 * Installation
7 * Usage
8
9OVERVIEW
10--------
11
12The purpose of this module is to provide a way to move data between
13Drupal instances.
14
15This is not easy to achieve as Drupal stores configuration and data in
16the same database. Also, Drupal can be extended and customised which
17makes creating a standard data export/import module effectively
18impossible.
19
20This module will provide a framework for exporting datasets as files
21and also for importing these dataset files. That way if the module is
22installed on two separate Drupal instances it will be possible to
23export data as a dataset file from one instance and import it into a
24different Drupal instance.
25
26This module will be customisable and extendable by adding new profiles
27to take into account different Drupal builds. This means that if a
28Drupal instance has a very specialised setup it will be possible to
29create a new dataset profile to export/import data.
30
31The module currently includes two initial dataset profiles which can
32be used on standard Drupal instances. These enable the following
33datasets to be exported/imported.
34
35 * Taxonomy vocabulary terms
36 * Pages
37
38When exporting all data should be exported - when importing the data
39should be used in a way to make sure that the receiving Drupal
40instance ends up with matching data. Careful checks will be needed to
41ensure ID's match, that the data remains consistent.
42
43Effectively this module will be similar to the backup_migrate module
44except that the backup_migrate profiles will be extended. Currently
45the backup_migrate profiles only allow for the choice of which tables
46will be exported/imported and a few other settings. This module will
47use the Druapl API to read data and produce rich data files which will
48contain all data needed to reproduce a particular dataset. It will
49also use the Drupal API to recreate data. It may also be necessary to
50use SQL directly to export/import data.
51
52The primary usage for this module is envisioned to be exporting
53datasets from a live Drupal site and importing this live data into a
54new updated version of the site which developers have been working
55on - i.e. a beta version. Once the import has completed then the newly
56developed site can become the new live site. This has the advantage of
57being able to fall back to the original live site if there is an
58unforseen problem between the new version of the site and the live
59data.
60
61It will be necessary to carry out proper checks when importing
62datasets. E.g.. when node data is being imported it will be necessary
63to check that the receiving site has the correct content type and
64fields etc. It may be necessary to use the UUID module to provide
65unique ID's.
66
67INSTALLATION
68------------
69
70 * Put the module in your Drupal modules directory and enable it in
71   admin/build/modules.
72 * Go to admin/user/permissions and grant permission to any roles that
73   need to be able to export or import datasets.
74
75USAGE
76-----
77
78 * Configure and use the module at admin/content/data_export_import.
79 * The dataset files are exported to and imported from
80   {files}/data_export_import.  Various methods can be used to manage
81   the files and to move the files between Drupal instances.
82   Although not tested the module at:
83   http://drupal.org/project/webfm looks suitable for file management.
84 * The user which is running the module needs to have permissions to
85   be able to delete nodes when importing pages.  It is expected that
86   data exporting and importing will be carried out by the admin user
87   which has correct permissions.
88 * Currently the pages import has been created to import standard
89   simple pages.  It can handle a simple added text type CCK field -
90   but any other file type fields are not being handled yet.
91 * If you have taxonomy terms associated with pages this has not been
92   coded for yet.  It may work OK but you might be better to import
93   the taxonomy terms separately first and then import the pages.
94
95NOTES
96-----
97
98 * This module is not compatible with any site which has localisation
99   enabled. Checks have been put in place to prevent data being output
100   if localisation has been installed and enabled using the i18n
101   module.
102 * If this is a requirement then please get in touch with the
103   maintainer.
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.