Backup to different folders

udo

Distinguished Member
Apr 22, 2009
5,977
199
163
Ahrensburg; Germany
Hi,
i have a cluster with tree nodes. Each node has a seperate filesystem /backup.
I want for each node a seperate directory (proxmox1, proxmox2...) below /backup to store the backups of the vm and the config (/etc/qemu-server + /etc/vz).
After the backup i rsync the proxmoxN-Directory to the other nodes - so if one node fails, i can simply restore the data (if nessesary, because the most is on SAN-storage) and the conf, and i'm back in business.
/backup is defined as directory (storage) with the name backup.

But the normal backup-job store the data direct below /backup.
I have create the file /etc/vzdump.conf with following entrys:
Code:
dumpdir: /backup/proxmox1
and as a second try
Code:
dumpdir: proxmox1
storage: backup
But this change not the target of the files.
Where is my mistake?

Udo
 
But this change not the target of the files.
Where is my mistake?

First, you can use either 'dumpdir' or 'storage', but not both.

Second, I assume you use the web interface to setup backup jobs. Each such job defines the target storage, and that is why the global settings are not used.
 
First, you can use either 'dumpdir' or 'storage', but not both.

Second, I assume you use the web interface to setup backup jobs. Each such job defines the target storage, and that is why the global settings are not used.

Hi Dietmar,
thanks for the info! You are right, i use the webfrontend for the backup.
Now i have solve the problem with make a symlink (/bckup -> /backup/proxmoxN) and define this symlink as backupstorage.
Work's like expected!

Udo