How to mount a disk on Proxmox
1- USING SSH (putty):
find out if the disk is connected:
#lsblk
here our disk was sdb
with one partition sdb1 was ntfs formatted
#mkfs.ext4 -L bkphd /dev/sdb1
mount the drive:
mkdir -p /mnt/bkphdd
nano /etc/fstab
add the following line:
LABEL=bkphd /mnt/bkphdd ext4 defaults 0 2
ctrl+o then enter then ctrl+x
mount -a
then we create a folder for backup inside the new mounted hd
mkdir -p /mnt/bkphdd/backup/
2- USING GUI:
Datacenter-> Storage-> Add -> Directory
set the following:
ID: bkphd
Directory: /mnt/bkphdd/backup/
Content: VZDump backup file
Nodes: select node
enabled: checked
shared: checked
max backups: 2
After that we can schedule backups from datacenter-> backups.
Done!
No Comments