# Configuring Datastore

Datastore is where the backups will be saved. This article goes over configuring datastore using a disk on the machine. If not using volume from machine check out this article to [use NAS storage via NFS](https://docs.cyberpaw.org/books/installation-guides-for-software-and-services/page/set-up-proxmox-backup-server-with-nfs-storage)

#### Creating Datastore

1. Login to PBS
2. Under **Storage/Disks** got to **Directory**

![Screenshot from 2025-12-01 13-35-13.png](https://docs.cyberpaw.org/uploads/images/gallery/2025-12/scaled-1680-/screenshot-from-2025-12-01-13-35-13.png)

3. Click **Create: Directory**
    1. Select the disk
    2. Choose Filesystem (I chose ext4)
    3. Give datastore a name
    4. Make sure **Add as Datastore** is selected
    5. Click **Create**

#### Setting up Datastore in Proxmox Backup Server

1. Under **Datastore** click **Create Datastore**
    1. Name: Choose name to call it
    2. Backup Path: Select the path to folder directory on the machine.
    3. Under Prune option this is personal preference, but deduplication really lowers the amount of space needed, so keeping more backups is not bad decision.
2. Once done click **Add**

![image.png](https://docs.cyberpaw.org/uploads/images/gallery/2025-12/scaled-1680-/G92image.png)

When the datastore is added, clicking on datastore will give you info, and also ability to adjust Prune and CG Jobs. Also, under Verify Jobs it's good idea to add Verify Job for checking that backup isn't corrupted and that will work when needed.

3. Under **Prune &amp; CG Jobs** make sure CG Job is set to daily. You can adjust Prune job here as well
4. Under **Verify Job** click **Add** and schedule Verify to run Daily and Re-Verify to run every 30 days

It is optional to create a namespace. Storing your backups in separate namespaces is very useful if you ever plan on planning to use your PBS to store backups from multiple Proxmox hosts, or even other Linux server.

5. Under **Content** click **Add Namespace**
    
    
    1. **Parent Namespace:** This would be folder in which this subfolder will live, usually root
    2. **Namespace Name:** name of the folder where backups will live