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]
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.
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 probablyWE_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.