MatthiasE5
Hunter
System:
MBA M1 16 GB/1TB, System/Data volumed with APFS encryption/filevault activated, Big Sur.
Parallels 17.1.1, Parallels' own encryption/password not activated, Windows 11 Pro ARM Release version, Bitlocker not enabled, vTPM enabled. PVM currently residing on DATA volume.
CCC 6.
terminology: parallels snapshots = snapshots taken by parallels software. APFS snapshots = snapshots take by MacOS of a volume. backup = backup to an external drive (or to a different location of the same volume/drive).
Hello,
my goal is to optimize Widows performance and to ensure that APFS snapshots always contain functional versions of the PVM including Parallels snapshots.
It is possible to trigger APFS snapshots via the command line, but their retention length policy is managed by MacOS to my knowledge.
Time Machine itself will always create snapshots of a complete volume -- to my knowledge, exlusion of individual pvm files is ignored pertaining to the snapshot (and only applied pertaining to the extermal backup).
I believe it might be possible to separate snapshots by creating separate volumes and using CCC which includes its own snapshot creation and retention module.
TO my knowledge, CCC triggers a snapshot of the complte source APFS volume whenever any kind of backup task is created for it - and can optionally retain that snapshot. The retention policy is per-volume, to my knowledge (?). It is certainly not per backup task.
Since automatic backups will trigger a snapshot, the timing will typically coincide with a running PVM, creating an inconsistent PVM snapshot.
Parallels features an option to "optimize for time machine" -- but this will limit the amount of automatic snapshots (for no good reason?), and arguably (?) only affects the consistency of external backups, not internal snapshots if I am not mistaken, requiring permanent connect to a backup drive (?). I believe this because the exclusion of files is not possible with snapshots.
Creating a separate volume just for the PVM, within the same apfs container that contains DATA and the SYSTEM volumes, might solve the problem. One could then define scheduled CCC backups with a reasonable retention policy for the DATA/SYSTEM volumes to trigger snapshots (the actual backup task triggered is of secondary relevance here and could just be a means to an end (=snapshot), and a separate manual backup profile that will perform a backup and thus trigger a snapshot on the PVM-dedicated volume.
This manual snapshot would ideally be triggered whenever the VM is paused or shut down. It is in this context that I am also wondering if the mere pausing of the VM has equally high chances of resulting in a consistent, usable PVM file as shutting down Windows has. What happens to RAM when a VM is paused?
APFS encryption of PVM volume:
Upon creation of a PVM-dedicated volume I am wondering if I should or should not enable APFS encryption if I am not worried about physical theft of device and also do not have enabled the finger print scanner / password except for reboots etc. I am wondering if the VM might run significantly faster on a non encrypted apfs volume and if this will have any disadvantages, at any point. Will not encrypting the volume affect the interaction of the data volume with the pvm-dedicated volume, for example when it comes to the required vTPM keychain. Will not encrypting affect negatively backups of the full complete drive, etc.
(As a side note I remember that not encrypting my iPhone backup resulted in loss of some data (some passwords and health data) upon migration to a new iPhone). As far as I can tell, APFS encryption and logging out the user seems to be the best choice, rather than bitlocker and paralell's pvm encryption, if one does choose to encrypt?
MBA M1 16 GB/1TB, System/Data volumed with APFS encryption/filevault activated, Big Sur.
Parallels 17.1.1, Parallels' own encryption/password not activated, Windows 11 Pro ARM Release version, Bitlocker not enabled, vTPM enabled. PVM currently residing on DATA volume.
CCC 6.
terminology: parallels snapshots = snapshots taken by parallels software. APFS snapshots = snapshots take by MacOS of a volume. backup = backup to an external drive (or to a different location of the same volume/drive).
Hello,
my goal is to optimize Widows performance and to ensure that APFS snapshots always contain functional versions of the PVM including Parallels snapshots.
It is possible to trigger APFS snapshots via the command line, but their retention length policy is managed by MacOS to my knowledge.
Time Machine itself will always create snapshots of a complete volume -- to my knowledge, exlusion of individual pvm files is ignored pertaining to the snapshot (and only applied pertaining to the extermal backup).
I believe it might be possible to separate snapshots by creating separate volumes and using CCC which includes its own snapshot creation and retention module.
TO my knowledge, CCC triggers a snapshot of the complte source APFS volume whenever any kind of backup task is created for it - and can optionally retain that snapshot. The retention policy is per-volume, to my knowledge (?). It is certainly not per backup task.
Since automatic backups will trigger a snapshot, the timing will typically coincide with a running PVM, creating an inconsistent PVM snapshot.
Parallels features an option to "optimize for time machine" -- but this will limit the amount of automatic snapshots (for no good reason?), and arguably (?) only affects the consistency of external backups, not internal snapshots if I am not mistaken, requiring permanent connect to a backup drive (?). I believe this because the exclusion of files is not possible with snapshots.
Creating a separate volume just for the PVM, within the same apfs container that contains DATA and the SYSTEM volumes, might solve the problem. One could then define scheduled CCC backups with a reasonable retention policy for the DATA/SYSTEM volumes to trigger snapshots (the actual backup task triggered is of secondary relevance here and could just be a means to an end (=snapshot), and a separate manual backup profile that will perform a backup and thus trigger a snapshot on the PVM-dedicated volume.
This manual snapshot would ideally be triggered whenever the VM is paused or shut down. It is in this context that I am also wondering if the mere pausing of the VM has equally high chances of resulting in a consistent, usable PVM file as shutting down Windows has. What happens to RAM when a VM is paused?
APFS encryption of PVM volume:
Upon creation of a PVM-dedicated volume I am wondering if I should or should not enable APFS encryption if I am not worried about physical theft of device and also do not have enabled the finger print scanner / password except for reboots etc. I am wondering if the VM might run significantly faster on a non encrypted apfs volume and if this will have any disadvantages, at any point. Will not encrypting the volume affect the interaction of the data volume with the pvm-dedicated volume, for example when it comes to the required vTPM keychain. Will not encrypting affect negatively backups of the full complete drive, etc.
(As a side note I remember that not encrypting my iPhone backup resulted in loss of some data (some passwords and health data) upon migration to a new iPhone). As far as I can tell, APFS encryption and logging out the user seems to be the best choice, rather than bitlocker and paralell's pvm encryption, if one does choose to encrypt?