--- title: "Creating Repository in Local Folder" description: "To create a repository in a local folder, you specify a name for the repository and a local directory in which Veeam Agent will create backup files. To do this, use the following command: where: — name of the repository." canonical: "https://helpcenter.veeam.com/docs/agentformac/userguide/backup_repo_create_local.html" breadcrumb: "User Guide > Performing Backup > Managing Backup Repositories > Managing Backup Repositories in Command Line Interface > Creating Backup Repository > Creating Repository in Local Folder" dateModified: "2026-10-20" --- # Creating Repository in Local Folder To create a repository in a local folder, you specify a name for the repository and a local directory in which Veeam Agent will create backup files. To do this, use the following command: ``` veeamconfig repository create --name --location ``` where: - `` — name of the repository. - `` — path to the folder in which backup files will be stored. For example: ``` $ veeamconfig repository create --name VeeamBackup --location /home/backups ```