How to create DirectAdmin backups from the command line

To create DirectAdmin backups from the command line for ALL the accounts on the server, execute the command: echo "action=backup&append%5Fto%5Fpath=nothing&database%5Fdata%5Faware=yes&email%5Fdata%5Faware=yes&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&type=admin&value=multiple&when=now&where=local&who=all" >> /usr/local/directadmin/data/task.queue To create a backup for a specific user - USERNAME - run the command: echo "action=backup&append%5Fto%5Fpath=nothing&database%5Fdata%5Faware=yes&email%5Fdata%5Faware=yes&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=USERNAME&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue…

Continue ReadingHow to create DirectAdmin backups from the command line

How to whitelist hostnames in ConfigServer Security & Firewall (CSF)

CSF offers the option to whitelist fully qualified domain names (FQDN). This can be useful if you want to allow connections from hostnames with IPs that change frequently. The CSF file with the allowed hostnames is /etc/csf.dyndns /etc/csf.dyndns The content…

Continue ReadingHow to whitelist hostnames in ConfigServer Security & Firewall (CSF)