PowerShell 7z Backup and Restore Script

PowerShell 7z Backup and Restore Script

Jan 03, 2024
240

Hello everyone!

Today I present you my little project that will help you make 7z backups from a convenient graphical interface.
This project was originally created to save game save files in a compact form, without GUI, and all settings had to be entered into the script itself. It was convenient for me, but when I passed it on to my friends, it was not easy to set up for an unskilled user.
After a while, the project grew a little, it got a graphical interface and, in principle, it can be used to archive any data you want.

You are presented with a program that:

  1. Stores its settings in itself;

  2. It can make two types of archive copies, with the ability to choose the number of backups to store.:

  • Regular - when you need to archive the entire directory with subdirectories;

  • Time-based - is used to archive multiple files from a directory, where you can use a filter by file creation date. Only those files whose creation date differs from the date of the script launch by the selected number of days, will be included in the archive;

  1. It can restore archive copies created by this program:

  • Before restoring the archived copies, you can also enable the option to create backups of the directory to which the files will be restored.

  • If the option to create an archive before restoring was selected, these archives can also be restored using a separate menu!)

  1. And it allows you to observe the log of both the recovery and the backup process.

And all of this, of course, in a "dark mode" or a "dark theme", call it what you will!

AlexJBFirst/PowerShell_7z_Backup-and-Restore: A simple script with a GUI that allows you to backup and restore files using 7zip (github.com)

Vous aimez cette publication ?

Achetez un café à AlexJBFirst

Plus de AlexJBFirst