Skip to content

How to make a backup

Daniel Neto edited this page Mar 6, 2023 · 9 revisions

To ensure the safety and security of your AVideo platform, it is important to regularly backup your database and videos directory. Here are the steps to do so:

File and folder locations

  1. The videos directory is typically located at /var/www/html/AVideo/videos.
  2. Your database details can be found in the configuration.php file located at /var/www/html/AVideo/videos/.

Backup Details

  1. To backup your AVideo platform, you must backup both the videos directory and the database. You can download the software again from GitHub, and the paid plugins from the marketplace site.
  2. After the backup is complete, it is recommended to copy the files to a separate location, such as a local computer or external hard drive.
  3. If you use external storage like S3, B2, FTP, or AVideo-Storage, you also need to back up those files. If you use YPTStorage, back up its videos directory. See more about storage options here.
  4. To restore your AVideo platform, simply overwrite the videos directory (you may need to change the configuration.php file) and restore your MySQL database.

Note: The videos/cache directory does not need to be backed up and can be safely deleted before backup.

Backup Tools

We offer several tools to help you backup your AVideo platform.

Backup Plugin

The Backup plugin will zip the videos directory file and extract your database, then save it in a subdirectory in your plugin. You can use this subdirectory to be synced to another server, ensuring that you will be able to recover your data in case of an incident.

Clone Site Plugin

If you are not using VideoHLS, you can use the Clone Site Plugin to backup your AVideo platform.

Clone this wiki locally