Defined in packages/acs-tcl/tcl/utilities-procs.tcl
Backs up (move) the file or directory with given path to a file/directory with a backup suffix.
Will avoid overwriting old backup files by adding a number to the filename to make it unique.
For example, suppose you are backing up /web/my-server/packages/my-package/file.txt and
the file has already been backed up to /web/my-server/packages/my-package/file.txt.bak. Invoking
this proc will then generate the backup file /web/my-server/packages/my-package/file.txt.bak.2
- -file_path (required)
- -backup_suffix (defaults to
- The suffix to add to the backup file.
- Peter Marklund