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

Using fog over Samba for back up and restore

Scheduled Pinned Locked Moved
Linux Problems
3
6
893
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.
  • R
    robertsaron
    last edited by Mar 17, 2021, 12:41 AM

    https://forums.fogproject.org/topic/5176/smb-setup-for-external-storage/21?page=2

    I read that article and that is a bit too technical for me right now. Is there an easy way to connect fog to a SMB drive/folder?

    Or are there any plans in the future to natively support SMB?

    G 1 Reply Last reply Mar 17, 2021, 12:58 AM Reply Quote 0
    • G
      george1421 Moderator @robertsaron
      last edited by Mar 17, 2021, 12:58 AM

      @robertsaron SMB is not native to linux so there will / is a certain amount of overhead to make it work. The performance impact on imaging makes it not a viable option. For smb to work for imaging you would need samba on both ends.

      FOG uses NFS for actual image uploading and downloading. Its native, fast and mature for linux. The real next steps for FOG is to create a secure custom data mover engine to do away with NFS.

      With that said, what is your goal in using smb? Are you trying to extend your image storage capabilities for FOG using a windows server?

      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!

      R 1 Reply Last reply Mar 17, 2021, 11:30 AM Reply Quote 0
      • R
        robertsaron @george1421
        last edited by Mar 17, 2021, 11:30 AM

        @george1421 I have a USB drive plugged into my router, and I set up as a smb device, for backup, storage, etc…

        G 1 Reply Last reply Mar 17, 2021, 11:55 AM Reply Quote 0
        • G
          george1421 Moderator @robertsaron
          last edited by Mar 17, 2021, 11:55 AM

          @robertsaron Does your routers support nfs or only smb?

          Second question, does your fog server have any local disk? I’m still wondering why you want to use this route of a usb drive connected to your router? I’m not saying at the moment it can’t be done, just why go this route?

          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
            robertsaron
            last edited by robertsaron Mar 17, 2021, 10:22 AM Mar 17, 2021, 4:20 PM

            My goal was to image my main Linux drive I have as a laptop, and also my Windows desktop. Then if either one went bad, or if I needed to, I could restore the images to those drives. I picked SMB because it seemed the simplest at the time.

            I could do FTP, and no idea how to set up NFS to the drive. The hard drive plugged into the router is an external USB 3.0 drive.

            This is the Router I purchased: https://www.amazon.com/gp/product/B07MRD1LDZ/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Mar 17, 2021, 6:23 PM

              @robertsaron You missunderstand FOG to be a backup tool. While it can be used to take a backup it’s definitely not what it was made for in the first place and other tools are a way better choice.

              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
              • 1 / 1
              1 / 1
              • First post
                4/6
                Last post

              128

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project