• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

What Backup Solution do you use?

Scheduled Pinned Locked Moved
General
6
9
2.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.
  • J
    Julianh
    last edited by Nov 18, 2014, 2:02 PM

    The Fog servers up and running, everything’s fine. I have a USB drive plugged into it, The same size as the disk in the server.
    What backup solution would you recommend? To backup the Fog server and all images on it, It only needs run once every week, but idealy the restore would be image based, a “single” button style restore would be ideal.

    What do you use to back it all up?

    Julian

    1 Reply Last reply Reply Quote 0
    • V
      VincentJ Moderator
      last edited by Nov 18, 2014, 9:40 PM

      Once I create an image I usually copy off the image files to my NAS. I usually end up with many versions as the image develops and gets tested with new hardware and software.

      Then my NAS is backed up to a secondary and offsite.

      My Fog server is a VM and the VHD gets copied off at specified intervals to the NAS as well.

      some duplication but worth the extra space for me as I can go back to a specific point in time while developing a new image and then get rid of the copies once the image is ready.

      The restore is as simple as importing the VM with the VHD back again to a VM host and changing any images that may need it.

      1 Reply Last reply Reply Quote 0
      • D
        drjam
        last edited by Nov 18, 2014, 9:53 PM

        Im going to start using BackupAssist. Currently ive made a manual copy of the virtual machines on my ESXI server onto a portable HDD. not the best i know…but BA is coming!

        1 Reply Last reply Reply Quote 0
        • G
          Gilou
          last edited by Nov 18, 2014, 10:39 PM

          A quick & dirty script, not tested that much, but it gives the main idea 🙂

          [CODE]#! /bin/bash

          destination=“Wherever_you_want”

          rsync -a /opt/fog/ $destination/opt
          rsync -a /tftpboot/ $destination/tftpboot
          rsync -a /var/www/fog/ $destination/www
          rsync -a /images/ $destination/images

          mysqldump fog | bzip2 -c > fog.sql.bz2
          rsync fog.sql.bz2 $destination
          [/CODE]

          1 Reply Last reply Reply Quote 0
          • J
            Julianh
            last edited by Nov 19, 2014, 9:50 AM

            Thank you all, Gilou’s script looks particulalry nice.
            Am I right in assumingthat in the event of failure, a reinstall of the Os, and Fog then a copy back from the “destination” would result in a complete “back to the way it was” restore?

            1 Reply Last reply Reply Quote 0
            • G
              Gilou
              last edited by Nov 19, 2014, 10:19 AM

              Well… There are a few issues with my approach:

              • fog UNIX password
              • fog database credentials.

              If you want to backup it all, you’d need /etc/password & /etc/shadow and the mysql database in mysql… But I’d say it’s easier just to get the info out of the DB, and then passwd fog, then set the mysql password as well

              1 Reply Last reply Reply Quote 0
              • J
                Julianh
                last edited by Nov 19, 2014, 10:35 AM

                Anyone used deja dup?

                [url]https://wiki.gnome.org/action/show/Apps/DejaDup?action=show&redirect=DejaDup[/url]

                I’ll have to add gnome, but if it does the job.

                1 Reply Last reply Reply Quote 0
                • S
                  Snyder19 Banned
                  last edited by Jan 9, 2015, 7:41 AM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • F
                    fragon456 Banned
                    last edited by Feb 16, 2015, 8:11 AM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    144

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project