Yes, I'm doing some testing.To be clear...you talk about non-encrypted guests that are backed up to a non-encrpted PBS datastore once with encryption enabled and once without for the PBS backup?
What do you mean with "re-create Datastore"? That you just re-added the PBS datastore on the Proxmox VE side but with a encryption key, or that you did that plus creating a completely fresh datastore on the PBS side.I then re-created the datastore as an encrypted datastore and re-ran the backups and it totalled 21.53GB
du -hd1 /path/to/datastore
or something else?How? Can you describe the exact steps taken on both, PVE and PBS.I deleted the backups and datastore and removed the datastore from PBS.
There's no such thing as creating an encrypted datastore, a PBS datastore always handles either, encryped or not.I created a new PBS datastore but this time encrypted.
How? Can you describe the exact steps taken on both, PVE and PBS.
As deleting a datastore over the PBS web interface won't delete the data, just remove the config entry.
So if you deleted it there in PBS, then created a new one pointing at the old path the .chunks content addressable storage and all its data from previous would be still there..
There's no such thing as creating an encrypted datastore, a PBS datastore always handles either, encryped or not.
Again, did you mean you added the datastore newly with encryption selected in the PVE storage add dialogue?
systemctl disable mnt-datastore-backup.mount
Removed /etc/systemd/system/multi-user.target.wants/mnt-datastore-backup.mount.
proxmox-backup-manager datastore remove backup
rm /etc/systemd/system/mnt-datastore-backup.mount
umount /dev/sdd1
rm -rf /mnt/datastore/backup
systemctl restart proxmox-backup proxmox-backup-proxy
sgdisk --zap-all /dev/sdd
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
There's no such thing as creating an encrypted datastore
❯ ssh proxmox
Warning: Permanently added '192.168.10.11' (ED25519) to the list of known hosts.
Linux pve 5.15.35-3-pve #1 SMP PVE 5.15.35-6 (Fri, 17 Jun 2022 13:42:35 +0200) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jul 21 18:26:08 2022 from 192.168.10.189
root@pve:~#
root@pve:~# systemctl disable mnt-datastore-backup.mount
Removed /etc/systemd/system/multi-user.target.wants/mnt-datastore-backup.mount.
root@pve:~#
root@pve:~# proxmox-backup-manager datastore remove backup
root@pve:~#
root@pve:~# rm /etc/systemd/system/mnt-datastore-backup.mount
root@pve:~#
root@pve:~# umount /dev/sdd1
root@pve:~#
root@pve:~# rm -rf /mnt/datastore/backup
root@pve:~#
root@pve:~# systemctl restart proxmox-backup proxmox-backup-proxy
root@pve:~#
root@pve:~# gdisk /dev/sdd
GPT fdisk (gdisk) version 1.0.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): x
Expert command (? for help): z
About to wipe out GPT on /dev/sdd. Proceed? (Y/N): y
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Blank out MBR? (Y/N): y
root@pve:~#
root@pve:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8098680k,nr_inodes=2024670,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1626612k,mode=755,inode64)
/dev/mapper/pve-root on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18956)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/sda2 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=1626608k,nr_inodes=406652,mode=700,inode64)
root@pve:~#
root@pve:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 512M 0 part /boot/efi
└─sda3 8:3 0 118.7G 0 part
├─pve-swap 253:4 0 8G 0 lvm [SWAP]
└─pve-root 253:5 0 110.7G 0 lvm /
sdb 8:16 0 1.8T 0 disk
sdc 8:32 0 1.8T 0 disk
sdd 8:48 0 1.8T 0 disk
nvme0n1 259:0 0 238.5G 0 disk
├─vg1-vm--101--disk--0 253:0 0 32G 0 lvm
├─vg1-vm--100--disk--0 253:1 0 32G 0 lvm
└─vg1-vm--102--disk--0 253:2 0 16G 0 lvm
root@pve:~#
root@pve:~# proxmox-backup-manager disk list
┌─────────┬────────────┬─────┬───────────┬───────────────┬────────────────────────┬─────────┬────────┐
│ name │ used │ gpt │ disk-type │ size │ model │ wearout │ status │
╞═════════╪════════════╪═════╪═══════════╪═══════════════╪════════════════════════╪═════════╪════════╡
│ nvme0n1 │ lvm │ 0 │ ssd │ 256060514304 │ KBG40ZNV256G KIOXIA │ 0.00 % │ passed │
├─────────┼────────────┼─────┼───────────┼───────────────┼────────────────────────┼─────────┼────────┤
│ sda │ mounted │ 1 │ ssd │ 128035676160 │ LITEONIT_LCT-128M3S │ - │ passed │
├─────────┼────────────┼─────┼───────────┼───────────────┼────────────────────────┼─────────┼────────┤
│ sdb │ filesystem │ 0 │ hdd │ 2000398934016 │ WDC_WD2002FAEX-007BA0 │ - │ passed │
├─────────┼────────────┼─────┼───────────┼───────────────┼────────────────────────┼─────────┼────────┤
│ sdc │ filesystem │ 0 │ hdd │ 2000398934016 │ WDC_WD2000FYYZ-01UL1B1 │ - │ passed │
├─────────┼────────────┼─────┼───────────┼───────────────┼────────────────────────┼─────────┼────────┤
│ sdd │ unused │ 0 │ hdd │ 2000398933504 │ WDC_WD2002FAEX-007BA0 │ - │ passed │
root@pbs:~# du -hs /mnt/datastore/backup/
7.1G /mnt/datastore/backup/
root@pbs:~# du -hd1 /mnt/datastore/backup/
7.1G /mnt/datastore/backup/.chunks
704K /mnt/datastore/backup/vm
48K /mnt/datastore/backup/ct
7.1G /mnt/datastore/backup/
root@pbs:~#
2022-07-21T20:52:19+10:00: create datastore 'backup' on disk sdd
2022-07-21T20:52:28+10:00: Chunkstore create: 1%
2022-07-21T20:52:28+10:00: Chunkstore create: 2%
2022-07-21T20:52:28+10:00: Chunkstore create: 3%
...
2022-07-21T20:52:29+10:00: Chunkstore create: 97%
2022-07-21T20:52:29+10:00: Chunkstore create: 98%
2022-07-21T20:52:29+10:00: Chunkstore create: 99%
2022-07-21T20:52:29+10:00: TASK OK
root@pbs:~# du -hd1 /mnt/datastore/backup/
7.1G /mnt/datastore/backup/.chunks
700K /mnt/datastore/backup/vm
48K /mnt/datastore/backup/ct
7.1G /mnt/datastore/backup/
root@pbs:~#
We use essential cookies to make this site work, and optional cookies to enhance your experience.