proxmox backup add CIFS

створюєм файл з доступами

nano /etc/samba/credentials

username=****
password=****

ctrl+s
ctrl+x
chmod 600 /etc/samba/credentials

монтуємо диск

mount.cifs -o cache=none,credentials=/etc/samba/credentials,noperm,vers=3.0,gid=1000,iocharset=utf8,sec=ntlmssp,file_mode=0770,dir_mode=0770 //****.your-storagebox.de/backup /mnt/pve/****.your-storagebox.de

proxmox-backup-manager datastore create CIFS_REPO /mnt/pve/****.your-storagebox.de/synctumbackup --comment 'Backups directory via cifs'


nano /etc/network/interfaces
add mount

auto ens18
iface ens18 inet static
	address 10.5.0.250/24
	gateway 10.5.0.1

	post-up mount.cifs -o cache=none,credentials=/etc/samba/credentials,noperm,vers=3.0,gid=1000,iocharset=utf8,sec=ntlmssp,file_mode=0770,dir_mode=0770 //u411724.your-storagebox.de/backup /mnt/pve/u411724.your-storagebox.de