Пример #1
0
    def add_arguments(self, parser):

        # Named (optional) arguments
        helpers.option(parser)

        helpers.geoserver_option_list(parser)

        parser.add_argument(
            '-i',
            '--ignore-errors',
            action='store_true',
            dest='ignore_errors',
            default=False,
            help='Stop after any errors are encountered.')

        parser.add_argument(
            '-f',
            '--force',
            action='store_true',
            dest='force_exec',
            default=False,
            help='Forces the execution without asking for confirmation.')

        parser.add_argument(
            '--skip-geoserver',
            action='store_true',
            default=False,
            help='Skips geoserver backup')

        parser.add_argument(
            '--backup-dir',
            dest='backup_dir',
            help='Destination folder where to store the backup archive. It must be writable.')
Пример #2
0
    def add_arguments(self, parser):

        # Named (optional) arguments
        helpers.option(parser)

        parser.add_argument('-i',
                            '--ignore-errors',
                            action='store_true',
                            dest='ignore_errors',
                            default=False,
                            help='Stop after any errors are encountered.')

        parser.add_argument(
            '--backup-file',
            dest='backup_file',
            help='Backup archive containing GeoNode data to restore.')

        parser.add_argument('--owner',
                            dest='owner',
                            help='New owner of the GeoNode Layers/Maps.')
Пример #3
0
    def add_arguments(self, parser):

        # Named (optional) arguments
        helpers.option(parser)

        helpers.geoserver_option_list(parser)

        parser.add_argument(
            '-i',
            '--ignore-errors',
            action='store_true',
            dest='ignore_errors',
            default=False,
            help='Stop after any errors are encountered.')

        parser.add_argument(
            '-f',
            '--force',
            action='store_true',
            dest='force_exec',
            default=False,
            help='Forces the execution without asking for confirmation.')

        parser.add_argument(
            '--skip-geoserver',
            action='store_true',
            default=False,
            help='Skips geoserver backup')

        parser.add_argument(
            '--backup-file',
            dest='backup_file',
            default=None,
            help='Backup archive containing GeoNode data to restore.')

        parser.add_argument(
            '--backup-dir',
            dest='backup_dir',
            default=None,
            help='Backup directory containing GeoNode data to restore.')
Пример #4
0
    def add_arguments(self, parser):

        # Named (optional) arguments
        helpers.option(parser)

        helpers.geoserver_option_list(parser)

        parser.add_argument(
            '-i',
            '--ignore-errors',
            action='store_true',
            dest='ignore_errors',
            default=False,
            help='Stop after any errors are encountered.')

        parser.add_argument(
            '-f',
            '--force',
            action='store_true',
            dest='force_exec',
            default=False,
            help='Forces the execution without asking for confirmation.')

        parser.add_argument(
            '--skip-geoserver',
            action='store_true',
            default=False,
            help='Skips geoserver backup')

        parser.add_argument(
            '--backup-file',
            dest='backup_file',
            default=None,
            help='Backup archive containing GeoNode data to restore.')

        parser.add_argument(
            '--backup-dir',
            dest='backup_dir',
            default=None,
            help='Backup directory containing GeoNode data to restore.')
Пример #5
0
    def add_arguments(self, parser):

        # Named (optional) arguments
        helpers.option(parser)

        parser.add_argument(
            '-i',
            '--ignore-errors',
            action='store_true',
            dest='ignore_errors',
            default=False,
            help='Stop after any errors are encountered.')

        parser.add_argument(
            '--backup-file',
            dest='backup_file',
            help='Backup archive containing GeoNode data to restore.')

        parser.add_argument(
            '--owner',
            dest='owner',
            help='New owner of the GeoNode Layers/Maps.')