locked
Powershell incremental backup script RRS feed

  • Question

  • Hi,

    I am trying to adapt https://gallery.technet.microsoft.com/scriptcenter/Powershell-incremental-03ba0b4e script to run with AEM, but every time I get result that files skipped. Can you please explain why?

    This is output

    It creates xml file and folder, but skipping copy

    Name           Used (GB)     Free (GB) Provider      Root                      
    ----           ---------     --------- --------      ----                      
    T                                      FileSystem    \\10.*.*.120\****..

    PSPath            : Microsoft.PowerShell.Core\FileSystem::\\10.*.*.120\****\****\***
    PSParentPath      : Microsoft.PowerShell.Core\FileSystem::\\10.*.*.120\*****
    PSChildName       : Eglu
    PSDrive           : T
    PSProvider        : Microsoft.PowerShell.Core\FileSystem
    PSIsContainer     : True
    Name              : ****
    Parent            : ****
    Exists            : True
    Root              : \\10.*.*.120\****
    FullName          : \\10.*.*.120\****
    Extension         : 
    CreationTime      : 11/1/2015 2:01:38 PM
    CreationTimeUtc   : 11/1/2015 1:01:38 PM
    LastAccessTime    : 11/1/2015 2:01:38 PM
    LastAccessTimeUtc : 11/1/2015 1:01:38 PM
    LastWriteTime     : 11/1/2015 2:01:38 PM
    LastWriteTimeUtc  : 11/1/2015 1:01:38 PM
    Attributes        : Directory
    BaseName          : Eglu
    Mode              : d----

    T:\Gedsted\Eglu\20151101135431.F
    T:\Gedsted\Eglu\20151101135431.F.xml
    Preparing backup...
    Skiping C:\***\****\  bytes
    Skiping C:\***\****\cdApp.bat 28 bytes
    Skiping C:\***\****\synchPics.bat 194 bytes
    Skiping C:\***\****\synchPics.txt 9016 bytes
    Skiping C:\***\****\synchUpdate.bat 212 bytes
    Skiping C:\***\****\synchUpdateLog.txt 853335 bytes

    Summary
    Backup size MB :  0.822815895080566
    Copied MB      :  0
    Copied count   :  0
    Failed count   :  0
    Duration       : 00:00:00


    • Moved by Bill_Stewart Thursday, December 3, 2015 3:03 PM This is not support forum for gallery scripts
    Sunday, November 1, 2015 1:08 PM

Answers

  • It was a pretty bad script.  Just use RoboCopy.  It has all of that built in.

    \_(ツ)_/

    Monday, November 2, 2015 9:14 AM

All replies