Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - avila4

#1
24.1, 24.4 Legacy Series / Re: os api backup
August 02, 2024, 02:55:50 PM
thanks!!
#2
24.1, 24.4 Legacy Series / os api backup
August 01, 2024, 05:29:41 PM
Hey

I would like to know if in this version of opnsense it is still possible to use os-api-backup?

Do I need to install any plugins?

I ask that I did the procedure without plugins, just generating the keys and defining user permissions and it generated failures, for example when running the backup via shell:

{"message":"controller OPNsense\\Core\\Api\\IndexController not found","status":400} backup error
#3
Thanks for sharing this information, I tried option 2, since I hadn't removed event_config_changed.json, but unfortunately it didn't work.

I'll have to look for other options, I've been seeing this problem with git-backup for a long time, but without success.
#4
I perform backups using git-backup, but I've noticed that it no longer works.

When I click on setup/Test Git via the graphical interface, this is returned:

"""unknown error, check log for details
Saved settings, but remote backup failed.""""

When I execute the push via the terminal, this happens:

! [remote rejected] master -> master (pre-receive hook declined)

error: failed to push some refs to 'ssh://xxxxxx.xxx/backup-opn.git'

This process used to work fine, I can execute pull normally, permissions on the remote server have not changed, but in any case I removed any lock on the remote server and it always returns the same error.