Forrest logo
back to the duplicacy tool

duplicacy:tldr:f6c6a

duplicacy: Use current directory as the repository, initialize a SFTP storage and encrypt the storage with a password.
$ duplicacy init -e ${snapshot_id} ${sftp:--user@192-168-2-100-path-to-storage-}
try on your machine

The command "duplicacy init" is used to initialize a new storage repository for backups using the Duplicacy backup tool.

Here is the breakdown of the command you provided:

  • "duplicacy init": The base command to initialize a new storage repository.
  • "-e": This flag specifies the encryption password for the repository. You need to replace "${snapshot_id}" with the actual encryption password you want to use.
  • "${snapshot_id}": This is a placeholder that should be replaced with the encryption password for securing the backups.
  • "${sftp:--user@192-168-2-100-path-to-storage-}": This part of the command specifies the storage destination for the backups. It is using the SFTP protocol. You need to replace "${sftp:--user@192-168-2-100-path-to-storage-}" with the actual destination information. It consists of three parts:
    • "sftp": This indicates the use of the SFTP (SSH File Transfer Protocol) for secure file transfers.
    • "-user@192-168-2-100-path-to-storage-": This is the specific destination information for the SFTP connection. You need to replace "-user@192-168-2-100-path-to-storage-" with the relevant SFTP username, IP address, and path to the storage location.

To use this command effectively, you should replace the placeholders "${snapshot_id}" and "${sftp:--user@192-168-2-100-path-to-storage-}" with appropriate values for your specific use case.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the duplicacy tool