Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for Replicate (0.1 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/batch-jobs/README.md

    E24HH4nNMcgY5taynaPfxu  replicate       minioadmin      1 minute ago
    ```
    
    ### List all 'replicate' batch jobs
    ```
    mc batch list alias/ --type replicate
    ID                      TYPE            USER            STARTED
    E24HH4nNMcgY5taynaPfxu  replicate       minioadmin      1 minute ago
    ```
    
    ### Real-time 'status' for a batch job
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. 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)
  5. docs/bucket/replication/delete-replication.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after replication: $out"
    	exit 1
    fi
    
    # Test listing of non replicated permanent deletes
    
    set -x
    
    ./mc mb myminio1/foobucket/ myminio2/foobucket/ --with-versioning
    ./mc replicate add myminio1/foobucket --remote-bucket http://minioadmin:minioadmin@localhost:9002/foobucket/ --priority 1
    ./mc cp README.md myminio1/foobucket/dir/file
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_replication.sh

    mc admin policy attach dest replpolicy --user=repluser
    
    # configure replication config to remote bucket at http://localhost:9000
    mc replicate add source/bucket --priority 1 --remote-bucket http://repluser:repluser123@localhost:9000/bucket \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils_test.go

    				t.Errorf("Test%d (%s): Invalid  target replicate decision: got %+v, want %+v", i+1, test.name, tdsc, expDsc)
    			}
    		}
    	}
    }
    
    var replicationStateTest = []struct {
    	name      string
    	rs        ReplicationState
    	arn       string
    	expStatus replication.StatusType
    }{
    	{ // 1. no replication status header
    		name:      "no replicated targets",
    		rs:        ReplicationState{},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. docs/site-replication/README.md

    The following Bucket features will **not be replicated**, is designed to differ between sites:
    
    - Bucket notification configuration
    - Bucket lifecycle (ILM) configuration
    
    ## Pre-requisites
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 21:30:28 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. internal/bucket/replication/replication.go

    func (c Config) GetDestination() Destination {
    	if len(c.Rules) > 0 {
    		return c.Rules[0].Destination
    	}
    	return Destination{}
    }
    
    // Replicate returns true if the object should be replicated.
    func (c Config) Replicate(obj ObjectOpts) bool {
    	for _, rule := range c.FilterActionableRules(obj) {
    		if rule.Status == Disabled {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. cmd/metrics-v3-bucket-replication.go

    	bucketReplSentBytesMD = NewCounterMD(bucketReplSentBytes,
    		"Total number of bytes replicated to the target",
    		bucketL)
    	bucketReplSentCountMD = NewCounterMD(bucketReplSentCount,
    		"Total number of objects replicated to the target",
    		bucketL)
    	bucketReplTotalFailedBytesMD = NewCounterMD(bucketReplTotalFailedBytes,
    		"Total number of bytes failed at least once to replicate since server start",
    		bucketL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top