Giter VIP home page Giter VIP logo

Comments (4)

Dergonic avatar Dergonic commented on July 27, 2024 1

@GutierrezDev, The part you removed contains basically 2 things :

  • "-Attributes D+!ReparsePoint, D+H+!ReparsePoint" I just filtering the folder you are listing so it includes any "Directory which is not a ReparsePoint" and all "Hidden directory which is not a ReparsePoint".
    For Reparse point definition, I'll redirect you to google or there (https://jp-andre.pagesperso-orange.fr/junctions.html) as it is out of my own comprehension.

  • "-ErrorVariable +errItems -ErrorAction SilentlyContinue" is only ment to be the way the script handle the errors/exception and the way it is logged.

from powershell-backup-script.

GutierrezDev avatar GutierrezDev commented on July 27, 2024

Hi @SerWax I have the same problem.
Also I did a little test to verify if solves the problem.
inside the make-backup function I remove this "-Attributes D+!ReparsePoint, D+H+!ReparsePoint -ErrorVariable +errItems -ErrorAction SilentlyContinue" in the first Get-ChildItem - LiteralPath $Backup - recurse.

So i will be like this image. Hope this works for you too.
image
@Seidlm hope this help identifying the problem and solving. I dont know what other problems could happen removing -Attributes D+!ReparsePoint, D+H+!ReparsePoint -ErrorVariable +errItems -ErrorAction SilentlyContinue. Im new to powershell scripting.

from powershell-backup-script.

gamebird92 avatar gamebird92 commented on July 27, 2024

i got the same issue too, the script only copies directories to the zip.

I tried to solve that issue, but no luck so far.

from powershell-backup-script.

Seidlm avatar Seidlm commented on July 27, 2024

Solved with v2 Release

from powershell-backup-script.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.