Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for replicate (0.06 sec)

  1. cmd/batch-replicate.go

    import (
    	"time"
    
    	miniogo "github.com/minio/minio-go/v7"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/pkg/v3/xtime"
    )
    
    //go:generate msgp -file $GOFILE
    
    // replicate:
    //   # source of the objects to be replicated
    //   source:
    //     type: "minio"
    //     bucket: "testbucket"
    //     prefix: "spark/"
    //
    //   # optional flags based filtering criteria
    //   # for source objects
    //   flags:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/batch-replicate_test.go

    	if err != nil {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	multiPrefixReplicateYaml := `
    replicate:
      apiVersion: v1
      # source of the objects to be replicated
      source:
        type: minio # valid values are "s3" or "minio"
        bucket: mytest
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. docs/bucket/replication/README.md

    The replication configuration in use on a bucket can be viewed using the `mc replicate export alias/bucket` command.
    
    To disable replica metadata modification syncing, use `mc replicate edit` with the --replicate flag.
    
    ```
    mc replicate edit alias/bucket --id xyz.id --replicate "delete,delete-marker"
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  4. docs/bucket/replication/setup_3site_replication.sh

    	--replicate "existing-objects,delete,delete-marker,replica-metadata-sync"
    sleep 1
    
    echo "adding replication rule for olockbucket a -> c : ${remote_arn}"
    ./mc replicate add sitea/olockbucket/ \
    	--remote-bucket http://minio:minio123@127.0.0.1:9006/olockbucket \
    	--replicate "existing-objects,delete,delete-marker,replica-metadata-sync" --priority 2
    sleep 1
    
    echo "adding replication rule for olockbucket c -> a : ${remote_arn}"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    		return
    	}
    
    	// Fill with default values
    	if job.Replicate != nil {
    		if job.Replicate.Source.Snowball.Disable == nil {
    			job.Replicate.Source.Snowball.Disable = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.Batch == nil {
    			job.Replicate.Source.Snowball.Batch = ptr(100)
    		}
    		if job.Replicate.Source.Snowball.InMemory == nil {
    			job.Replicate.Source.Snowball.InMemory = ptr(true)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ./mc ilm rule list sitea/bucket
    
    ## Check ilm expiry flag
    ./mc admin replicate info sitea --json
    flag1=$(./mc admin replicate info sitea --json | jq '.sites[0]."replicate-ilm-expiry"')
    flag2=$(./mc admin replicate info sitea --json | jq '.sites[1]."replicate-ilm-expiry"')
    if [ "$flag1" != "true" ]; then
    	echo "BUG: Expected ILM expiry replication not set for 'sitea'"
    	exit 1
    fi
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    # force a resync after removing all site replication
    ./mc admin replicate rm --all --force minio1
    ./mc rb minio2 --force --dangerous
    ./mc admin replicate add minio1 minio2
    ./mc admin replicate resync start minio1 minio2
    sleep 30
    
    ./mc ls -r --versions minio1/newbucket >/tmp/minio1.txt
    ./mc ls -r --versions minio2/newbucket >/tmp/minio2.txt
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/bucket-replication-utils.go

    		}
    	}
    	return
    }
    
    type replicateTargetDecision struct {
    	Replicate   bool   // Replicate to this target
    	Synchronous bool   // Synchronous replication configured.
    	Arn         string // ARN of replication target
    	ID          string
    }
    
    func (t *replicateTargetDecision) String() string {
    	return fmt.Sprintf("%t;%t;%s;%s", t.Replicate, t.Synchronous, t.Arn, t.ID)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-minio-idp.sh

    if [ $? -ne 0 ]; then
    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    # force a resync after removing all site replication
    ./mc admin replicate rm --all --force minio1
    ./mc rb minio2 --force --dangerous
    ./mc admin replicate add minio1 minio2
    ./mc admin replicate resync start minio1 minio2
    sleep 30
    
    ./mc ls -r --versions minio1/newbucket >/tmp/minio1.txt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. cmd/batch-handlers_gen.go

    				err = msgp.WrapError(err, "Started")
    				return
    			}
    		case "Replicate":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Replicate")
    					return
    				}
    				z.Replicate = nil
    			} else {
    				if z.Replicate == nil {
    					z.Replicate = new(BatchJobReplicateV1)
    				}
    				err = z.Replicate.DecodeMsg(dc)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top