You screenshot shows /home/sftp/backup_clearpass/backups/
Is that the path that you are in if you do a cd /backups in the sftp session??
If it is not, you can try to enter backups as the path, or ./backups/, or the full path /home/sftp/backup_clearpass.
In my lab, I have the full path: /home/cpbackup/clearpass-backups/ (and with a trailing /), user is cpbackup.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------
Original Message:
Sent: Sep 10, 2021 02:45 AM
From: Daniel Federstedt
Subject: clearpass fails auto backups
sadly I got the same error again.
The folders have the correct permissions and I've tested sftp manually using the same account without any issues.
EDIT: The username is backup_clearpass
Original Message:
Sent: Sep 09, 2021 05:54 AM
From: Herman Robers
Subject: clearpass fails auto backups
Make sure that the directory /backups exists, and is writable for the configured user...
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
Original Message:
Sent: Sep 09, 2021 04:25 AM
From: Daniel Federstedt
Subject: clearpass fails auto backups
I was using / before.
Going to test /backups tonight. I'll get back to you.
Original Message:
Sent: Sep 09, 2021 04:01 AM
From: Craig Syme
Subject: clearpass fails auto backups
I've seen this fail if a Remote Directory is not specified as part of the File Backup Servers within CPPM. Have you specified one?
------------------------------
Craig Syme
Original Message:
Sent: Sep 09, 2021 02:44 AM
From: Daniel Federstedt
Subject: clearpass fails auto backups
Hi!
Im trying to setup auto backups to a linuxserver over sftp. If I use the account manually in a terminal over sftp it works just as expected.
However when clearpass runs its auto backups nightly it fails with this error message:
Transfer Type: SFTP
Reason: [Errno 2] No such file
I've tried creating 2 folders in the user root named with the servers ip adresses:
Like this:
1.1.1.1
1.1.1.2
clearpass is 6.9.4