Date: Thu, 28 Mar 2024 23:16:30 -0700 (PDT) Message-ID: <1937235516.397.1711692990841@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_396_600688644.1711692990840" ------=_Part_396_600688644.1711692990840 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Performs an automated backup of application files.
SRP_Backup(Zip, La= uncherINI, Files, FTP, Hidden)
Parameter | Description |
---|---|
Zip | The output Zip file to contain the backup |
LauncherINI | The SRP Application Launcher INI file |
Files | The files to backup |
FTP | The FTP configuration |
Hidden | Determines if the backup status window appears b= y default |
The SRP Backup Utility backs up your application in 3 automatic steps. F= irst, the running application is closed. Second, the files you select are b= acked up into a zip file. Finally, the backup file is optionally transmitte= d to an FTP site of your choosing.
There are five easy to use parameters:
Required. The Zip parameter is the path and filena= me of the output zip file, the file to contain the backup.
The LauncherINI parameters is the path and filename to the INI file matc= hing this application's launcher. If you do not use the SRP Application Lau= ncher, then leave this blank. If you do use the SRP Application Launcher, t= hen passing the INI file will allow the SRP Backup Utility to set the Preve= ntExecution flag, which will prevent users from logging into your applicati= on during the backup process.
The Files parameter is the list of files to backup. If left blank, then = the entire application folder is backed up. However, you can pass an @FM de= limited list of files and folders. You can include relative paths but they&= nbsp;must begin with "\", ".\", or "..\". You can also use wi= ld cards. For example:
Files =3D "*.ocx":= @FM:?DATAVOL":@FM:"OI*.*":@FM:"ProgRef.chm"
This example will backup all ocx files, the Datavol directory, all files= beginning with OI, and the ProgRef.chm file.
The FTP parameter configures the FTP server to which the backup is to be= automatically transmitted. Leave this blank if you do not wish to copy the= backup to an FTP server. This parameter has the following structure, shoul= d you choose to use it:
Pos | Name | Description |
---|---|---|
<1> | FTP Server | The URL pointing to the FTP server |
<2> | FTP Username | The FTP account username |
<3> | FTP Password | The FTP account password |
<4> | FTP Directory | The subdirectory, relative to the root of FTP, w= ithin which the backup is to be copied |
By default, a status window appears to indicate the backup progress. Set= this parameter to 1 if you want the status window hidden. In either case, = an icon will appear in the system tray during the backup process.
* Backup everythin= g SRP_Backup("Backup.zip", "SRP Launcher.INI")
* Backup specific = files, FTP them, and hide the status window Files =3D "*.ocx":@FM:"DATAVOL":@FM:"OI*.*":@FM:"ProgRef.chm" FTP =3D "www.myftp.com":@FM:"username":@FM:"password":@FM:"BACKUPS\MYAPP" SRP_Backup("Backup.zip", "SRP Launcher.INI", Files, FTP, 1)