Backups

Backups

On the Backups page, you can make a backup of your account, keep backup files on the server, download them, and restore your account from a backup.

To open the Backups page, click Backups under the Account menu icon in the navigation menu. DJs do not see this menu item.

Contents of a Backup

A backup contains the data of your account:

  • The settings of your account and of your stream, from the tabs of the Configuration Settings page.
  • The configuration files of your streaming server and of your autoDJ.
  • Your playlists and your media library information.
  • Your DJ accounts.

You can also include these types of optional data in the backup:

  • Your log files.
  • Your media files: the files of your media library, your on-demand content, your sound files, your images and your album covers.
  • Your metrics data.

A backup does not contain your password or your two-factor authentication settings.

Note that backup files are counted toward your disk quota. Delete the backup files that you do not need.

Create Backup

The Create Backup box makes a new backup of your account. The box has these fields:

  • Include log files
    Specifies whether the backup contains the log files of your streaming server and of your autoDJ. This option is selected by default.

  • Include media files
    Specifies whether the backup contains your media files. This option is selected by default. Media files can be large. If you keep copies of your media files on your computer, you can clear this option to make a smaller backup.

  • Include metrics data
    Specifies whether the backup contains the metrics data of your stream. This option is selected by default.

To make a backup:

  1. Select the types of optional data that the backup must contain.
  2. Click Create Backup.

Centova Cast makes the backup in the background. The control panel shows Backup is in progress, and a progress bar shows the progress of the backup. You can continue to use the control panel during the backup.

When the backup is complete, the control panel shows Complete; select this notification to download the backup for 15 seconds. Click this message to download the backup file. The new backup is also shown in the Restore Backup list.

Upload Backup

The Upload Backup box copies a backup file from your computer to the server. To upload a backup:

  1. Click Upload Backup File.
  2. Select the backup file. The file must be a .zip file.
  3. When the upload is complete, the Restore Uploaded Backup dialog asks whether to restore the backup now. Click Yes to open the Confirm Restore dialog, or No to only keep the file in the Restore Backup list.

The box shows the maximum size of an upload, after the text Web-based uploads are limited to. The administrator sets this size.

To put a larger backup file on the server, upload it to the var/spool/backups/ directory of your account with SFTP, FTP or WebDAV. In your file transfer software, this directory is the backups folder. For more information about the file server, see the Quick Links section.

Restore Backup

The Restore Backup box lists the backup files that are on the server. If there are no backup files, the box shows No backup files found. The list shows the oldest backup first. The list has these columns:

  • Backup
    Shows the date and time of the backup file, and the hostname of the stream in the backup. Below it, the column shows the file name. If Centova Cast cannot read the file as a backup, the column also shows the reason, for example No manifest; possibly not a backup file. If the backup was made on another server or was changed, the column shows Signature validation failed; may only be restored by an administrator. A backup from Centova Cast version 3 shows (v3) after the date.

  • Includes
    Shows an icon for each type of optional data in the backup: logs, media and metrics. Point to an icon to see its name.

  • Size
    Shows the size of the backup file.

Each row has these buttons:

  • Restore
    Restores your account from the backup. For more information, see the Restoring a Backup section of this page.

  • Delete
    Deletes the backup file from the server. Click Yes in the confirmation dialog.

  • Download
    Downloads the backup file to your computer.

Restoring a Backup

CAUTION: Make sure that you select the correct backup before you click Yes. The restore replaces the current data of your account, and you cannot undo it.

To restore a backup:

  1. Click Restore in the row of the backup.
  2. Read the Confirm Restore dialog, and click Yes.
  3. Wait until the Restoring backup dialog closes. Do not reload the page or go to another page during the restore.

Before the restore starts, Centova Cast stops your streaming server and your autoDJ. Your listeners are disconnected.

After the restore, the control panel shows Backup restored successfully. If Centova Cast cannot restore some items, the Restore Warnings dialog shows them, one item on each line.

Centova Cast then ends all sessions of your account and of your DJs, because the restore replaces the account. To continue, log in again with your current password.

The restore does not start your streaming server again. After you log in, start your streaming server with the Start server item of the Control menu. For more information, see the Server Controls section.

The restore replaces the settings of your account and of your stream, your configuration files, your playlists, your media library information and your DJ accounts with the data from the backup. These types of optional data are replaced only if the backup contains them:

  • If the backup contains log files, the restore replaces your log files. If not, your current log files stay.
  • If the backup contains media files, the restore replaces your media files. If not, your current media files stay.
  • If the backup contains metrics data, the restore replaces your metrics data. If not, your current metrics data stays.

These items do not change:

  • Your password, your two-factor authentication settings and the status of your account.
  • The ports of your stream.
  • The data transfer that your stream used in the current month.
  • The backup files on the server.
  • Your limits. Your hosting provider sets them, and a restore that you start always keeps the current values. Note that if the administrator logs in to your account and starts the restore, Centova Cast restores the limits of the backup.

Centova Cast restores only a backup that has a valid signature from this server. If the backup was made on another server, or if somebody changed the file, Centova Cast refuses the restore with the message failed signature validation; unsigned or tampered backups cannot be restored. Only the administrator can restore such a backup.

A backup from Centova Cast version 3 can also be restored only by the administrator. If you click Restore for such a backup, the Restore v3 Backup dialog opens. If you click Yes, Centova Cast shows the message backup signature cannot be verified; only staff may restore an unverified backup. To move your account from a Centova Cast version 3 server, give the backup file to your hosting provider.

Example: You change many settings on the Mounts and Source tabs, and your stream no longer sounds correct. Last week, you made a backup with only the Include log files and Include metrics data options selected. Click Restore in the row of last week's backup, and click Yes. Your settings and playlists are again as they were last week. Your media files do not change, because the backup does not contain them. Log in again, and start your streaming server.