Skip to content

Tag: <local_filename> - Location to Store a Copied File

Definition

The <local_filename> tag is used to define the location where Osirium PAM should store a file that has been copied or captured on Osirium PAM.

The tag has the following attributes:

Parameters

  • Element Text (str) : This is the full path to the file that Osirium PAM will store locally.
  • tag (str) : This is the file type displayed for the file on the Manage Files page. The default if not specified is to use the task name.

Example

The :<local_filename> tag is used under a :<command> tag that is performing a file copy/capture operation. It's used like this:

1
2
3
4
5
6
<commands>
   <command...>
      <local_filename tag="Something File">%(local_techout_location)s/%(device_name)s/something.tgz</local_filename>
      <remote_filename>...</remote_filename>
   </command>
</commands>

This element text can contain substitutions, including:

Substitution Meaning
%(local_backup_location)s This is a fixed location, on Osirium PAM local file system at: /data/osirium/filestore
%(local_techout_location)s This is a fixed location, on Osirium PAM local file system at: /data/osirium/filestore
%(device_name)s This translates to the devices internal name within Osirium PAM.
This allows files from different devices to be kept separate.

Parent Tags

Child Tags

  • None