> The site is password restricted
> It also didn't work with frontend Backups. It just redirects me to the login.
OK, this is not exactly accurate but it's close enough.
Your site is currently in off-line mode.
When Joomla is in off-line mode it prevents access to any frontend URL. This includes the frontend URLs provided by Akeeba Backup for the legacy front-end backup URL or with the Akeeba Backup JSON API (you didn't specify but they both work on the same principle).
When you are not logged into the site Joomla BLOCKS the request and issues an HTTP 301 redirect to the login page. As a result, it never routes the request to Akeeba Backup. Our code never runs; it's blocked by Joomla.
The only way to automate your backups with a CRON job on a site set to Off-line through its Global Configuration is using the native Joomla CLI script. This does not go through the web server; it runs code directly on the command line. Joomla does not check for a logged in user under CLI; the CLI application does not have the concept of logged-in users nor does it care about whether your site is set to off-line or not. It always runs the command you tell it to run.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!