we_db_export - export a complete WE_Framework database with content files
we_db_export -class we_db_class -rootdir we_data_directory [-content] [-db] [-destdir directory] [-destfile file] [-q] [-versioning]
we_db_export is meant to export database and content files from one host to another. This is sometimes necessary because of incompatibilities of the underlying database engines (e.g. different Berkeley DB versions, different DBM drivers --- GDBM vs. DB_File etc.).
Please note that the exporting mechanism may miss some vital files.
If neither -destdir nor -destfile are specified, then the exported files will be archived in a .tar.gz file in the /tmp directory. The exact filename will be printed during the export process.
-destdir
-destfile
Use the named WE::DB class, e.g. WE::Singlesite or most probably WE_projectname::Root.
WE::DB
WE::Singlesite
WE_projectname::Root
The path to the we_data directory.
Export the content files only.
Export the db files only.
Put the export files into the named directory.
Create an archive of the export files with the specified file name.
Be quiet.
Use RCS versioning for the Data::Dumper files. Only possible together with -destdir option.
WE::Export, we_db_import.
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.