Skip to content

This repo contains a PowerShell script that backups a given directory in S3

Notifications You must be signed in to change notification settings

fwelschen/windows-backup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

windows-backup-script

Purpose

Powershell script that backups a given directory in an S3 bucket. After a file is safelly uploaded, it's removed from local disk to prevent filling up.

Note: The aws-S3 client has to be already configured. Please follow these instruccions

Variables you can configure

  • DestinationBucket = bucketName Name of the bucket
  • DestinationFolder = "app_server_backups\prd" Copy files to this location inside the bucket
  • BackupDir = "C:\Logs" Local directory will be backed up
  • Retries = 3 Number of retries to upload a file if it fails

About

This repo contains a PowerShell script that backups a given directory in S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published