Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for restore (0.19 sec)

  1. cmd/bucket-lifecycle_test.go

    		restoreStatus restoreObjStatus
    		ondisk        bool
    	}{
    		{
    			// restore in progress
    			restoreStatus: ongoingRestoreObj(),
    			ondisk:        false,
    		},
    		{
    			// restore completed but expired
    			restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)),
    			ondisk:        false,
    		},
    		{
    			// restore completed
    			restoreStatus: completedRestoreObj(time.Now().Add(time.Hour)),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    // Otherwise returns zero value of time.Time and false.
    func (r restoreObjStatus) Expiry() (time.Time, bool) {
    	if r.Ongoing() {
    		return time.Time{}, false
    	}
    	return r.expiry, true
    }
    
    // Ongoing returns true if restore-object is ongoing.
    func (r restoreObjStatus) Ongoing() bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables.go

    	// CLI: -A ISTIO_OUTPUT -m connmark --mark 0x111/0xfff -j CONNMARK --restore-mark --nfmask 0xffffffff --ctmask 0xffffffff
    	//
    	// DESC: Propagate/restore connmark (if we had one) for outbound
    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, ChainInpodOutput, iptablesconstants.MANGLE,
    		"-m", "connmark",
    		"--mark", inpodTproxyMark,
    		"-j", "CONNMARK",
    		"--restore-mark",
    		"--nfmask", fmt.Sprintf("0x%x", InpodRestoreMask),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  4. cmd/veeam-sos-api.go

    //
    //   - <KbBlockSize>
    //     Veeam Block Size for backup and restore processing before compression is applied. The higher the block size, the more
    //     backup space is needed for incremental backups. Larger block sizes also mean less performance for random read restore
    //     methods like Instant Restore, File Level Recovery, and Database/Application restores. Veeam recommends that vendors
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  5. internal/bucket/lifecycle/lifecycle.go

    	}
    
    	return Event{
    		Action: NoneAction,
    	}
    }
    
    // ExpectedExpiryTime calculates the expiry, transition or restore date/time based on a object modtime.
    // The expected transition or restore time is always a midnight time following the object
    // modification time plus the number of transition/restore days.
    //
    //	e.g. If the object modtime is `Thu May 21 13:42:50 GMT 2020` and the object should
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. internal/http/headers.go

    	AmzTagCount      = "x-amz-tagging-count"
    	AmzTagDirective  = "X-Amz-Tagging-Directive"
    
    	// S3 transition restore
    	AmzRestore            = "x-amz-restore"
    	AmzRestoreExpiryDays  = "X-Amz-Restore-Expiry-Days"
    	AmzRestoreRequestDate = "X-Amz-Restore-Request-Date"
    	AmzRestoreOutputPath  = "x-amz-restore-output-path"
    
    	// S3 extensions
    	AmzCopySourceIfModifiedSince   = "x-amz-copy-source-if-modified-since"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  7. cmd/api-headers.go

    	if objInfo.ReplicationStatus.String() != "" {
    		w.Header()[xhttp.AmzBucketReplicationStatus] = []string{objInfo.ReplicationStatus.String()}
    	}
    
    	if objInfo.IsRemote() {
    		// Check if object is being restored. For more information on x-amz-restore header see
    		// https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseSyntax
    		w.Header()[xhttp.AmzStorageClass] = []string{objInfo.TransitionedObject.Tier}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  8. internal/logger/console.go

    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    			if !tagPrinted {
    				c.Print(logBanner)
    				tagPrinted = true
    			} else {
    				c.Print(emptyBanner)
    			}
    			// Restore the text color of the error message
    			ansiRestoreAttributes()
    			ansiMoveRight(bannerWidth)
    			// Continue  error message printing
    			c.Println(line)
    			break
    		}
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. cni/pkg/log/uds_test.go

    	log.Error("error log")
    	// This will error because stdout cannot sync, but the UDS part should sync
    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = log.Sync()
    
    	// Restore os stdout.
    	os.Stdout = stdout
    	assert.NoError(t, log.Configure(loggingOptions))
    
    	assert.NoError(t, w.Close())
    	out, err := io.ReadAll(r)
    	assert.NoError(t, err)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_test.go

    		},
    		{ // transitioned object version with an ongoing restore-object request.
    			versionID:        mustGetUUID(),
    			dataDir:          d2,
    			shares:           3,
    			transitionStatus: lifecycle.TransitionComplete,
    			restoreObjStatus: ongoingRestoreObj().String(),
    		},
    		// The following versions are on-disk.
    		{ // restored object version expiring 10 hours from now.
    			versionID:        mustGetUUID(),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top