phionar and conftool
To back up and save the configuration of the Barracuda CloudGen Firewall, use the phionar and conftool utilities. You have the option of compressing or encrypting PAR files. Encrypted archive files can be created for Firewalls and Control Centers using firmware 6.0.1 or higher.
phionar
Create and maintain archive files by using phionar. Use the following syntax:
phionar <operations> file.par | .pca <source directory>/* <options>
You can use the following operations:
Operations | Description |
|---|---|
a | Adds specific files to an already existing archive. Use asterisks (*) to add all files in a directory to an archive. |
c | Creates a new archive. Use asterisks (*) to add all files in a directory to an archive. Otherwise, specify the file names individually. You can use this operation in combination with the following options:
To create an empty archive, use the c operation without any options. |
r | Removes files from an existing archive. The archive is not extracted. Use the correct file name. Otherwise, the file will not be deleted. To verify the file name, use the s operation. |
x | Extracts single files from an existing archive. The files inside the archive will not be deleted. When extracting files from an archive, the leading ./ (dotslash) can be ignored. If the archive contains that specific file, the file is extracted. |
k | Marks files or whole folders in an archive as deleted. Extracting a file that has been marked as deleted will delete a file of the same name in the target directory. Make sure that you use the correct file name, including a leading ./ (dotslash). To verify the file name, use the s operation. |
s | Displays the archive contents. |
E | Encrypt a PAR file. Requires -P (password set manually) or -Q (password set to serial number). |
D | Decrypt a PCA file. Requires -P (password set manually) or -Q (password set to serial number). |
Options | Description |
-X or --exclude [pattern] | Defines skip patterns. Use when specifying a file name or pattern. |
-P [password] | Set the password for the encrypted PAR file. Encrypted PAR files use the PCA extension. |
-Q | Use the serial number as the password. This option cannot be used on pool-licensed, virtual Barracuda CloudGen Firewalls. |
Example Usage
The following sections provide examples of how to use the phionar command to create and maintain archives.
Creating PAR Files
Creating PCA Files (Encrypted PAR Files)
Removing and Extracting Files
Excluding Files Using Skip Pattern
Decrypting PCA Files with phionar or openssl
Unpacking PGZ Files
conftool
To create PAR files for Barracuda CloudGen Firewalls in a range or cluster of a Barracuda Firewall Control Center, use the conftool command. Use the following syntax:
conftool par [range_cluster] <output-directory>
Example Usage
d 0 040755 0 0 LostAndFound
d 0 040755 0 0 LostAndFound/GCSID_procpar_cmdline_4399
d 0 040755 0 0 LostAndFound/GCSID_procpar_cmdline_4399/1832355359_box.conf
f 76 100600 0 0 box.conf
f 173 100600 0 0 box.desc
f 126 100644 0 0 box.param
f 1229 100600 0 0 boxadm.conf
f 253 100600 0 0 boxadm.desc
Contact Us
Barracuda Campus
Barracuda Support