config help

123 views
Skip to first unread message

Tion Loney

unread,
Feb 19, 2025, 1:09:41 PM2/19/25
to min...@googlegroups.com
Hello, I'm adding my /etc/minarca/minarca-server.conf contents so that maybe someone can assist me with setting this up correctly. i've followed the debian install as per the site line by line.The install is successful. When I tried to make adjustments to the ssh port in my config file the backup process failed. I've also edited my /etc/ssh/sshd_config to the suggested parameters from the site.

Should I be using the /etc/minarca/minarca-server.conf or the /etc/minarca/conf.d/*.conf to properly configure my vm?
When I set environment variables [MINARCA_SERVER_PORT=9999] I cant access the site, I can only get to the site with [server-port=9999]. Is this normal? Am I doing something wrong?
I can only backup using the default ssh port 22, when I change it to anything else it fails. Again where ami going wrong?
If I try to change the (brand-default-theme=orange) the vm stops working.
Lastly my vm is 12gb, however i'd like to use my qnap or truenas nfs dataset as my default backup/repository location. How do I add that to my vm so it's usable? I can see them when I df -h.

--------------------------------------------
# Host name or IP address to bind to.
# If you want to bind to all interface, use 0.0.0.0
# Default: 127.0.0.1
server-host=0.0.0.0
server-port=9999
# MINARCA_SERVER_PORT=9999
#minarca-remote-host=backup.krusteeze.clown:2222
minarca-remote-host-identity=/etc/ssh
external-url=https://backup.krusteeze.clown
session-dir=/var/lib/minarca
#LOGGING
log-level=DEBUG
log-file=/var/log/minarca/access.log
log-access-file=/var/log/minarca/server.log
#USER SESSION
session-idle-timeout=10
session-absolute-timeout=20
session-persistent-timeout=43200
#EMAIL NOTIFICATIONS
email-host=smtp.office365.com:587
email-encryption=starttls
email-sender=bac...@krusteeze.clown
email-username=sup...@krusteeze.clown
email-password=some password
email-send-changed-notification=true
email-catch-all=bac...@krusteeze.clown
#PASSWORD STRENGTH
password-min-length=16
password-max-length=128
#BRANDING
welcome-msg=krusteezeclown Backup
brand-header-name=krusteezeclown Backup
#brand-default-theme=orange
#security
#rate-limit=10
#rate-limit-dir=/var/lib/minarca/session
#misc
remove-older-time=22:00
#storage config
#minarca-user-base-dir=/i cant get this to work
#minarca-restricted-to-based-dir=True
---------------------------------------------------------------

Patrik Dufresne

unread,
Feb 20, 2025, 7:48:09 AM2/20/25
to min...@googlegroups.com
Hello Tion,

Thanks for reaching out! I'll try to clarify some of your questions:

  1. Configuration File vs. Environment Variables

    • The correct option for setting the port in the configuration file is server-port=9999. This is equivalent to defining the environment variable MINARCA_SERVER_PORT=9999. Both methods are supported.
    • If you installed Minarca Server directly on Debian, I recommend using the configuration file. Environment variables are more commonly used for container deployments.
    • Regarding the configuration file location, both /etc/minarca/minarca-server.conf and /etc/minarca/conf.d/*.conf are valid. The .d directory structure is a common practice in Linux, allowing you to override the default configuration while keeping the original settings intact.
    • The documentation should be relatively clear on this: Minarca Configuration. If anything is unclear, feel free to suggest improvements!
  2. Changing the SSH Port

    • If you want to change the SSH port from 22 to 2222, you need to consider your network setup:
      • If your server is behind a router/NAT, you must configure port forwarding to redirect external connections on port 2222 to port 22 on your server.
      • If there is no router/NAT in front of your server, you can change the SSH server's default port from 22 to 2222. However, this requires updating both the Minarca Server configuration and the SSH server settings.
    • The option minarca-remote-host=backup.krusteeze.clown:2222 in the configuration file specifies the hostname and port that clients should use to connect to your SSH server.
    • I'm working on improving this area of the documentation.
  3. Theme Configuration

    • The brand-default-theme=orange option was removed in a previous version of Minarca, but the documentation may not have been updated accordingly. If enabling this setting causes issues, I recommend removing it.
  4. QNAP or TrueNAS

    • That I cannot help with. You need to make sure to mount your NFS to "/backups".

--
You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minarca/CAN-gpFEtzb_c_xiEEMzGQE-CB3XnZyM11BkUVK9D4ztVnzgmmA%40mail.gmail.com.


--
** Par mesure d'efficacité, je consulte mes courriels une fois par jour.
IKUS Software
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages