ProxMox automatic periodic snapshots with help of cv4pve. Feat ZFS, FreeNAS/TrueNAS, ZFS-over-iSCSI.

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 30

  • @suempu
    @suempu 7 месяцев назад

    @Gateway IT Tutorials: do you have a tutorial on how to make ZFS over iscsi work with proxmox? I tried with the newest versions but with no luck. Even patched from the most recent source code, but it is not working with TrueNAS. Seems not to work because truenas no longer use istgt for iscsi implementation. Do you have any suggestions for me?

  • @selfhosted
    @selfhosted 4 года назад +2

    Cool script! Why not just take advantage of auto backups instead through the datacenter?

    • @GatewayITTutorials
      @GatewayITTutorials  4 года назад +1

      Backups are different. Snaps are incremental, but backups are full every time.
      So if your VM is 100GB, after 5 backups, there's 500GB of space used.

    • @selfhosted
      @selfhosted 4 года назад +1

      Gateway IT Tutorials you can overwrite backups instead of letting them stack up. I do love snapshots though.

    • @GatewayITTutorials
      @GatewayITTutorials  4 года назад

      @@selfhosted yes, true. But in that case you have a limited number of backups) when with snaps, on ZFS at least, numbers are limitless)
      Backups and snaps are just different. But there is a use case for both)

  • @JustSomeGuy009
    @JustSomeGuy009 4 года назад +1

    Edit: looks like I was mistaken. Proxmox doesn't appear to have a built in auto snapshot features. Just ability to create manual snapshots. Only automatic backups which don't use ZFS features.
    Probably a worthwhile feature request to have snapshot scheduling and retention exposed to the proxmox web UI.

    • @GatewayITTutorials
      @GatewayITTutorials  4 года назад

      Thanks for your comment.
      There were feature requests like that on ProxMox Jira and forums, but no one implemented them. That's why I decided to make a video that describes the functionality :)
      If there was a gui option, what would be the point of me wasting my time to make and edit this vid?)

  • @slickace1862
    @slickace1862 4 года назад +3

    Can you do a video showing ZSH over ISCSI?

    • @GatewayITTutorials
      @GatewayITTutorials  4 года назад +2

      Sure thing. I was planning on doing so anyway :)

    • @geoffhart
      @geoffhart 3 года назад +1

      @@GatewayITTutorials I'm also interested in this (ZFS over iSCSI using TrueNAS). I'm even more interested in your opinion about using TrueNAS as your iSCSI server. I'm about to build one, but I see there are some alternatives (OMV, AMAHI, OpenFiler, ...) and wondered which would be the best choice for iSCSI.

    • @GatewayITTutorials
      @GatewayITTutorials  3 года назад

      @@geoffhart I am against home built iSCSI storage altogether, hyperconverged setup is better, gives you a lot more flexibility.
      But if you made up your mind about central storage, with iSCSI, TrueNAS is the only viable solution. OMV and others, target a little different usecase, so don't overthink it)

    • @geoffhart
      @geoffhart 3 года назад +1

      @@GatewayITTutorials Thanks! That's the advice I was looking for! As for "hyperconverged", from their web site they appear to be some sort of cloud service? But with all the recent activity over here in the US in 2020, I'm intentionally trying to avoid all cloud services ;). I want to be able to pack up my 4 systems (and a few RPis) and be able to setup shop on a deserted island (or my cabin up north, with 20 solar panels) and work like I'm at work :D - that's what got me looking at TrueNAS in the first place.

    • @GatewayITTutorials
      @GatewayITTutorials  3 года назад +1

      @@geoffhart hyperconverged is a type of server setup) here is a link to ProxMox docs, if you'd like to find out more:
      pve.proxmox.com/wiki/Hyper-converged_Infrastructure
      That's a very cool project of yours) would love to hear how it turns out)

  • @kognitiva
    @kognitiva 3 года назад +1

    How does snapshotting hourly affect services running on the host? I noticed that my nextcloud install froze up during snapshotting when including ram.

    • @GatewayITTutorials
      @GatewayITTutorials  3 года назад

      If you include RAM - Proxmox pauses the VM until the contents of the RAM are fully dumped. Storage only snapshot should be instant (at least on ZFS it's instant) and should not affect your VM in any way.

    • @kognitiva
      @kognitiva 3 года назад +1

      @@GatewayITTutorials You're the best thanks!: )

  • @jefferytse
    @jefferytse Год назад

    I can't even get zfs over iscsi to work after the script. I wasn't able to write on it.

  • @prashantkachhawaha3707
    @prashantkachhawaha3707 4 года назад +1

    Hi nice work can you help me ....i am using proxmox 6.2 with 4 window n 2 linux guest...i wonder can i fix a corn job for window like i need 4 window up at 10am each day n shutdown at 7pm....

    • @GatewayITTutorials
      @GatewayITTutorials  4 года назад

      It's relatively easy to do. Is it just one ProxMox host? Or multiple?

    • @prashantkachhawaha3707
      @prashantkachhawaha3707 4 года назад +1

      Only one host n 7 guest window n some linux...linux i need 24*7 but window i need 10am to 7pm

    • @prashantkachhawaha3707
      @prashantkachhawaha3707 4 года назад

      I used in aws cloud watch pretty help full ...i need with proxmox...thank in advance

    • @GatewayITTutorials
      @GatewayITTutorials  4 года назад +1

      @@prashantkachhawaha3707 you can stop and start VMs with commands:
      qm start VMID
      or
      qm stop VMID
      VMID is the VM or container number inside of ProxMox. Like 100, or 1004.
      From here you could create two bash scripts with few lines to start and stop the required list of VMs. Then just drop those to crontab as I did with the snapshotting tool.

    • @prashantkachhawaha3707
      @prashantkachhawaha3707 4 года назад +1

      So i need one more linux system for all those script...or just in console of proxmox?

  • @sigtom30
    @sigtom30 3 года назад +1

    Did you use this to setup zfs over iscsi?
    github.com/TheGrandWazoo/freenas-proxmox
    Im about to setup TrueNAS using zfs over iscsi, and have been researching how to do so. Any tips you have would be appreciated!

    • @GatewayITTutorials
      @GatewayITTutorials  3 года назад +1

      Yes, this is exactly what I used. Keep in mind that you'll have to apply the patch after each update on ProxMox.
      So I would recommend keeping away from updates at all (on both Prox and NAS) because I witnessed too many problems :)

    • @sigtom30
      @sigtom30 3 года назад +1

      @@GatewayITTutorials I hope to rack the new server in the DC in the next couple of weeks. I may make a video on how to use the GitHub repo to use zfs over iscsi. Moving from NFS shared to my Proxmox cluster on a Synology NAS to a dedicated server running TrueNAS Scale and zfs over iscsi. Should be an interesting process. Thanks for the info!