Skip to content
Products

Backup

A backup lets you return Alta to a working state or move it to another server.

Make a backup before every update, before you uninstall Alta and before you move to another server.

  • /usr/local/bin/alta: the Alta binary.
  • /etc/alta: one configuration file for each service (for example alta2.conf for a service named alta2) and license.txt.

The recorded archive is not included. It stays in the Location directory of each Storage as MPEG-TS segments and can be very large. Copy it separately if you need it.

Save binary file and configuration files to archive. The /etc/alta directory also contains license.txt:

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

If your configuration is not in /etc/alta, replace this path in the command.

Stop the service, extract the backup, and start the service again:

Terminal window
systemctl stop alta
rm -f /usr/local/bin/alta
tar -Pxf ~/alta-backup.tar.gz
systemctl start alta

If you run additional services, stop each of them before you extract the backup and start each of them after.