# How to initialize a new target
I used multiple targets for backup. Each target needs to be initialized with a repository.

After the target (bucket or other) is created, run the following command **locally** to initialize the target:

```bash
restic -r <target> init
```