- Community Home
- >
- Networking
- >
- IMC
- >
- How to enable dbman to back up to external sftp-se...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2020 04:55 AM
09-22-2020 04:55 AM
How to enable dbman to back up to external sftp-server using IP-address of the sftp?
What's needed to configure?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2020 05:29 AM
09-22-2020 05:29 AM
Re: How to enable dbman to back up to external sftp-server?
Hello,
As far as I know there is only an FTP option available, and I don't think it will work with SFTP since that is considerably different. To configure the FTP backup server, set its IP as 'Master IP of Backup System' in the Auto Backup settings in DMA, and create a file under iMC\dbman\etc\ called dbman_ftp.conf, which contains:
ftp_ip=1.1.1.1
ftp_user=admin
ftp_password=1234
Replace the values above with your own for the FTP. Then you can select the checkboxes for 'Upload to Backup System' on the Auto Backup settings next to the DBs and save it, and your auto backups will now be uploaded to FTP.
Justin
Working @ HPE

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2020 05:54 AM - edited 09-22-2020 05:56 AM
09-22-2020 05:54 AM - edited 09-22-2020 05:56 AM
Re: How to enable dbman to back up to external sftp-server?
Ok, thanks, and how to specify source dir and dest dir?
And so I have to restart something after the changes? How to verify its working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2020 06:18 AM - edited 09-22-2020 06:19 AM
09-22-2020 06:18 AM - edited 09-22-2020 06:19 AM
Re: How to enable dbman to back up to external sftp-server?
The source directory will be the one specified as 'Backup Path' on the Auto Backup configuration page (like C:\dbmanbak). The destination directory can't be configured, it will simply be the root directory of the FTP server.
To verify that your configuration works, simply wait until the next auto backup happens (eg. 04:00 by default) and check if the db files are on the FTP server.
Justin
Working @ HPE

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2020 06:57 AM
09-22-2020 06:57 AM
Re: How to enable dbman to back up to external sftp-server?
OK, I'll try that. Seems that we could use some improvements here in upcoming releases?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2020 12:55 AM - edited 09-25-2020 03:57 AM
09-24-2020 12:55 AM - edited 09-25-2020 03:57 AM
SolutionThat not working as I cannot and should not be able to access / on the ftp server. I think at the moment we need to create a cron-job that takes care of the transfer to the right dir. I did like this:
[root@imc ~]# more ftp.sh
#!/bin/bash
HOST="10.10.1.10"
USER="username-ftp"
PASSWD="password"
#Below, grabs files of todays date only.
DATE=`date +%Y%m%d`
ftp -v -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
binary
cd /data/iMC/Backup
lcd /root/Backup
put 127.0.0.1@aclm_db_imc_aclm_db_*${DATE}*
put 127.0.0.1@config_db_imc_config_db_*${DATE}*
put 127.0.0.1@icc_db_imc_icc_db_*${DATE}*
put 127.0.0.1@invent_db_imc_inventory_db_*${DATE}*
put 127.0.0.1@monitor_db_imc_monitor_db_*${DATE}*
put 127.0.0.1@perf_db_imc_perf_db_*${DATE}*
put 127.0.0.1@reportplat_db_reportplat_db_*${DATE}*
put 127.0.0.1@syslog_db_imc_syslog_db_*${DATE}*
put 127.0.0.1@unba_master_unba_master_db__*${DATE}*
put 127.0.0.1@vlanm_db_imc_vlan_db_*${DATE}*
put 127.0.0.1@vnm_db_imc_vnm_db_*${DATE}*
put 127.0.0.1@vxlan_db_imc_vxlan_db_*${DATE}*
put dbman*${DATE}*
put fault*${DATE}*
put icc*${DATE}*
put perf*${DATE}*
put plat*${DATE}*
put report*${DATE}*
put db_catalog*
put db_catalog*.ok
quit
END_SCRIPT
[root@imc ~]# crontab -l
0 7 * * 1 /root/ftp.sh