dpm-replicate1
Replicate a file given the surl or the pfn
Usage
dpm-replicate [--f_type
file_type]
[--space_token
s_token]
[--lifetime
file_lifetime]
[--help]
file
Overview
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_typeandfile_lifetimemust be compatible.
- s_token
-
specifies that the new replica should be allocated within a space identified by the given token.
Examples
dpm-replicate --f_type P /dpm/cern.ch/home/dteam/afiledpm-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.