Giter VIP home page Giter VIP logo

Comments (6)

gamebird92 avatar gamebird92 commented on July 27, 2024

Can you share your command line input?

from powershell-backup-script.

Hero2799 avatar Hero2799 commented on July 27, 2024

Sure.

#Variables
$Destination = "C:\PRINT\Datensicherung\Data\Datenbanken" #Hierher Kopieren

$Versions = "3" #Wieviele Backups?
$Backupdirs = "C:\Program Files\Lexmark\Solutions\firebird\data" #Welche Ordner für Backup?
$ExcludeDirs = #Wird nicht Kopiert

$logPath = "C:\temp\DatenbankBackup"
$LogfileName = "Log" #Log Name
$LoggingLevel = "3" #LoggingLevel, 1=smart, 3=Heavy

$Zip = $true #Zip Backup Destination
$Use7ZIP = $false #7ZIP Module wird installiert https://www.powershellgallery.com/packages/7Zip4Powershell/2.0.0
$UseStaging = $false #nur wenn ZIP benutzt wird, Datei wird nach Staging, gezipt und kopiert zum Ziel, Bandbreite sparen
$StagingPath = "C:\temp_Staging"

$RemoveBackupDestination = $true #Löschen der Kopien nach dem Zip, nur wenn $Zip true

Powershell Output:

PS C:\Users\admin\Desktop> C:\Users\admin\Desktop\Test.ps1
Starte das Script
Erstelle Backup Dirs und prüfe alle Ordner ob vorhanden
Erstelle Backupdir C:\PRINT\Datensicherung\Data\Datenbanken\Backup-16-08-2022
Überprüfe ob BackupDirs vorhanden ist
C:\Program Files\Lexmark\Solutions\firebird\data\ is fine
Vorprüfung war OK, starten mit dem Backup
Ermitle Dateigröße und Überprüfung der Dateien
Failed to Measure Backupdir
Fehler beim Aufrufen der Methode, da [System.IO.FileInfo] keine Methode mit dem Namen "op_Addition" enthält. Der angeforderte Registrierungszugriff ist unzu
lässig.
BAckUpCheck failed so do not try to ZIP
Cleanup Backup Dir
Check if there are more than 3 Zip in the Backupdir

from powershell-backup-script.

gamebird92 avatar gamebird92 commented on July 27, 2024

Ich denke das Problem beginnt bei "Failed to Measure Backupdir" - um welche Dateitypen handelt es sich in dem Ordner? Dein Destination erwähnt Datenbanken?

from powershell-backup-script.

Hero2799 avatar Hero2799 commented on July 27, 2024

Ja es sind .FDB Dateien (FireDB / Firebird)

from powershell-backup-script.

gamebird92 avatar gamebird92 commented on July 27, 2024

Fraglich ob die verwendeten Powershell Befehle für diese Dateien funktionieren - bin sicher kein Experte aber ich vermute das Problem liegt nicht am Backup-Script.

from powershell-backup-script.

Seidlm avatar Seidlm commented on July 27, 2024

I am not really maintaining this anymore. Maybe one of the Forks has an updated version

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.