Make sure the script is executable: chmod x backup_file.shĪfter that, execute the script. \backup_file.batįor Mac/Linux, go to the scripts directory and: Set TARGET_FILE_PATH=/crossftp/backup/readme.txt.%ISO_TIMESTAMP%Īfter changing the variable values, run the script to test if the backup works as expected.įor windows, go to the scripts directory and execute. Set COMMANDER_HOME=c:\JDK\crossftp-all-bin Here is an example of changed variables: set JAVA_HOME=c:\Program Files\Java\jdk1.8.0_151 Set TARGET_FILE_PATH=/path/to/target/file.%ISO_TIMESTAMP% Set SOURCE_FILE_PATH=\path\to\source\file Set COMMANDER_HOME=\path\to\crossftp-all-bin The following is the sample variables of backup_file.bat in this step: set JAVA_HOME=\path\to\JavaHome To make it work, you need to change the variables in the script's step (1) first. The file backup script is available at the /scripts/ subdirecotry in the downloaded package. Please check the corresponding sub-sections for details. This section introduces the script guide to do one-time backup task based on CrossFTP Commander. This manual guides you to do file and database backup
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |