• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Pfsense as a file backup device

Scheduled Pinned Locked Moved General pfSense Questions
11 Posts 4 Posters 945 Views
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.
  • U
    Ulysses_
    last edited by Oct 11, 2017, 4:47 PM

    Maybe the pfsense firewall can also handle the task of scanning the LAN for shared files and copying them periodically to a huge external USB drive?  Notice I am NOT talking about a file server, but a rudimentary file copier.

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Oct 11, 2017, 4:57 PM

      Sure you could do that with simple script and cron..

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • U
        Ulysses_
        last edited by Oct 11, 2017, 5:06 PM

        This something new to me, how do you do the freebsd equivalent of "copy \mypc\data* d:\today"

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Oct 11, 2017, 5:25 PM

          well you would have to install smb on it unless your servers you doing the copy from support say scp, ftp, nfs that you could just mount.

          I would would not suggest installing samba on your firewall..

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • U
            Ulysses_
            last edited by Oct 11, 2017, 7:03 PM

            Of the network file systems available by default on pfsense, which would perform best over 100base ethernet to copy from windows xp and ubuntu?

            1 Reply Last reply Reply Quote 0
            • U
              Ulysses_
              last edited by Oct 11, 2017, 7:04 PM

              Is rsync available on pfsense?

              1 Reply Last reply Reply Quote 0
              • A
                almabes
                last edited by Oct 12, 2017, 3:21 PM

                This is an exceptionally bad idea.

                1 Reply Last reply Reply Quote 0
                • U
                  Ulysses_
                  last edited by Oct 12, 2017, 9:51 PM

                  Why? Windows machines can be excluded from the backup. Then it is just an NFS mount command, a USB drive mount command, and a cron command in the script. If you can't trust pfsense to do this on the LAN side, you might as well not trust it as a firewall against hackers from the WAN side.

                  1 Reply Last reply Reply Quote 0
                  • F
                    FranciscoFranco
                    last edited by Oct 12, 2017, 11:55 PM

                    However, best security practices say the firewall computer should be dedicated solely to act as a firewall (this reduces the chances of the firewall being compromised), and practically speaking, this would impair the firewall's performance.

                    http://www.techrepublic.com/article/solutionbase-strengthen-network-defenses-by-using-a-dmz/

                    1 Reply Last reply Reply Quote 0
                    • U
                      Ulysses_
                      last edited by Oct 13, 2017, 12:28 AM

                      How do you backup computers in the DMZ zone then, like web servers. All the computers I want to back up are for web browsing, emails and p2p filesharing. So they should be in same zone, the DMZ zone.

                      1 Reply Last reply Reply Quote 0
                      • U
                        Ulysses_
                        last edited by Oct 13, 2017, 12:40 AM Oct 13, 2017, 12:35 AM

                        By the way, copying to the backup can be done with ionice set to maximum niceness and nice set to maximum niceness too so it will hardly be noticeable. If that's not enough, a script can be made to pause the copying if traffic is detected.

                        1 Reply Last reply Reply Quote 0
                        1 out of 11
                        • First post
                          1/11
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received