Configuring Backup Problems

Geist

New Member
May 4, 2011
2
0
1
I am having problems configuring backups on Proxmox VE

First I created a local dir called backup
mkdir backup

then went into the Proxmox VE GUI and added the Directory in storage
and pointed to /backup

When I goto backups and try to define a new backup job I keep getting an error saying
backup storage is not defined!

Please help!
 
did you mark the storage as target for 'vzdump backups'?
 
The "How To" didn't say anything on how to do that

It just said to mkdir
goto the gui add the dir
then goto backups
 
Hi There!
If you want to create a share on the local machine (and perhaps you want that share to be available in future) you have to add it as an nfs share:
right, so you have created your directory "backup". we will now configure it as an nfs share.
On your Proxmox box, run this as root:
apt-get install nfs-kernel-server nfs-common portmap
Then, edit your exports file:
adding "backup" for your PVE server using it's private IP e.g 10.x.x.10
when done, close the file by pressing Ctrl+x, y, enter
nano /etc/exports
/backup 10.x.x.10(sync,no_wdelay,no_subtree_check,rw,no_root_squash)

then run:
/etc/init.d/nfs-kernel-server restart

Now, add storage "backup" using IP: 10.x.x.10
In backup you can create a backup using NFS pointing to "backup".

FYI:
I created two backups like this:
/backup/week1
/backup/week2
I then created 2 backup jobs - Mo, We, Fr backs up to week 1 and Tue, Thu, Sat to week 2.
You can name it however you want.

Hope this helps!
This is also what I used where my two servers only had software raid, so I created a backup week 1 on server 1 and same on server 2, so I backup my VMS from server 1 to server 2 and vice versa! :-)
 
Sorry, I have to amend:
Now, under storage, add nfs share as follows:
Storage Name: (my backups) or whatever u want to call it.
Server: 10.x.x.10
Content: VZDumb Backups
click "scan" and let it export your "backup" folder.

You can now create a new backup using your "backup folder.
My bad for being unclear ;-)