github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/docs/content/tardigrade.md (about)

     1  ---
     2  title: "Tardigrade"
     3  description: "Rclone docs for Tardigrade"
     4  ---
     5  
     6  {{< icon "fas fa-dove" >}} Tardigrade
     7  -----------------------------------------
     8  
     9  [Tardigrade](https://tardigrade.io) is an encrypted, secure, and 
    10  cost-effective object storage service that enables you to store, back up, and 
    11  archive large amounts of data in a decentralized manner.
    12  
    13  ## Setup
    14  
    15  To make a new Tardigrade configuration you need one of the following:
    16  * Access Grant that someone else shared with you.
    17  * [API Key](https://documentation.tardigrade.io/getting-started/uploading-your-first-object/create-an-api-key)
    18  of a Tardigrade project you are a member of.
    19  
    20  Here is an example of how to make a remote called `remote`.  First run:
    21  
    22       rclone config
    23  
    24  This will guide you through an interactive setup process:
    25  
    26  ### Setup with access grant
    27  
    28  ```
    29  No remotes found - make a new one
    30  n) New remote
    31  s) Set configuration password
    32  q) Quit config
    33  n/s/q> n
    34  name> remote
    35  Type of storage to configure.
    36  Enter a string value. Press Enter for the default ("").
    37  Choose a number from below, or type in your own value
    38  [snip]
    39  XX / Tardigrade Decentralized Cloud Storage
    40     \ "tardigrade"
    41  [snip]
    42  Storage> tardigrade
    43  ** See help for tardigrade backend at: https://rclone.org/tardigrade/ **
    44  
    45  Choose an authentication method.
    46  Enter a string value. Press Enter for the default ("existing").
    47  Choose a number from below, or type in your own value
    48   1 / Use an existing access grant.
    49     \ "existing"
    50   2 / Create a new access grant from satellite address, API key, and passphrase.
    51     \ "new"
    52  provider> existing
    53  Access Grant.
    54  Enter a string value. Press Enter for the default ("").
    55  access_grant> your-access-grant-received-by-someone-else
    56  Remote config
    57  --------------------
    58  [remote]
    59  type = tardigrade
    60  access_grant = your-access-grant-received-by-someone-else
    61  --------------------
    62  y) Yes this is OK (default)
    63  e) Edit this remote
    64  d) Delete this remote
    65  y/e/d> y
    66  ```
    67  
    68  ### Setup with API key and passhprase
    69  
    70  ```
    71  No remotes found - make a new one
    72  n) New remote
    73  s) Set configuration password
    74  q) Quit config
    75  n/s/q> n
    76  name> remote
    77  Type of storage to configure.
    78  Enter a string value. Press Enter for the default ("").
    79  Choose a number from below, or type in your own value
    80  [snip]
    81  XX / Tardigrade Decentralized Cloud Storage
    82     \ "tardigrade"
    83  [snip]
    84  Storage> tardigrade
    85  ** See help for tardigrade backend at: https://rclone.org/tardigrade/ **
    86  
    87  Choose an authentication method.
    88  Enter a string value. Press Enter for the default ("existing").
    89  Choose a number from below, or type in your own value
    90   1 / Use an existing access grant.
    91     \ "existing"
    92   2 / Create a new access grant from satellite address, API key, and passphrase.
    93     \ "new"
    94  provider> new
    95  Satellite Address. Custom satellite address should match the format: `<nodeid>@<address>:<port>`.
    96  Enter a string value. Press Enter for the default ("us-central-1.tardigrade.io").
    97  Choose a number from below, or type in your own value
    98   1 / US Central 1
    99     \ "us-central-1.tardigrade.io"
   100   2 / Europe West 1
   101     \ "europe-west-1.tardigrade.io"
   102   3 / Asia East 1
   103     \ "asia-east-1.tardigrade.io"
   104  satellite_address> 1
   105  API Key.
   106  Enter a string value. Press Enter for the default ("").
   107  api_key> your-api-key-for-your-tardigrade-project
   108  Encryption Passphrase. To access existing objects enter passphrase used for uploading.
   109  Enter a string value. Press Enter for the default ("").
   110  passphrase> your-human-readable-encryption-passphrase
   111  Remote config
   112  --------------------
   113  [remote]
   114  type = tardigrade
   115  satellite_address = 12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us-central-1.tardigrade.io:7777
   116  api_key = your-api-key-for-your-tardigrade-project
   117  passphrase = your-human-readable-encryption-passphrase
   118  access_grant = the-access-grant-generated-from-the-api-key-and-passphrase
   119  --------------------
   120  y) Yes this is OK (default)
   121  e) Edit this remote
   122  d) Delete this remote
   123  y/e/d> y
   124  ```
   125  
   126  ## Usage
   127  
   128  Paths are specified as `remote:bucket` (or `remote:` for the `lsf`
   129  command.)  You may put subdirectories in too, eg `remote:bucket/path/to/dir`.
   130  
   131  Once configured you can then use `rclone` like this.
   132  
   133  ### Create a new bucket
   134  
   135  Use the `mkdir` command to create new bucket, e.g. `bucket`.
   136  
   137      rclone mkdir remote:bucket
   138  
   139  ### List all buckets
   140  
   141  Use the `lsf` command to list all buckets.
   142  
   143      rclone lsf remote:
   144  
   145  Note the colon (`:`) character at the end of the command line.
   146  
   147  ### Delete a bucket
   148  
   149  Use the `rmdir` command to delete an empty bucket.
   150  
   151      rclone rmdir remote:bucket
   152  
   153  Use the `purge` command to delete a non-empty bucket with all its content.
   154  
   155      rclone purge remote:bucket
   156  
   157  ### Upload objects
   158  
   159  Use the `copy` command to upload an object.
   160  
   161      rclone copy --progress /home/local/directory/file.ext remote:bucket/path/to/dir/
   162  
   163  The `--progress` flag is for displaying progress information.
   164  Remove it if you don't need this information.
   165  
   166  Use a folder in the local path to upload all its objects.
   167  
   168      rclone copy --progress /home/local/directory/ remote:bucket/path/to/dir/
   169  
   170  Only modified files will be copied.
   171  
   172  ### List objects
   173  
   174  Use the `ls` command to list recursively all objects in a bucket.
   175  
   176      rclone ls remote:bucket
   177  
   178  Add the folder to the remote path to list recursively all objects in this folder.
   179  
   180      rclone ls remote:bucket/path/to/dir/
   181  
   182  Use the `lsf` command to list non-recursively all objects in a bucket or a folder.
   183  
   184      rclone lsf remote:bucket/path/to/dir/
   185  
   186  ### Download objects
   187  
   188  Use the `copy` command to download an object.
   189  
   190      rclone copy --progress remote:bucket/path/to/dir/file.ext /home/local/directory/
   191  
   192  The `--progress` flag is for displaying progress information.
   193  Remove it if you don't need this information.
   194  
   195  Use a folder in the remote path to download all its objects.
   196  
   197      rclone copy --progress remote:bucket/path/to/dir/ /home/local/directory/
   198  
   199  ### Delete objects
   200  
   201  Use the `deletefile` command to delete a single object.
   202  
   203      rclone deletefile remote:bucket/path/to/dir/file.ext
   204  
   205  Use the `delete` command to delete all object in a folder.
   206  
   207      rclone delete remote:bucket/path/to/dir/
   208  
   209  ### Print the total size of objects
   210  
   211  Use the `size` command to print the total size of objects in a bucket or a folder.
   212  
   213      rclone size remote:bucket/path/to/dir/
   214  
   215  ### Sync two Locations
   216  
   217  Use the `sync` command to sync the source to the destination,
   218  changing the destination only, deleting any excess files.
   219  
   220      rclone sync --progress /home/local/directory/ remote:bucket/path/to/dir/
   221  
   222  The `--progress` flag is for displaying progress information.
   223  Remove it if you don't need this information.
   224  
   225  Since this can cause data loss, test first with the `--dry-run` flag
   226  to see exactly what would be copied and deleted.
   227  
   228  The sync can be done also from Tardigrade to the local file system.
   229  
   230      rclone sync --progress remote:bucket/path/to/dir/ /home/local/directory/
   231  
   232  Or between two Tardigrade buckets.
   233  
   234      rclone sync --progress remote-us:bucket/path/to/dir/ remote-europe:bucket/path/to/dir/
   235  
   236  Or even between another cloud storage and Tardigrade.
   237  
   238      rclone sync --progress s3:bucket/path/to/dir/ tardigrade:bucket/path/to/dir/
   239  
   240  {{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/tardigrade/tardigrade.go then run make backenddocs" >}}
   241  ### Standard Options
   242  
   243  Here are the standard options specific to tardigrade (Tardigrade Decentralized Cloud Storage).
   244  
   245  #### --tardigrade-provider
   246  
   247  Choose an authentication method.
   248  
   249  - Config:      provider
   250  - Env Var:     RCLONE_TARDIGRADE_PROVIDER
   251  - Type:        string
   252  - Default:     "existing"
   253  - Examples:
   254      - "existing"
   255          - Use an existing access grant.
   256      - "new"
   257          - Create a new access grant from satellite address, API key, and passphrase.
   258  
   259  #### --tardigrade-access-grant
   260  
   261  Access Grant.
   262  
   263  - Config:      access_grant
   264  - Env Var:     RCLONE_TARDIGRADE_ACCESS_GRANT
   265  - Type:        string
   266  - Default:     ""
   267  
   268  #### --tardigrade-satellite-address
   269  
   270  Satellite Address. Custom satellite address should match the format: `<nodeid>@<address>:<port>`.
   271  
   272  - Config:      satellite_address
   273  - Env Var:     RCLONE_TARDIGRADE_SATELLITE_ADDRESS
   274  - Type:        string
   275  - Default:     "us-central-1.tardigrade.io"
   276  - Examples:
   277      - "us-central-1.tardigrade.io"
   278          - US Central 1
   279      - "europe-west-1.tardigrade.io"
   280          - Europe West 1
   281      - "asia-east-1.tardigrade.io"
   282          - Asia East 1
   283  
   284  #### --tardigrade-api-key
   285  
   286  API Key.
   287  
   288  - Config:      api_key
   289  - Env Var:     RCLONE_TARDIGRADE_API_KEY
   290  - Type:        string
   291  - Default:     ""
   292  
   293  #### --tardigrade-passphrase
   294  
   295  Encryption Passphrase. To access existing objects enter passphrase used for uploading.
   296  
   297  - Config:      passphrase
   298  - Env Var:     RCLONE_TARDIGRADE_PASSPHRASE
   299  - Type:        string
   300  - Default:     ""
   301  
   302  {{< rem autogenerated options stop >}}