Backup
Backups are an important part of system administration!
Create
Section titled “Create”Save binary file and configuration files to archive:
tar -Pzcf ~/astra-backup.tar.gz /usr/bin/astra /etc/astraRestore
Section titled “Restore”To extract backup launch next commands:
rm -f /usr/bin/astratar -Pxf ~/astra-backup.tar.gzRegister the service on a new server
Section titled “Register the service on a new server”After restoring the backup on a new server, register Astra in systemd:
astra initThis command registers Astra as a system service named astra with management port 8000. To start the service, run:
systemctl start astraRead more about service management and launching additional services on your server: Manage Astra Service.