Backup and Restore using Duplicati - Windows
Download and Install Duplicati
- First, download and install Duplicati using this link: CLICK HERE
![000 - Duplicati - Download.png 1917](https://files.readme.io/a0167ce-000_-_Duplicati_-_Download.png)
- Run the installation file.
![001 - Installation File - 1.png 1917](https://files.readme.io/2ac9281-001_-_Installation_File_-_1.png)
- Once Duplicati is installed successfully, install Duplicati as a service on Windows by running the following command in Command Prompt in the folder where Duplicati is installed.
C:\Program Files\Duplicati 2> Duplicati.WindowsService.exe install --webservice-interface=any --webservice-sslcertificatefile="C:\searchblox.pfx" --webservice-sslcertificatepassword=admin@1234
![13.232.199 2021-02-16 at 10.07.30 PM.189 - Remote Desktop Connection.png 1105](https://files.readme.io/cc0403a-13.232.199_2021-02-16_at_10.07.30_PM.189_-_Remote_Desktop_Connection.png)
Add Self-Signed SSL Certificate
- Now create the SSL Certificate in Windows using Keytool.
- Create the .jks file by running the following command in C:/.
C:\> keytool -genkey -alias searchblox -keyalg RSA -keystore "C:\searchblox.jks" -keysize 2048
![13.232.199 2021-02-16 at 10.09.29 PM.189 - Remote Desktop Connection.png 926](https://files.readme.io/87211f7-13.232.199_2021-02-16_at_10.09.29_PM.189_-_Remote_Desktop_Connection.png)
- Enter the following details:
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: JJ
What is the name of your organizational unit?
[Unknown]: CS
What is the name of your organization?
[Unknown]: SB
What is the name of your City or Locality?
[Unknown]: KTYM
What is the name of your State or Province?
[Unknown]: KL
What is the two-letter country code for this unit?
[Unknown]: IN
Is CN="JJ", OU=CS, O=SB, L=KTYM, ST=KL, C=IN correct?
[no]: yes
![Steps.png 1917](https://files.readme.io/1828eb2-Steps.png)
Important Note
- JKS keystore uses a proprietary format. It is always recommended to migrate to PKCS12, which is an industry standard format, using the command:
keytool -importkeystore -srckeystore C:\searchblox.jks -destkeystore C:\searchblox.jks -deststoretype pkcs12
- Now convert the .jks file into .pfx format by running the command:
C:\>keytool -importkeystore -srckeystore "C:\searchblox.jks" -destkeystore "C:\searchblox.p12" -srcstoretype JKS -deststoretype PKCS12 -deststorepass admin@1234 -srcalias Searchblox -destalias Searchblox
![Destalias.png 1917](https://files.readme.io/485ed4d-Destalias.png)
- The result is:
Importing keystore C:\searchblox.jks to C:\searchblox.p12… Enter source keystore password:
![Import Key Store.png 1916](https://files.readme.io/17d1d7c-Import_Key_Store.png)
![Files after converting.png 1917](https://files.readme.io/ce71382-Files_after_converting.png)
Access Duplicati
- Now go to the link: https://localhost:8200 to access the Duplicati page.
- You can also double-click and open the Duplicati you have installed.
- You will be taken directly to the Settings page to create a new password.
- Check the password box, enter the password, scroll down and click OK.
![Click OK.png 1917](https://files.readme.io/6608818-Click_OK.png)
- You’ll be logged out.
![Login Page.png 1917](https://files.readme.io/38b2913-Login_Page.png)
- To login, enter the new password and you’ll be taken to the Home page.
![Duplicati - Home.png 1917](https://files.readme.io/507406f-Duplicati_-_Home.png)
Updated over 3 years ago
What’s Next