Which files I should backup external

grefabu

Well-Known Member
May 23, 2018
245
16
58
51
Hi,

I see that there is an external backup planed, additional tape backup.

But for now, where are the files I need to backup, and is there an plan how to restore in an desaster case to an new infrastructure?
I see the mount point of the hdd is /mnt/datastore/store1, but du -a /mnt/datastore/store1/vm/ give only 8,3 MB.
But there are many chunk files.

should I backup all together or is tehre a better way?

Bye

Gregor
 
Yes, you need to back up the entire datastore directory. That is, the folder where the '.chunks', 'ct', 'host' and 'vm' directories are located.

Additionally, it might make sense to keep /etc/proxmox-backup around.
 
One additional: Is there an way to get data og the files without an PBS or PVE? Only with an bare linux?

I think I read about mount the files or so?
 
No, you need to have a Proxmox Backup Server running, as the chunk store is in a special format. The proxmox-backup-client is standalone, and can indeed be used to mount (for CTs) or map (for VMs, makes loop devices) such images - but it does so by connecting to a backup server instance, so that's still required.
 
If you use encryption dont forget the keys at /etc/pve/priv/storage/

Always verify that a disaster restore works.
 
  • Like
Reactions: Stefan_R