Comments (6)
Can you share your command line input?
from powershell-backup-script.
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.
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.
Ja es sind .FDB Dateien (FireDB / Firebird)
from powershell-backup-script.
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.
I am not really maintaining this anymore. Maybe one of the Forks has an updated version
from powershell-backup-script.
Related Issues (17)
- Files in the root folder not copied & additionally folder created HOT 3
- Wrong order with staging HOT 1
- Automated script start HOT 2
- $ExcludeDirs supporting regex / wildcard? HOT 1
- Notification Mail Attachement HOT 1
- Feature Request - Stop specific services prior running the backup HOT 1
- Feature Request - Add exclusion of specific files within backup source path HOT 1
- Junction Link giving errors HOT 1
- keine Methode mit dem Namen "op_Addition" HOT 2
- PermissionDenied error occurs in some conditions HOT 1
- Error running backupscript.ps1 HOT 3
- SendMail issue HOT 2
- Error running in PowerShellISE HOT 1
- Win10 Pro script fail when run via task scheduler HOT 1
- Files in the root folder are not being copied HOT 4
- Exclude files does not work properly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershell-backup-script.