//Lib
import React from 'react';
import classes from '../WizardStep1/WizardStep1.module.css';
import { IconTool, IconAlertCircle } from '@tabler/icons';
import CopyButton from '../../UI/CopyButton/CopyButton';
function WizardStep2(props) {
return (
Initialize a repository
To initialize your repository with borgbackup :
borg init -e repokey-blake2 ssh://
{props.selectedOption.unixUser}@
{process.env.NEXT_PUBLIC_HOSTNAME}:
{process.env.NEXT_PUBLIC_SSH_SERVER_PORT}/./
{props.selectedOption.repository}
The encryption mode is the one recommended by BorgBackup.
For more information,{' '}
click here
.
Borgmatic
If you are using Borgmatic and have
already edited the
(find a sample on the step 4) :
borg init -e repokey-blake2
Vorta
To "Initialize a new repository" or "Add existing repository",
copy this into the field "Repository URL" of Vorta :
ssh://
{props.selectedOption.unixUser}@
{process.env.NEXT_PUBLIC_HOSTNAME}:
{process.env.NEXT_PUBLIC_SSH_SERVER_PORT}/./
{props.selectedOption.repository}
For more information about the Vorta graphical client, please
refer to{' '}
this documentation
.
Check the fingerprint of server
To check that you are talking to the right server, please make
sure to validate the following sshPublicKeys when you first
connect :
ECDSA :{' '}
{process.env.NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_ECDSA}
ED25519 :{' '}
{process.env.NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_ED25519}
RSA :{' '}
{process.env.NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_RSA}
Save your passphrase
Once again, the server cannot access your encrypted backup data
or the encryption passphrase. Remember to put your passphrase in
your password manager when you initialise your repository.
);
}
export default WizardStep2;