Hello,
I'm trying to backup some folders in my VM to a backup drive/storage in proxmox (ZFS), but I'm not sure about the best way and possibilities.
Current setup:
Now, sadly VM can not easily share a drive with LXC. My lxc which is acting as file server/smb share is unprivileged (meaning no NFS if I'm correct).
What I thought about: I (if possible) share the picture folder of the nextcloud VM via SMB (or NFS if possible) with read only rights. Then, the unprivileged LXC can rsync the folders every night into the backup drive.
VM picture folder sharing (read only) --> LXC (unpriv) mounted backup drive.
Is there a better or easier way of doing this? Since nextcloud is accessible via the internet, I want to keep it as save as possible.
I'm trying to backup some folders in my VM to a backup drive/storage in proxmox (ZFS), but I'm not sure about the best way and possibilities.
Current setup:
- Nextcloud VM (picture folder)
- backup drive in proxmox
- LXC (unprivileged) with mounted backup drive, acting as SMB server (debian, copilot)
Now, sadly VM can not easily share a drive with LXC. My lxc which is acting as file server/smb share is unprivileged (meaning no NFS if I'm correct).
What I thought about: I (if possible) share the picture folder of the nextcloud VM via SMB (or NFS if possible) with read only rights. Then, the unprivileged LXC can rsync the folders every night into the backup drive.
VM picture folder sharing (read only) --> LXC (unpriv) mounted backup drive.
Is there a better or easier way of doing this? Since nextcloud is accessible via the internet, I want to keep it as save as possible.