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.
So I was going to mount an external NFS to /mnt/somewhere and backup
that way, but have since learned that its not suggested or supported by ProxMox Backup Server... I now know.
I'm still in the Vmware world, been looking at proxmox as a replacement. Just haven't really done it yet.
I just purchased a Synology 920+ a couple months back and moved my VM backups to the Synology Backup software.
None of this suggests anything, but possibly purchasing a NAS and
setting up NFS that way would be a better option? You'll get more then a backup server but a full NAS.
How does that work? So you run VMware on top of whatever machine/system you're using at the house, and then just load the virtual hard drives
from your NAS?
Well I do have a large NAS, a ProxMox server (with all the production VMs inside that need to be backed up..), and several other systems around the house... Home Assistant, an iMac, etc etc... my PBS backup server backs all of those up; including the NAS.
However, I do want to get a better NAS setup. While I'll probably build my Synology machines really look nice.
niter3 wrote to paulie420 <=-
I'm still in the Vmware world, been looking at proxmox as a
replacement. Just haven't really done it yet.
I just purchased a Synology 920+ a couple months back and moved my VM backups to the Synology Backup software.
paulie420 wrote to niter3 <=-
However, I do want to get a better NAS setup. While I'll probably build
my own, Synology machines really look nice.
I have a DS1621xs+ and it roxx, it runs all my dockers. About 20 dockers,
Synology NAS seem like a good fit if that's all you're running - it's
got mail servers, collaboration servers, DNS servers, VPN servers, even support for running docker containers - all of which I'd rather spin a
VM or container on Proxmox to support.
It has it's own backup tool called "Active Backup for Business". It's pretty damn easy to setup. You just add a the vmware hypervisor type in your credentials, and magic. It sees your VM's. You give it a schedule
and a location to backup to.
I'm not familiar with PBS. I just backup everything to my Synology. VM's as I mentioned, plus I setup the Synology so I can do mac backups using Time Machine.
I have a DS1621xs+ and it roxx, it runs all my dockers. About 20 dockers, including World of Warcraft server. No hickups, 24/7 service. The thing with Synology is it just works. But dont get any low end products.
I got two wildcard domains with LetsCert set up, and all dockers and
board can be reached with the proper subdomains, with SSL.
Synology gets a lot of hate from consumer market as they have vendor
lock in hard drives, memory etc etc. But from a more business
perspective they guarantee it works with those components.
Overpriced? Yes, definately-- for me it was between time and
productivity. And productivity won.
Derp, I understand... I thought you were saying you ran the VMs from yer NAS. I totally get it now.
PBS is like 2nd backup level - it only backs up... ultimately I want to run it off-site.
I have a DS1621xs+ and it roxx, it runs all my dockers. About 20 dockHow do you think this compares to the 920+. This is what I have.
Yea, that machine looks awesome - odd that it only comes w/ 8GB of RAM, wh is plenty for a NAS, but you got 20 containers running... did you upgrade I see the max is 32GB.
Overpriced? Yes, definately-- for me it was between time and productivity. And productivity won.
I don't necessarily think so, altho their pricing is a little odd;
empty - $1599
I have a DS1621xs+ and it roxx, it runs all my dockers. About 20 dockHow do you think this compares to the 920+. This is what I have.
I'm still in the Vmware world, been looking at proxmox as a replaceme Just haven't really done it yet.
I just purchased a Synology 920+ a couple months back and moved my VM backups to the Synology Backup software.
How does that work? So you run VMware on top of whatever machine/system you're using at the house, and then just load the virtual hard drives
from your NAS?
However, I do want to get a better NAS setup. While I'll probably build
my own, Synology machines really look nice.
pAULIE42o
.........
niter3 wrote to poindexter FORTRAN <=-
Synology NAS seem like a good fit if that's all you're running - it's
got mail servers, collaboration servers, DNS servers, VPN servers, even support for running docker containers - all of which I'd rather spin a
VM or container on Proxmox to support.
I have the 920+ with 8gb of memory. I found their vm solution was just
to slow.
Paulie, if you are interested in Synology, google Xpenology it is basically a Synology NAS on a real computer. I have a real Synology
which handles my in house stuff, but I took an old computer I had, put
32 gigs of Ram in it with 4TB of HD in it, I installed Proxmox on it,
then installed a Xpenology VM on it, I use that one to back up my BBS'
and as a File Server as it stores my File Libraries. Every other day,
the Xpenology backs up the HD's to the real Synology so I have a backup
of that.. My BBS' are on a seperate VLan from my in house set up so it works real well for me as my BBS' can not access my in house LAN but my
in house LAN can access my BBS Lan..
Ahhhh; now this sounds right up my alley. I currently use
OpenMediaVault, and its great... but was thinking of using
TrueNAS/FreeNAS for the next build - but will sniff Xpenology; it sounds like it might be a contender.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 88:40:26 |
Calls: | 6,496 |
Calls today: | 7 |
Files: | 12,100 |
Messages: | 5,277,326 |