Hello all...
We are looking to organize our config repository and wanted to have our FortiGates backup their configs to their respective "device" folders...and not just land them all at the root of our FTP server.
Our current script line looks like this:
execute backup config sftp Fw1-confg.txt our.ftpserver.local backupuser passsword
If I simply append a folder name to the server path...it fails
execute backup config sftp fw1-confg.txt our.ftpserver.local/FW1 backupuser passsword
Am I missing something is this not possible to do in this way (??)
Appreciate any insight you may have...!
Thanks in advance and look forward to your response !
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello,
You may try the sample command below:
execute backup config sftp /Backup/backup.conf 192.168.55.4 testuser testpassword
'/Backup/backup.conf' assigns this file name and path to the backup on the FTP server. Note that if the folder path does not have '/backup/' specified, the FTP server will save the file into the "default" ftp folder. Optionally, add the variable %%date%% to name the backup with the current date stamp. For example: 'backup-%%date%%.conf' would be saved as backup-2023-01-11.conf
Hello,
You may try the sample command below:
execute backup config sftp /Backup/backup.conf 192.168.55.4 testuser testpassword
'/Backup/backup.conf' assigns this file name and path to the backup on the FTP server. Note that if the folder path does not have '/backup/' specified, the FTP server will save the file into the "default" ftp folder. Optionally, add the variable %%date%% to name the backup with the current date stamp. For example: 'backup-%%date%%.conf' would be saved as backup-2023-01-11.conf
Abarushka....that looks like it will do it. Simple enough! Thanks much for your quick reply !
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1547 | |
1031 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.