Skip to content

Linux Installation

R2Clone for Linux is available either as a .deb package for debian based distributions, or as a Docker container.

The Docker installation includes an interactive setup script that automates the installation and configuration process.

  1. Run the setup script by using this one line command in the terminal:

    Terminal window
    curl -fsSL https://cdn.r2clone.gruntmods.com/build-docker.sh | bash
  2. The script will verify that Docker is installed on your system.

    If Docker is missing, you will be prompted to install Docker automatically. Answer Y to proceed with automatic installation, or N to install manually.

  3. Specify the port for the web interface. Press Enter to use the default (port 3000), or enter a custom port number between 1-65535.

  4. Specify where to store your backups:

    • A GUI will open for you to choose a backup location. If the GUI is not availible you will be prompted type the path manually
    • The script creates a subdirectory named R2CloneDocker in your selected location
    • Example: Using /home/user/storage will store backups at /home/user/storage/R2CloneDocker
  5. Specify where to store app data:

    • A GUI will open for you to choose a location for the app configuration files. If the GUI is not availible you will be prompted type the path manually
    • The setup creates a new folder called R2CloneDockerAppData for the database and settings
    • Example: Using /home/user/Documents will store backups at /home/user/Documents/R2CloneDockerAppData
  6. The script will display a configuration summary for review before proceeding. Press Enter to continue.

  7. The script will automatically:

    • Generate a Dockerfile configured for your system architecture (amd64 or arm64)
    • Create a docker-compose.yml file with your specified settings
    • Build the Docker image with the latest R2Clone release
    • Start the container with the configured volumes and port mappings
  8. Once deployment completes, R2Clone is running and accessible through your web browser at http://localhost:3000 (or your configured port).

Option 2: Desktop Application (.deb Package)

Section titled “Option 2: Desktop Application (.deb Package)”

If you prefer a more straightforward installation, R2Clone is availible as a regular desktop application by installing the .deb package.

  1. Download and install the package by using this one line command in the terminal:

    Terminal window
    # Loading latest release URL...
  2. Launch R2Clone from your application menu or run r2clone from the terminal