Backup Views ============ Backup named or all views of a project in the local file system. If the backup directory does not exist, it will be created. The views are stored as JSON files. Permissions that may have been setup are not backed up. .. code-block:: bash opal backup-view [OPTIONS] [XTRAS] Options ------- ==================================================== ===================================== Option Description ==================================================== ===================================== ``--project PROJECT, -pr PROJECT`` Source project name ``--views VIEWS [VIEWS ...], -vw VIEWS [VIEWS ...]`` List of view names to be backed up (default is all) ``--output OUTPUT, -out OUTPUT`` Output directory name (default is current directory) ``--force, -f`` Skip confirmation when overwriting the backup file. ==================================================== ===================================== .. include:: ../common-credentials.rst .. include:: ../common-extras.rst Example ------- Backup a specific view from a project into file ``CNSIM.json``: .. code-block:: bash opal backup-view --opal https://opal-demo.obiba.org --user administrator --password password --project datashield --views CNSIM