Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Windows7ge

Member
  • Content Count

    10,161
  • Joined

  • Last visited

Awards


About Windows7ge

  • Title
    Writer of Guides & Tutorials
  • Birthday 1994-09-08

Profile Information

  • Gender
    Male
  • Interests
    Computer networking
    Server construction/management
    Virtualization
    Writing guides & tutorials

System

  • CPU
    AMD Threadripper 1950X
  • Motherboard
    ASUS PRIME X399-A
  • RAM
    64GB G.Skill Ripjaws4 2400MHz
  • GPU
    2x Sapphire Tri-X R9 290X CFX
  • Case
    LIAN LI PC-T60B (modified - just a little bit)
  • Storage
    Samsung 960PRO 1TB & 13TB SSD Server w/ 20Gbit Fiber Optic NIC
  • PSU
    Corsair AX1200i
  • Cooling
    XSPC Waterblocks on CPU/Both GPU's 2x 480mm radiators with Noctua NF-F12 Fans
  • Operating System
    Ubuntu 20.04.1 LTS

Recent Profile Visitors

28,886 profile views

Single Status Update

See all updates by Windows7ge

  1. Well, the time has finally come. So long Windows Server 2016!

     

    windows-server-2016.thumb.png.f228fc34e6d3eb75b960bf3182cc267a.png

     

    Hello Ubuntu Server 20.04.1 LTS :D

    htop.thumb.png.76f64d609c98155327af1b9721617ee5.png

     

    Obligatory neofetch.

     

    neofetch.png.6eec15650234e333b3e193c65965e9da.png

     

    Now to setup one mother of a zpool with 20 SSDs.

    1. Show previous comments  4 more
    2. 2FA

      2FA

      Umm, it's impossible for there to be two identical directories as either the mount path will be different or something identifying the path as a different host, such as the case of doing it over ssh. Also as far as Linux itself is concerned, a dataset is a directory/folder.

       

      This is the tldr for rsync which may help. More details on the options themselves in the man page ofc.

      ~ ❯ tldr rsync
      
        rsync
      
        Transfer files either to or from a remote host (not between two remote hosts).
        Can transfer single files, or multiple files matching a pattern.
      
        - Transfer file from local to remote host:
          rsync path/to/local_file remote_host:path/to/remote_directory
      
        - Transfer file from remote host to local:
          rsync remote_host:path/to/remote_file path/to/local_directory
      
        - Transfer file in [a]rchive (to preserve attributes) and compressed ([z]ipped) mode with [v]erbose and [h]uman-readable [p]rogress:
          rsync -azvhP path/to/local_file remote_host:path/to/remote_directory
      
        - Transfer a directory and all its children from a remote to local:
          rsync -r remote_host:path/to/remote_directory path/to/local_directory
      
        - Transfer directory contents (but not the directory itself) from a remote to local:
          rsync -r remote_host:path/to/remote_directory/ path/to/local_directory
      
        - Transfer a directory [r]ecursively, in [a]rchive to preserve attributes, resolving contained soft[l]inks , and ignoring already transferred files [u]nless newer:
          rsync -rauL remote_host:path/to/remote_file path/to/local_directory
      
        - Transfer file over SSH and delete local files that do not exist on remote host:
          rsync -e ssh --delete remote_host:path/to/remote_file path/to/local_file
      
        - Transfer file over SSH and show global progress:
          rsync -e ssh --info=progress2 remote_host:path/to/remote_file path/to/local_file

       

    3. Windows7ge

      Windows7ge

      The plan is:

      1. Create the pool
      2. Create the datasets
      3. RSYNC backup server to primary server

      Because I was using Windows Server 2016 the backup server doesn't use datasets it's just normal folders so I wanted to ask if RSYNC would do anything funny if I pre-create datasets then copy the original structure over those.

       

      Beyond this the plan is to switch over to using zfs send once I learn how to use it.

    4. 2FA

      2FA

      Nah, you won't have any issues. Just take note of these two examples:

      - Transfer a directory and all its children from a remote to local:
          rsync -r remote_host:path/to/remote_directory path/to/local_directory
      
        - Transfer directory contents (but not the directory itself) from a remote to local:
          rsync -r remote_host:path/to/remote_directory/ path/to/local_directory
      

      Make sure you have trailing slash like in the second example to only move the contents of the folder to the dataset and not the folder itself into the dataset.

    5. Show next comments  3 more
×