Skip to content

Backup

Backups are an important part of system administration!

Save binary file and configuration files to archive:

Terminal window
tar -Pzcf ~/astra-backup.tar.gz /usr/bin/astra /etc/astra

To extract backup launch next commands:

Terminal window
rm -f /usr/bin/astra
tar -Pxf ~/astra-backup.tar.gz

After restoring the backup on a new server, register Astra in systemd:

Terminal window
astra init

This command registers Astra as a system service named astra with management port 8000. To start the service, run:

Terminal window
systemctl start astra

Read more about service management and launching additional services on your server: Manage Astra Service.