Remote-access Guide

duplicati remote access command line

by Lavonne Bergnaum IV Published 2 years ago Updated 1 year ago
image

To access Duplicati from a remote computer, use –webservice-interface=any and after that, specify a listening port with –webservice-port= {port no.}. Duplicati stores the local databases in the program folder with –portable-mode. Figure 4: Backup description

Full Answer

How do I use Duplicati?

Run backups on any machine through the web-based interface or via command line interface. Duplicati has a built-in scheduler and auto-updater. Duplicati is free software and open source. You can use Duplicati for free even for commercial purposes. Source code is licensed under LGPL. Duplicati runs under Windows, Linux, MacOS.

How can I use the compare command with Duplicati?

Some advanced options that can be used with the compare command: After a backup operation, some backup files are verified by downloading them and check if the contents of these files is what Duplicati expects. This automatic verification after each backup operation can be disabled.

How do I install Duplicati on a NAS?

Just install Duplicati on your NAS and configure and run it through its web interface. We did not forget about system admins! Duplicati offers all functions and feature via Duplicati.Commandline.exe. This allows you to add backup features to your scripts or run backups in a terminal window.

What is the filename of the Duplicati command line tool?

The filename is Duplicati.CommandLine.exe, the tool can be found in the Duplicati program folder. With the Commandline tool you can perform all operations that are available in the Graphical User Interface. You can even do more with the Commandline tool.

image

What is a duplicati webserver?

The integrated webserver in Duplicati offers a convenient way to schedule and run backup jobs. However, if you can't or don't want to use the graphical user interface and/or the built-in scheduler, you can use the Duplicati Commandline tool. The filename is Duplicati.CommandLine.exe, the tool can be found in the Duplicati program folder.

What is the restore command?

The restore command can restore files from a specific restore point the local system. Use the following format:

What is a random sample of dlist?

Verifies integrity of a backup. A random sample of dlist, dindex, dblock files is downloaded, decrypted and the content is checked against recorded size values and data hashes. <samples> specifies the number of samples to be tested. If "all" is specified, all files in the backup will be tested. This is a rolling check, i.e. when executed another time different samples are verified than in the first run. A sample consists of 1 dlist, 1 dindex, 1 dblock.

What does "backup" mean in Dlist?

Marks old data deleted and removes outdated dlist files. A backup is deleted when it is older than <keep-time> or when there are more newer versions than <keep-versions> . Data is considered old, when it is not required from any existing backup anymore. Usage:

Can you do command line operations?

With the Commandline tool you can perform all operations that are available in the Graphical User Interface. You can even do more with the Commandline tool. If you want to perform specific operations, like deleting a particular backup or comparing 2 backups, you will not be able to do this in the Graphical User Interface, but the Commandline tool supports these operations.

Can Duplicati send email notifications?

Duplicati can send email notifications after each operation. Use the send-mail command to test this. Usage:

guiand888 commented on Dec 5, 2014

I want to run Duplicati on my headless Debian home server, and access its webUI from another laptop.

kenkendk commented on Dec 13, 2014

Another, slightly safer method, would be to use SSH to tunnel the port. In your SSH command try something like this:

guiand888 commented on Dec 16, 2014

I actually didn't think of port forwarding... Anyway, both work well, thanks!

How to configure Duplicati?

The most convenient way to configure and control Duplicati is using the Graphical User Interface. Duplicati provides an internal web server that allows the user to configure and schedule backup jobs, perform restore operations and apply settings. This web interface is available when Duplicati.Server.exe and/or Duplicati.GUI.TrayIcon.exe is/are running. The first instance of the web server is listening on TCP port 8200. Additional instances listen on port 8300 and higher.

How to access Duplicati web interface?

Access to user interface. Click to check the Password checkbox to secure the web interface with a password. Type a strong password in the text field. Click the OK button to confirm your setting. Next time you access the web interface you have to type the password to access the Duplica ti web interface.

How to export Duplicati backup?

To export a backup job configuration, click its name and click Export ... under Configuration. To export the current configuration as a ready-to-use command, select As Command-line and click the Export button. The result is a Duplicati backup command that you can use with a scheduler of your choice.

What to do if Duplicati isn't installed?

If Duplicati isn't installed on the computer you want to restore to, download and install Duplicati first. See Installation for more information.

How to schedule a backup job in Duplicati?

New backup jobs can be configured and scheduled by clicking Add backup in the main menu. Before the actual wizard starts, you can choose between Configure a new backup and Import from a file. With Import from a file you can import a configuration file that you exported earlier from the same computer or another computer running Duplicati. Because there is no configuration file available and we want to specify all options, we choose the first option and click Next.

What is the Duplicati screen?

At first run, the Duplicati screen is mostly empty. After one or backup backup jobs have been configured, this space will be used to present these backup jobs and some status information, giving you a quick impression of scheduling, the space used at the backend and how many versions are available. You can also start certain operations for a specific backup job here.

Why do Duplicati backups use local databases?

Duplicati makes use of a local database for each backup job that contains information about what is stored at the backend. Main reasons for storing this information locally are performance and reduction of bandwidth usage. Without this database, Duplicati would need to download a fair amount of data from the backend for any operation.

What encryption does Duplicati use?

Duplicati uses strong AES-256 encryption to protect your backups. It is designed following the TNO principle: Trust No One. For instance, all data is encrypted locally before it is transferred to the remote storage system. The password/key to your backup never leaves your computer.

How does Duplicati work?

Duplicati analyzes the content of files and stores data blocks. Due to that, Duplicati will find duplicate files and similar content and store this only once in the backup. As Duplicati analyzes the content of files it can handle situations very well if files and folders are moved or renamed. As the content does not change, the next backup will be tiny.

What is a dualcati?

Duplicati is designed to handle various kinds of issues: Network hiccups, interrupted backups, unavailable or corrupt storage systems. Even if a backup run was interrupted, it can be continued at a later time. Duplicati will then backup everything that was missed in the last backup. And even if remote files get corrupted, Duplicati can try to repair them if local data is still present or restore as much as possible.

Does Duplicati work with storage?

Duplicati is built to work with simple storage systems. Many providers offer compatible storages and often at cheap prices. As a downside of this, some storage system might store corrupt data. And most people usually notice that, when they need their backup to restore files they have lost and restoring fails.

Does Duplicati support compression?

All backup data is compressed before it is encrypted and uploaded. Duplicati supports Zip/Deflate or 7z/LZMA2 compression. For performance reasons, Duplicati detects files that are compressed already and adds those as they are to the Zip or 7z archives. For example, media files such as mp3, jpeg or mkv files contain very well compressed data already.

Does Duplicati backup data?

Duplicati performs a full backup initially. Afterwards, Duplicati updates the initial backup by adding the changed data only. That means, if only tiny parts of a huge file have changed, only those tiny parts are added to the backup. This saves time and space and the backup size usually grows slowly.

Can you run Duplicati backups on a NAS?

But is also allows you to configure and run backups remotely on headless machines like a Network Attached Storage (NAS). Just install Duplicati on your NAS and configure and run it through its web interface.

Why use Duplicati Client?

Duplicati ships with a CommandLine tool that is capable of doing various actions like backups, restores, and verifying backend data.

Is the command line stateless?

Additionally, the CommandLine is stateless in the sense that you need to provide all the relevant information each time you want to run a command. This can be daunting if you just want to initiate a backup run on an existing backup.

Can Duplicati backup backups be updated?

Duplicati does not currently allow to update a backup configuration without also overwriting the metadata. If your config file was exported a long time ago with old metadata you may not be interested in this.

Can you use a YAML file to create backup jobs?

The resulting file can then be used to create new backup jobs with the import command. Notice that the JSON output is identical to exporting from the Duplicati Web UI, so if you need interoperability use JSON. The YAML file is only understood by this client for now.

Is Duplicati client stable?

duplicati-client will maintain a 0.x release status until Duplicati leaves beta. It's just not logical to make a "stable release" of a tool that interacts with product with no stable release. With that being said the Duplicati API has never broken duplicati-client with changes.

What is the Duplicati protocol?

Duplicati works with standard protocols like FTP, SSH, WebDAV as well as popular services like Backblaze B2, Tardigrade, Microsoft OneDrive, Amazon S3, Google Drive, box.com, Mega, hubiC and many others.

What encryption does Duplicati use?

Duplicati uses strong AES-256 en cryption to protect your privacy. You can also use GPG to encrypt your backup.

Can you run Duplicati on a NAS?

Duplicati is configured by a web interface that runs in any browser (even mobile) and can be accessed - if you like - from anywhere. This also allows to run Duplicati on headless machines like a NAS (network attached storage).

Is Duplicati open source?

Duplicati is free software and open source. You can use Duplicati for free even for commercial purposes. Source code is licensed under LGPL. Duplicati runs under Windows, Linux, MacOS. It requires .NET 4.5 or Mono.

Does Duplicati have a scheduler?

Run backups on any machine through the web-based interface or via command line interface. Duplicati has a built-in scheduler and auto-updater.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9