Client-operated backup

26 views
Skip to first unread message

Spadajspadaj

unread,
Feb 14, 2022, 5:34:04 AM2/14/22
to bareos-users
Hello there.

I'm wondering if there is any less-intrusive option for backing up
"interminnently connected" hosts (like my wife's laptop :-)).

At first I had a static schedule which would backup the client every day
at 9am or so.

That of course would make backups skipped if the laptop was not on at
that precise time so I had to monitor that externally and sometimes
spawn backup jobs manually. That was annoying.

Then I found the "Run On Incoming Connect Interval" option which made my
life much easier. Now if the "normal" backup job is skipped, the backup
gets spawned as soon as my wife boots up the laptop. That makes it
relatively well covered in terms of backup.

But it also makes the laptop unuseable (especialy in terms of
videoconference solutions or other low-latency uses) for the first half
hour or so after each bootup.

So the question is - is there any reasonable way to make the backups
more client-controlled? So the backup job is not spawn immediately after
the connection from fd to dir, but can be delayed by user or spawned
directly by user when desired?

I probably could set up the bareos webui but could I limit my wife's
permissions to just that single client? It would still not be a very
elegant solution (the necessity to log in to "external" service is not
very user-friendly) but it would be something.

Any other paths to explore?

I'm at 20.0.1 at the moment.

Erich Eckner

unread,
Feb 15, 2022, 1:41:15 PM2/15/22
to Spadajspadaj, bareos-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Spadajspadaj,

maybe a hacky solution, but would work: only start the fd on the laptop,
when you want to run a backup? (Or auto-start it, when the laptop is up
for >2h and no video conference software was started, etc.?)

regards,
Erich
> --
> You received this message because you are subscribed to the Google Groups
> "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bareos-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/7a7f7777-6586-a08a-0a7b-051c6db72ecb%40gmail.com.
>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmIL88YACgkQCu7JB1Xa
e1orfxAAgxHsAtVzo7ZxQzo0GPW5Uq8Gfe6PPOfogzBzI2fRJ2qRWhxcgjGed1Wv
fqFc7xYRfZd9tGk1x/eoVOVo8TKajdQkcVRLDOHSKz4QcryriPGQgdjKg6wlfddY
p+rwOuXHDRGzYtTe4PWAaAgFaEXYX+nz1EmX0P/Mlytq1tu+Ys+e/KUEJDrGkyGJ
9T7f9P+93p9dQ4rChDxWlx4mLwtE9l5p3ZvMv4eazEJx/rMBx20DqeBYD+e79/F6
fni6mVf5VxgPGvGLit6lZ2cON/k7G+tv0XdfqjH1Kb7wYyrSQqg/I30b8ta442OH
OKkhxnHwVHJKpe6sLvfjBsIfsnaDySSccBi69qwj46z9qTbtVjeDOauKQwo+55z4
4Rdau+SApoL7Cl5imkWk0hq6a775nk/2tG+wj47Mtf4zj9EHGSuiFzQ67GTznZB1
sQF1kPqWDwMQwEq5UMWD/+ild3ir33XVKdYV9knLYeIf4/K2IM7y4994vb5BRb/a
OVQXuA2EderfCxiibOIBgVIUQBFXi8ChCskWhirZZ+rn7cw7y9hElv9XSOFAracz
K6/isWuKxCDDVJljk8A64PKJjpIBW5SQyc7H5uQMvTXdm0hTduEQmrCQS4/SWT3l
61V04yuaBpUlbAsQYnTWEazKze0M35Uo5HkaqSqyGXQpDejMCGE=
=envh
-----END PGP SIGNATURE-----

Spadajspadaj

unread,
Feb 15, 2022, 3:19:05 PM2/15/22
to bareos-users
Hi Erich.

Well, that is some idea. As it is probably relatively obvious, the
solution has to be simple so I can tell my wife "click here" an that's
it. Maybe I should do a script that would turn the service on/of.

Thanks for the hint.

Kai Zimmer

unread,
Feb 17, 2022, 3:52:46 AM2/17/22
to Spadajspadaj, bareos-users
Hi,

yes, you can have restricted accounts in bareos-webui. Last time i tried
this i got stuck because at that time bareos-webui didn't support
multiple catalogs (which would have been the most obvious way to
implement restriction). But this issue has been addressed, see
https://docs.bareos.org/IntroductionAndTutorial/InstallingBareosWebui.html
"Can access multiple directors and catalogs"

Best,
Kai
Reply all
Reply to author
Forward
0 new messages