ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ownCloud Backups

    IT Discussion
    5
    15
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • alex.olynykA
      alex.olynyk
      last edited by

      Ive been creating Hyper-V snapshots before updating CentOS and ownCloud but want to get a more solid backup procedure in place. Im thinking when the server goes down for whatever reason i dont want to be screwed. I want to backup the OC user accounts first. Can anyone recommend a best practice for backing up user accounts? Files and documents are viewed, downloaded and deleted so I dont a reason to backup any of them at the moment.

      C 1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        Interesting, so basically you need a system restore sans data. That's the backwards of how we normally think about it.

        Four common approaches to this....

        • Remove data, create a pristine image of the system. Keep on hand.
        • Store data and database on separate logical drive, only backup main drive.
        • Build system from script rather than backing up.
        • Build system using DevOps tools (Chef, Ansible, Puppet) and take no backups.
        alex.olynykA 1 Reply Last reply Reply Quote 0
        • alex.olynykA
          alex.olynyk @scottalanmiller
          last edited by

          @scottalanmiller What tool do you recommend to create a system image?

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @alex.olynyk
            last edited by

            @alex.olynyk said in ownCloud Backups:

            @scottalanmiller What tool do you recommend to create a system image?

            Hyper-V does this, it's built in.

            alex.olynykA 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Veeam will do this for Hyper-V for free, too.

              1 Reply Last reply Reply Quote 0
              • alex.olynykA
                alex.olynyk @scottalanmiller
                last edited by

                @scottalanmiller so just locate the file containing the snapshot and copy it to another location?

                1 Reply Last reply Reply Quote 0
                • alex.olynykA
                  alex.olynyk
                  last edited by

                  i guess what i am asking is Can I restore the server and application from a snapshot?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • alex.olynykA
                    alex.olynyk
                    last edited by

                    for example if i needed to restore to another/different Hyper-V server?

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @alex.olynyk
                      last edited by

                      @alex.olynyk said in ownCloud Backups:

                      i guess what i am asking is Can I restore the server and application from a snapshot?

                      Yes, absolutely. All Veeam does for you (more or less) is automate the snapshot and do the copy for you to another place. It's free here, so use Veeam Free for your needs. But Hyper-V with exported snapshots done manually would certainly work.

                      1 Reply Last reply Reply Quote 1
                      • JaredBuschJ
                        JaredBusch
                        last edited by

                        All hypervisor level backups are little more than the backup process creating a snapshot so it can copy the VMDK/VHDX file without it being wrote to while it copies it, then merging the snapshot back in.

                        The little more is copying the metadata for the VM. But, you can recreate from nothing but the VMDK/VHDX files if you actually know what you are doing. I wouldn't want to, but you could.

                        Just use Veeam's free offering to create a VeeamZIP of your VM's.

                        stacksofplatesS 1 Reply Last reply Reply Quote 1
                        • stacksofplatesS
                          stacksofplates @JaredBusch
                          last edited by

                          @JaredBusch said in ownCloud Backups:

                          The little more is copying the metadata for the VM. But, you can recreate from nothing but the VMDK/VHDX files if you actually know what you are doing. I wouldn't want to, but you could.

                          One reason why I love KVM. All of the metadata is an XML file that can be copied and moved really easily.

                          JaredBuschJ 1 Reply Last reply Reply Quote 1
                          • JaredBuschJ
                            JaredBusch @stacksofplates
                            last edited by

                            @stacksofplates said in ownCloud Backups:

                            @JaredBusch said in ownCloud Backups:

                            The little more is copying the metadata for the VM. But, you can recreate from nothing but the VMDK/VHDX files if you actually know what you are doing. I wouldn't want to, but you could.

                            One reason why I love KVM. All of the metadata is an XML file that can be copied and moved really easily.

                            Pretty much the same with Hyper-V and ESXi. But the point was why worry about it. Just use a product that gets it all in one swoop.

                            stacksofplatesS 1 Reply Last reply Reply Quote 1
                            • stacksofplatesS
                              stacksofplates @JaredBusch
                              last edited by

                              @JaredBusch said in ownCloud Backups:

                              @stacksofplates said in ownCloud Backups:

                              @JaredBusch said in ownCloud Backups:

                              The little more is copying the metadata for the VM. But, you can recreate from nothing but the VMDK/VHDX files if you actually know what you are doing. I wouldn't want to, but you could.

                              One reason why I love KVM. All of the metadata is an XML file that can be copied and moved really easily.

                              Pretty much the same with Hyper-V and ESXi. But the point was why worry about it. Just use a product that gets it all in one swoop.

                              Ah never used them so that explains why I didn't know that ha.

                              1 Reply Last reply Reply Quote 0
                              • C
                                Cdarw @alex.olynyk
                                last edited by

                                @alex.olynyk I think there are better ways to do backups then just hypervisor. Proper backups can be done like this: https://docs.nextcloud.com/server/9/admin_manual/maintenance/backup.html By the way. You should consider to switch to Nextcloud because it has some additional important security features. A backup like that can be done with a cronjob. Super easy.

                                JaredBuschJ 1 Reply Last reply Reply Quote 1
                                • JaredBuschJ
                                  JaredBusch @Cdarw
                                  last edited by

                                  @Cdarw said in ownCloud Backups:

                                  @alex.olynyk I think there are better ways to do backups then just hypervisor.

                                  No, there is no better way than a hypervisor level backup for a full system backup.

                                  Proper backups can be done like this:
                                  https://docs.nextcloud.com/server/9/admin_manual/maintenance/backup.html

                                  If you need some component level backup, then a backup designed for that component is most definitely a good idea.

                                  By the way. You should consider to switch to Nextcloud because it has some additional important security features. A backup like that can be done with a cronjob. Super easy.

                                  Nextcloud is certainly not something I would deploy full force anywhere yet. It is getting close.

                                  1 Reply Last reply Reply Quote 1
                                  • 1 / 1
                                  • First post
                                    Last post