---
name: "dpm-replicate"
section: "1"
platform: "linux"
package: "dpm"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/dpm-replicate"
---

# dpm-replicate(1)

replicate a file given the SURL or the PFN

## NAME

dpm-replicate - replicate a file given the SURL or the PFN

## SYNOPSIS

**dpm-replicate** \[ **--f\_type** *file\_type* \] \[ **--space\_token** *s\_token* \] \[ **--lifetime** *file\_lifetime* \] \[ **--help** \] file

## DESCRIPTION

**dpm-replicate** replicates a file given the SURL or the PFN.

- *file\_type*

  indicates the type of file desired for the new replica. It can be **V** (for Volatile), **D** (for Durable) or **P** (for Permanent).

- *file\_lifetime*

  specifies the requested file lifetime of the new replica relative to the current time. It can be "Inf" (for infinite) or expressed in years (suffix 'y'), months (suffix 'm'), days (suffix 'd'), hours (suffix 'h') or seconds (no suffix). If specified the **file\_type** and **file\_lifetime** must be compatible.

- *s\_token*

  specifies that the new replica should be allocated within a space identified by the given token.

## EXAMPLE

```
	dpm-replicate --f_type P /dpm/cern.ch/home/dteam/afile

	dpm-replicate --f_type V lxb1921.cern.ch:/storage/dteam/2005-12-14/afile.38215.0
```

## EXIT STATUS

This program returns 0 if the operation was successful or \>0 if the operation failed.

## SEE ALSO

**dpm(1)**, **[dpm\_get(3)](/dpm_get/3.md)**, **[dpm\_put(3)](/dpm_put/3.md)**
