Which files I should backup external

grefabu

Member
May 23, 2018
110
6
23
47
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
 

Stefan_R

Proxmox Staff Member
Staff member
Jun 4, 2019
994
193
43
Vienna
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.
 

grefabu

Member
May 23, 2018
110
6
23
47
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?
 

Stefan_R

Proxmox Staff Member
Staff member
Jun 4, 2019
994
193
43
Vienna
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.
 

H4R0

Active Member
Apr 5, 2020
556
118
43
If you use encryption dont forget the keys at /etc/pve/priv/storage/

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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!