strategy for desktop / laptop machines

22 views
Skip to first unread message

Jérémy Viès

unread,
May 27, 2021, 9:40:29 AM5/27/21
to elkarbackup-users
hi all,

I use ElkarBackup since a few weeks now, mainly to backup a VPS that hosts Docker containers. It's perfect for that job.

I've also set it up to backup my home server, using a Docker installation with binded volumes. It was not as simple as I hoped. I used some pre/post scripts with ssh to my host to start/stop some DBs before the backup. But it does the job.

Now I want to replace my home made rsync based scripts I run on my desktop and laptop machines. The configuration is quite simple, I only need to backup /home and /etc, without any DBs or weird services.
But my consideration is about the scheduling, I use to plan one backup per day, so cron and anacron did the scheduling for me. As soon as the computer was switched-on, the backup started. How can I do such a think with ElkarBackup ? I've checked the newly REST API, but I can't find any "start backup now"...

Best regards,

Eneko Lacunza

unread,
May 27, 2021, 9:46:06 AM5/27/21
to elkarbac...@googlegroups.com
Hi Jérémy,

You can leverage the token field in job's advanced settings:
https://github.com/elkarbackup/elkarbackup/wiki/FAQ#remotely-job-execution

Cheers

El 27/5/21 a las 15:40, Jérémy Viès escribió:
Eneko Lacunza
Zuzendari teknikoa | Director técnico
Binovo IT Human Project

Tel. +34 943 569 206 | https://www.binovo.es
Astigarragako Bidea, 2 - 2º izda. Oficina 10-11, 20180 Oiartzun

https://www.youtube.com/user/CANALBINOVO
https://www.linkedin.com/company/37269706/

Jérémy Viès

unread,
May 27, 2021, 9:56:37 AM5/27/21
to elkarbackup-users
nice.

I will give it a try quickly.

ty
regards

Jérémy Viès

unread,
May 27, 2021, 10:28:53 AM5/27/21
to elkarbackup-users
It seems to be available in https only.

I use the Docker installation, with traefik forwarding my https to the http.

I can't find any option to disable the https check...

Xabi Ezpeleta

unread,
May 28, 2021, 2:14:37 AM5/28/21
to elkarbac...@googlegroups.com
Hi Jérémy,

You're right. It is forcing https and it has no sense specially in Docker environments. You can fill a request if you want.

Thanks



Hau idatzi du Jérémy Viès (jerem...@gmail.com) erabiltzaileak (2021 mai. 27, og. (16:28)):
--
Has recibido este mensaje porque estás suscrito al grupo "elkarbackup-users" de Grupos de Google.
Para cancelar la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a elkarbackup-us...@googlegroups.com.
Para ver esta conversación en el sitio web, visita https://groups.google.com/d/msgid/elkarbackup-users/5987309b-a8e5-4677-9016-8317c2fabfedn%40googlegroups.com.

Eneko Lacunza

unread,
May 28, 2021, 3:31:37 AM5/28/21
to elkarbac...@googlegroups.com
Hi,

I think token is a password for launching a backup. Better use HTTPS for the request. Have you tried this:

https://www.cyberciti.biz/faq/how-to-curl-ignore-ssl-certificate-warnings-command-option/

Cheers

El 28/5/21 a las 8:14, Xabi Ezpeleta escribió:

Xabi Ezpeleta

unread,
May 28, 2021, 3:43:48 AM5/28/21
to elkarbac...@googlegroups.com
I think the problem is that he is accessing Elkarbackup web ui via a reverse proxy (Traefik). The traffic between the browser and Traefik is using HTTPS, but Elkarbackup itself is running HTTP.

So probably it's not recognizing the request as secure ?


Hau idatzi du 'Eneko Lacunza' via elkarbackup-users (elkarbac...@googlegroups.com) erabiltzaileak (2021 mai. 28, or. (09:31)):

Jérémy Viès

unread,
May 28, 2021, 3:47:57 AM5/28/21
to elkarbac...@googlegroups.com
Yes the problem is on Elkarbackup side, not on curl.

Reply all
Reply to author
Forward
0 new messages