ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Dar (Disk ARchive)

    IT Discussion
    3
    4
    312
    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.
    • black3dynamiteB
      black3dynamite
      last edited by

      I discovered this shell command called dar that is used to backup files.

      http://dar.linux.free.fr/
      http://dar.linux.free.fr/doc/Limitations.html
      http://dar.linux.free.fr/doc/presentation.html
      http://dar.linux.free.fr/doc/man/dar.html
      http://dar.linux.free.fr/doc/Tutorial.html
      http://dar.linux.free.fr/doc/mini-howto/dar-differential-backup-mini-howto.en.html

      For Windows Users
      https://chocolatey.org/packages/dar
      choco install dar

      When using dar on Windows, the path is based on the Unix way.
      c:\temp\user1 has to be written /cygdrive/c/temp/user1

      # Create backup
      dar -c /cygdrive/c/temp/backup -R /cygdrive/c/temp/user1
      
      # Restore backup
      dar -x /cygdrive/c/temp/backup -R /cygdrive/c/temp/restore
      
      # Test backup
      dar -t /cygdrive/c/temp/backup
      
      # Compare backup
      dar -d /cygdrive/c/temp/backup -R /cygdrive/c/temp/user1
      
      # List backup contents
      dar -l /cygdrive/c/temp/backup
      

      For macOS Users
      https://formulae.brew.sh/formula/dar
      brew install dar

      For Fedora Users
      sudo dnf install dar

      For CentOS Users
      sudo yum install dar

      For Debian/Ubuntu Users
      sudo apt install dar

      1 Reply Last reply Reply Quote 1
      • ObsolesceO
        Obsolesce
        last edited by

        Looks pretty standard at a glance. How's it differ over other disk archiving backup tools?

        black3dynamiteB 1 Reply Last reply Reply Quote 0
        • travisdh1T
          travisdh1
          last edited by

          People were starting to talk about how dar would replace tar in general usage way back in the early 2000s. Nice to see that it hasn't been completely forgotten about.

          1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite @Obsolesce
            last edited by

            @Obsolesce said in Dar (Disk ARchive):

            Looks pretty standard at a glance. How's it differ over other disk archiving backup tools?

            I still prefer restic, but I could use this as an alternative to tar.

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