Skip to content

Bouly/BackupScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BackupScript [not finished]

A simple automated script to back up file with some features

#581845 Installation

1️⃣ Place the script on C:\

2️⃣ Rename the folder BackupScript (remove -main)

3️⃣ Add user with UserManager.ps1

If you launch backup.ps1 and email.ps1 for the first time, it will add a new task scheduler and the backup script will start automatically twice a day. The email script will start every Friday.

If your dont have acces to the computer the backup will not work

Configure the script if needed ⤵️

#48A14D Configs

To use the script correctly, you must configure the following files

#48A14D Add user on BackupConfig.csv file

You can use UserManager.ps1 Script to add user easily

• PC

The name of the computer

• BackupDirectory

The path of the backup directory (exemple: C:\Bouly\Documentation)

• Day

The backup day

• Hour

The backup hour (if the backup script start and the hour has passed)

• Status

The script will automatically fill this field

#48A14D Config de backup.ps1

• $UserAdmin

Enter your Administrator user

#48A14D Config de email.ps1

• $smtpServer

Enter your smtp server

• $EmailFrom

Enter the email sender

• $EmailTo

Enter the email receiver

• $emailSubject

You can change the subject email

• $emailBody

You can change the body email

#1589F0 Features

#1589F0 A small script to add user

A script to add and remove user from a CSV

#1589F0 Check computer state

Check if the computer is Online to make the backup or not

#1589F0 Weekly email report

A script to send email with backup status

#f03c15 How it works

#f03c15 Backup

#f03c15 Email

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published