PVE VMs. However, PBS [ProxMox Backup Server] prefers you to have a physical drive for those backups... since its running ON the PVE, thats
Some of you know that I recently moved 2o bbS over to the ProxMox server
- and that has been wonderful. Its running great, got all the little
bugs ironed out [mostly!] and am enjoying both the .qcow format that the VM is saved in, and PVE [ProxMox] backups that run easily and are easy
to handle.
I also have a NAS, still running on a Raspberry Pi, that will shortly
find ITS way over to the ProxMox host... when I created the NAS I was struggling a bit with understanding permissions and... does
openmediavault need a USER account to give permissions to the bbS box to read/write to the NFS share, and... just exactly grasping how it w0rks. Got it setup - but wonder if I could have tighter settings, or do better with fully understanding how those permissions work...
Today I find ProxMox Backup Server. It looks GREAT, and it can do automated things much better than simply using the backups tab in PVE... so I'm excited to use it as a solution to do all backups for my various PVE VMs. However, PBS [ProxMox Backup Server] prefers you to have a physical drive for those backups... since its running ON the PVE, thats not super easy to do - while I could give one of my server drives to it,
I don't really want to make that change... I don't think. It will accept NAS/NFS mounts as a DataShare, but I'm again running into permissions issues. PBS won't let me mount the thing - even after I created a
SEPARATE NFS share and made sure it had read/write perms... I know I'm just not understanding things...
Just venting, not asking for explanations - I would accept any 'newbie' websites that people might suggest; but I get the best information directly from the services above's documentation. It certainly could be easier, but I hope in the end I can create a setup that is secure and ISN'T just set to wide open... the controls within all of these systems
is great; you just have to be a knowledgable sysOp. :P Thats the hard
bit.
Having fun in techno-land... still learning how to string em' all together.
pAULIE42o
PVE VMs. However, PBS [ProxMox Backup Server] prefers you to have a physical drive for those backups... since its running ON the PVE, tha
Maybe I'm misreading your post... But it sounds like you are trying to put your backup storage in the same physical box as the VMs you want to back up.
That's a really bad idea. If you have a hardware failure, you could
lose both the VMs *and* the backups in one fell swoop.
Well I've not used proxmox before but I do know on ESXi (VMWare) it likes iSCSI. Basically this will act as an attach SCSI drive but can be
across the network. the one real downside it only one server should
ever use it at a time. Not to be confused with VMs. So the drive would be dedicated to the server thats using it. Keep in mind as many VMs can access this through that server as you like. I have hear of people
being successful with using it with more that one device typically with PXE booting but then some of them might be in read only mode. Not worth the risk though. iSCSI will require a whole nother computer to host it
a PI might do it but I have not worked with it on a PI. My experience
was with Ubuntu server. There is a bit of a learning curve but iSCSI is fast and works with most things. Hopefully a proxmox guru can step in
and verify it this would be a good route.
As always if I can be of any assistance let me know.
Raspberry Pi's, but PBS [ProxMox Backup Server] has no ARM arm... :P So at the moment, I'm just building a basic Debian Raspberry Pi instance to go in and suck out the PVE [ProxMox] backups and pull those out to an external drive connected to said RPi.
pAULIE42o
Well I've not used proxmox before but I do know on ESXi (VMWare) it likes iSCSI. Basically this will act as an attach SCSI drive but can be
why this isn't a great idea... but I don't have several x86 machines sitting around - well, I guess I do if I used ThinkPads; but I don't
It doesn't matter if proxmox has an arm edition. If you setup iSCSI and connect it to that system it will look like its just another connected drive to the system. A little Googleing showed me that its very doable. On your pie you set up the drive you want as an iSCSI and then on the proxmox system your connect the iSCSI drive. The system will treat it like any other connected drive after that. You can format partition so
on and so forth. Literally like it any other connected drive.
Its not easy at first but its worth it. I backed up my whole Server
this way when I needed to transition it to new hardware. I also have
used it for VM storage.
Just about any old beater PC from the thrift store should give you what you need.
Oh I understand what yer suggesting to do - instead of simply using my NAS/NFS drives [which, btw, PBS says CAN be done - but they don't
support it...] I could setup some Pi w/ iSCSI and use that to mount to
the PBS VM that live within PVE.... ok.
I'll look into that, as currently I was just gonna setup a Pi to pull
the PVE backups to. I haven't nuked the PBS VM yet, so - will do some reading. Thanks for the suggestion.
pAULIE42o
paulie420 wrote to 2twisty <=-
Currently I'm just using PVEs Backups tab to backup ProxMox VMs
Oh I understand what yer suggesting to do - instead of simply using my NAS/NFS drives [which, btw, PBS says CAN be done - but they don't
support it...] I could setup some Pi w/ iSCSI and use that to mount to
the PBS VM that live within PVE.... ok.
I'll look into that, as currently I was just gonna setup a Pi to pull
the PVE backups to. I haven't nuked the PBS VM yet, so - will do some reading. Thanks for the suggestion.
I've not used TrueNAS on a PI but hay if you get it going I would be interested in checking that out. TrueNAS is cool.
The proxmox backup your using from it's web interface uses what's called vzdump to make a backup. It can be scripted to do so much more.
I have one of mine doing a remote nfs backup a couple of times a day. Along with a local dump to a spare drive in the server at different
times. The crontab event just runs different scripts at different times.
crontab:
0 4 * * * root /root/scripts/lnx.sh
0 8 * * * root /root/scripts/lnx.sh
fstab on proxmox server:
# remote system with nfs share
192.168.1.254:/var/nfsroot/syd /mnt/syd nfs rw,async,hard,intr,noexec 0 0
The the nfs backup script:
#/bin/bash
#
# copy a new nfs vzdump config
cp /root/scripts/vzdump.syd /etc/vzdump.conf
mount /mnt/syd
vzdump 100
vzdump 101
vzdump 104
umount /mnt/syd
vzdump.conf:
tmpdir: /bck/tmp
dumpdir: /mnt/syd
mode: snapshot
keep-last: 20
remove: 1
compress: gzip
mailto: fred@domain.com
TrueNAS's main function is to support ZFS, and to do that well
requires direct access to hard drive controllers and lots of RAM,
neither of which a Pi has.
Ahhh, thanks for reminding my about the fact that all PVE tools have
CLI commands to do all the things most ppl use the web interface for -
I was going to use a RPi backup server machine to do the backups, but
yea - I could just tell PVE to send them over... awesome.
Maybe using PVE .vma.gz backups will be enough for me - I don't know
that I *need* an entire PBS system.
Ok - now this is just overkill!!! Thanks a ton for all the data here,
I'll be sure to extract this message and use it to help setup my
solution. GREAT STUFF - thanks, vorlon!
That's one thing that would make a pi so much better, is if they had two sata ports.
That's one thing that would make a pi so much better, is if they
had two sata ports.
If you are using the Compute Module, you can get backplanes that have
SATA or even a 1x PCIe slot that you could put a sata HBA in. Jeff
Geerling has done that, but even then, I think ZFS is WAAAAAY too big
a system for a Pi's compute power.
Sysop: | Gary Ailes |
---|---|
Location: | Pittsburgh, PA |
Users: | 103 |
Nodes: | 5 (0 / 5) |
Uptime: | 133:51:45 |
Calls: | 581 |
Files: | 2,171 |
Messages: | 61,391 |