Class ExportSyncBundle

  • All Implemented Interfaces:
    AdminCommand

    @ExecuteOn(DAS)
    @Service(name="export-sync-bundle")
    @PerLookup
    public class ExportSyncBundle
    extends Object
    implements AdminCommand
    Usage:
    export-sync-bundle --target cluster_std-alone-instance [--retrieve ] [file_name]

    --target Cluster or stand alone server instance (required)
    --retrieve When true, the zip file is downloaded under the specified file_name in local machine When false, the zip file is exported under the the specified file_name on DAS Default value is false. (optional)

    file_name Specifies the file name and location of the synchronized content.
    If file_name is not specified and --retrieve=false, the default value is install-root/domains/domain_name/sync/<target>-sync-bundle.zip. If file_name is not specified and --retrieve=true, the default value is <target>-sync-bundle.zip. (optional)
    Author:
    Byron Nevins, Jennifer Chou
    • Constructor Detail

      • ExportSyncBundle

        public ExportSyncBundle()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Description copied from interface: AdminCommand
        Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information