Results 1 to 1 of 1

Thread: Backup only .git dirs inside other dirs

  1. #1
    Join Date
    Jul 2015
    Posts
    1

    Default Backup only .git dirs inside other dirs

    On one drive I have many directories each containing other files and directories. Some of the directories have inside also a .git dir. I want to backup the full structure of directories to the .git dirs with only the contents of the .git dirs being backedup.

    Can I do it with Amanda? How can I configure it that way?

    Example:

    +--Dir1
    +--Dir2+--.git---GitFilesAndDirectories2
    | +--OtherDir2.1
    | +--otherFiles2
    |
    +--Dir3+--.git---GitFilesAndDirectories3
    +--OtherDir3.1+--.git---GitFilesAndDirectories3.1
    | +--OtherDirsAndFiles
    |
    +--OtherDir3.2---OtherDirsAndFiles4
    +--OtherFiles3

    I want to endup with this final backup structure and the rest to be ignored

    +--Dir2---.git---GitFilesAndDirectories2
    |
    +--Dir3---.git---GitFilesAndDirectories3
    +--OtherDir3.1---.git---GitFilesAndDirectories3.1

    PS: I've got a Windows 8.1 machine
    Last edited by scu; July 23rd, 2015 at 06:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •