Copy data between databases

Copy any kind of data between databases

Description

A general process which allows to copy any kind of data from one database to another. It copies any data type handled by both (input and output) databases, including directory data such as Subject or Center, which will be copied recursively.

Data can also be copied into the input database under a new name, for instance copy an existing subject to a new one with a different name.

The process relies on database organization, so it will appropriately rename data when needed to follow the right patterns. It can also operate between databases which do not follow the same ontology organization.

There are a few restrictions, though:

Parameters

data_type: Choice ( input )
input_data: Any Type ( input )
output_database: Choice ( input )
output_data: Any Type ( output )

Technical information

Toolbox : Data Management

User level : 0

Identifier : copydata

File name : brainvisa/toolboxes/data management/processes/copydata.py

Supported file formats :

input_data :
gz compressed VIDA image, Aims bundles, Aims scalar features, Aperio svs, BMP image, BrainVISA session event, Bucket, CSV file, Commissure coordinates, DEF Label Translation, DICOM image, Database Cache file, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, FreesurferParcellation, GIF image, GIFTI file, GIS image, Graph and data, Gyri Model, HTML, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, Hierarchy, Histo Analysis, Histogram, JPEG image, JSON file, Label Translation, Leica scn, MESH mesh, MINC image, MINC transformation matrix, MNI OBJ mesh, Matlab file, Matlab script, Minf, Mrtrix tracts, NIFTI-1 image, PBM image, PGM image, PLY mesh, PNG image, PPM image, PS file, Process execution event, Python Script, Quality Check Report, Referential, SPM image, SQLite Database File, Sakura svslide, Sigraph Learner, Sparse Matrix, TIFF image, TIFF(.tif) image, TRI mesh, Template model, Template model domain, Text Data Table, Text file, Texture, Trackvis tracts, Transformation matrix, VIDA image, Ventana bif, XBM image, XML, XPM image, Z compressed ECAT i image, Z compressed ECAT v image, Z compressed GIFTI file, Z compressed GIS image, Z compressed MESH mesh, Z compressed MNI OBJ mesh, Z compressed PLY mesh, Z compressed SPM image, Z compressed TRI mesh, Z compressed Texture, Z compressed VIDA image, Zeiss czi, bz2 Matlab file, gz Matlab file, gz compressed ECAT i image, gz compressed ECAT v image, gz compressed GIFTI file, gz compressed GIS image, gz compressed MESH mesh, gz compressed MINC image, gz compressed MNI OBJ mesh, gz compressed NIFTI-1 image, gz compressed PLY mesh, gz compressed PS file, gz compressed SPM image, gz compressed TRI mesh, gz compressed Texture, gz compressed VIDA image, siRelax Fold Energy
output_data :
gz compressed VIDA image, Aims bundles, Aims scalar features, Aperio svs, BMP image, BrainVISA session event, Bucket, CSV file, Commissure coordinates, DEF Label Translation, DICOM image, Database Cache file, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, FreesurferParcellation, GIF image, GIFTI file, GIS image, Graph and data, Gyri Model, HTML, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, Hierarchy, Histo Analysis, Histogram, JPEG image, JSON file, Label Translation, Leica scn, MESH mesh, MINC image, MINC transformation matrix, MNI OBJ mesh, Matlab file, Matlab script, Minf, Mrtrix tracts, NIFTI-1 image, PBM image, PGM image, PLY mesh, PNG image, PPM image, PS file, Process execution event, Python Script, Quality Check Report, Referential, SPM image, SQLite Database File, Sakura svslide, Sigraph Learner, Sparse Matrix, TIFF image, TIFF(.tif) image, TRI mesh, Template model, Template model domain, Text Data Table, Text file, Texture, Trackvis tracts, Transformation matrix, VIDA image, Ventana bif, XBM image, XML, XPM image, Z compressed ECAT i image, Z compressed ECAT v image, Z compressed GIFTI file, Z compressed GIS image, Z compressed MESH mesh, Z compressed MNI OBJ mesh, Z compressed PLY mesh, Z compressed SPM image, Z compressed TRI mesh, Z compressed Texture, Z compressed VIDA image, Zeiss czi, bz2 Matlab file, gz Matlab file, gz compressed ECAT i image, gz compressed ECAT v image, gz compressed GIFTI file, gz compressed GIS image, gz compressed MESH mesh, gz compressed MINC image, gz compressed MNI OBJ mesh, gz compressed NIFTI-1 image, gz compressed PLY mesh, gz compressed PS file, gz compressed SPM image, gz compressed TRI mesh, gz compressed Texture, gz compressed VIDA image, siRelax Fold Energy