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

Backing up user profiles/data before deploying image

Scheduled Pinned Locked Moved
General
8
27
6.5k
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.
  • G
    george1421 Moderator @RobertD
    last edited by george1421 May 15, 2019, 1:48 PM May 15, 2019, 7:48 PM

    @RobertD Oh that’s a easy one. That is because /images is read-only at the share level. That is why fog uploads to /images/dev which is read-write at the share level.

    showmount -e 127.0.0.1 might show this or /etc/exports will.

    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!

    1 Reply Last reply Reply Quote 0
    • R
      RobertD
      last edited by May 15, 2019, 7:50 PM

      So we should be mounting to a sub directory in images/dev…

      Export list for 172.31.16.155:
      /images/dev *
      /images     *
      
      1 Reply Last reply Reply Quote 0
      • E
        EduardoTSeoane @RobertD
        last edited by EduardoTSeoane May 15, 2019, 1:57 PM May 15, 2019, 7:50 PM

        @RobertD

        add it to /etc/exports as an rw share
        then execute as root

        echo "/images/userbackup *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=2)" >> /etc/exports
        exportfs -a
        systemctl restart rpcbind # or something like i dont remember de name exactly
        systemctl restart ntfs-server
        

        Try it if you can.

        G 1 Reply Last reply May 15, 2019, 7:52 PM Reply Quote 0
        • G
          george1421 Moderator @EduardoTSeoane
          last edited by May 15, 2019, 7:52 PM

          @EduardoTSeoane said in Backing up user profiles/data before deploying image:

          add it to /etc/exports as an rw share

          You can do that just watch your IDs and pick the next integer.

          something like

          /images/userbackup *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=2)
          

          Then an

          exportfs -a
          showmount -e 127.0.0.1
          

          should show the new share.

          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!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by May 15, 2019, 7:56 PM

            @EduardoTSeoane said in Backing up user profiles/data before deploying image:

            echo “/images/userbackup *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=2)”

            Guess you meant:

            echo "/images/userbackup *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=2)" >> /etc/exports
            ...
            

            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

            E 1 Reply Last reply May 15, 2019, 7:58 PM Reply Quote 0
            • R
              RobertD
              last edited by May 15, 2019, 7:56 PM

              Wow you guys are a great help. We were looking at folder permissions that whole time when it was the share permissions.

              1 Reply Last reply Reply Quote 0
              • E
                EduardoTSeoane @Sebastian Roth
                last edited by May 15, 2019, 7:58 PM

                @Sebastian-Roth
                yes, i want to say that i correct it in the post

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                2 / 2
                • First post
                  26/27
                  Last post

                220

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project