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

Question about moving images to another fog server

Scheduled Pinned Locked Moved
General
4
7
6.2k
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.
  • D
    darkxeno
    last edited by May 29, 2014, 1:55 PM

    I just installed a slave Fog server over at other office across town so they could push images faster then 8 hours going across our WAN link . I only need to move a hand full of my Images over there how can I do this and have the new fog server recognize the images as well.

    Also what would be really awesome if there is a way that i can make the 2 fog servers sync with each other so that if a new image is created on ether one it will copy that image over to the other server. this may be a feature request tho.

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by May 29, 2014, 2:04 PM

      image replication for storage servers already exists, though it is designed to replicate all images and is not customizable

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by May 29, 2014, 2:05 PM

        Also,

        What you’re describing is exactly what the Location Plugin was designed for.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • D
          darkxeno
          last edited by May 29, 2014, 2:07 PM

          [quote=“Tom Elliott, post: 28507, member: 7271”]Also,

          What you’re describing is exactly what the Location Plugin was designed for.[/quote]
          Oh nice is there a way to just manually transfer some images now?

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by May 29, 2014, 2:11 PM

            Sure,

            You can use rsync or scp, though I think in your particular case, scp will probably work better.

            If both “servers” are in the same network this will GREATLY increase the speed at doing this.

            From the “main” fog server with the images currently on run:
            [code]scp -r /images X.X.X.X:/[/code]

            This will copy the enter images directory on the “new” server in the same location.

            Once the transfer is complete on the “New” server run:
            [code]touch /images/{.mntcheck,dev/.mntcheck}
            chmod 777 -R /images[/code]

            You should be complete after this.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • D
              darkxeno
              last edited by May 29, 2014, 2:20 PM

              [quote=“Tom Elliott, post: 28510, member: 7271”]Sure,

              You can use rsync or scp, though I think in your particular case, scp will probably work better.

              If both “servers” are in the same network this will GREATLY increase the speed at doing this.

              From the “main” fog server with the images currently on run:
              [code]scp -r /images X.X.X.X:/[/code]

              This will copy the enter images directory on the “new” server in the same location.

              Once the transfer is complete on the “New” server run:
              [code]touch /images/{.mntcheck,dev/.mntcheck}
              chmod 777 -R /images[/code]

              You should be complete after this.[/quote]
              Sorry to keep asking question but i only need to copy like 4 images how would i just copy those 4

              1 Reply Last reply Reply Quote 0
              • W
                Wayne Workman
                last edited by Jan 13, 2017, 3:47 AM

                For future readers: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

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

                149

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project