Search The Hostwinds Guides Knowledge Base

Initializing the Restic Repo

Any interaction with Restic requires for you to first initialize the repo to perform actions, to do so follow the instructions below  –

Windows

With Windows Servers, from PowerShell, run the following command to initialize the restic repo (you must include the periods) –

. ./restic_repo.ps1

Linux

With Linux, from command line run the following command to initialize the restic repo (you must include the periods) –

. /root/.restic_var

Once this has been completed, you may utilize restic commands.