529577 Need a GUI for wbadmin backup script
N/A
Paiement à la livraison
Hi all,
I want a very simple (as simple as possible) backup script.
A program which ask what to backup and to where and at what time.
I already have the script setup but I need a GUI this gui asks for the variables .
It then sets the variables in the script. and then a launch button to start the script.
This is very easy I guess
echo off
rem backup share UNC
set backupshare=\\<networkdevice>\<backupshare>\<foldername>
rem files and folders to include
set include=< your partitions like d:, e: >
rem define date time variables for building the folder name
set m=%date:~6,2%
set d=%date:~3,2%
set y=%date:~9,4%
rem set h=%time:~0,2%
rem set min=%time:~3,2%
rem set sec=%time:~6,2%
rem defining a new folder like \\<networkdevice>\<backupshare>\<foldername>\<date>
set newfolder=%backupshare%\%computername%\%d%%m%%y%
echo Creating %newfolder%
mkdir %newfolder%
rem run the backup
echo Backing up %include% to %newfolder%
wbadmin START BACKUP -backuptarget:%newfolder% -include:%include% -allCritical -vssFull -quiet
Nº du projet : #2275518