Backup Options
When deploying a file or directory, you can take precautions to back up the files that are overwritten.
Field definitions
Backup Options | Check Backup Options to define backup provisions. When you select Backup Options, you can choose between two backup modes to be applied before copying any files into the destination directory on the target — Save with suffix or Backup. |
Save with suffix | Save a backup of any file that would be overwritten by renaming the original file on the target before copying the new file into the same destination directory. File renaming is done by appending the suffix that you define in the Suffix field to the names of the original files. For example, if you define .bak as your suffix, the original file foo gets saved as foo.bak. Later, if you need to roll back a File Deploy Job, a custom script can look for all files in the destination directory with a particular suffix and rename them by removing that suffix. For example, foo.bak gets restored as foo. |
Backup | Copy the contents of the destination directory (defined on the General panel) to a backup location that you specify, before copying any files into that destination directory. Use the following fields to specify the backup location:
To ensure a unique backup location for each target server and for each time that you run the File Deploy Job, the final backup location path uses the following format: <backup directory>/<backup name>/<target server>/<time stamp>/<name of destination directory> |