The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

we_db_export - export a complete WE_Framework database with content files

SYNOPSIS

    we_db_export -class we_db_class -rootdir we_data_directory
                 [-content] [-db] [-destdir directory] [-destfile file]
                 [-q] [-versioning]

DESCRIPTION

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.

-class we_db_class

Use the named WE::DB class, e.g. WE::Singlesite or most probably WE_projectname::Root.

-rootdir we_data_directory

The path to the we_data directory.

-content

Export the content files only.

-db

Export the db files only.

-destdir directory

Put the export files into the named directory.

-destfile file

Create an archive of the export files with the specified file name.

-q

Be quiet.

-versioning

Use RCS versioning for the Data::Dumper files. Only possible together with -destdir option.

SEE ALSO

WE::Export, we_db_import.