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.

It does not have any attributes but it does have a use for it's element text:

Parameters

  • Element Text (str) : This is the full path to the file that Osirium PAM sill store locally.

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>%(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