Course Content
The Addon
The Atavism plugin was born of a desire to have a quick way of creating point in time backups. Instead of backing up the entire install, this is gear towards backing up just your specific folders.
0/2
Support the Developer
Api Documentation
0/1
Atavism Backup

Class: AtavismBackup

Namespace: N/A

Inherits from: MonoBehaviour

Summary: This class defines a backup utility that can be used in Unity Editor. It allows the user to select files and folders to package, and provides options to create a parent folder, backup a database, backup files, and restore specific databases.

Overview:

Member Description
targetFolder The target folder for the backup.
packageName The name of the backup package.
todaysDate The current date and time.
scriptFiles An array of MonoScript objects to include in the backup.
folderObjects An array of UnityEngine.Object objects that are folders to include in the backup.
individualObjects An array of UnityEngine.Object objects to include in the backup.
CreateParentFolder A boolean indicating whether a parent folder should be created.
BackupDatabase A boolean indicating whether to backup the database.
BackupFiles A boolean indicating whether to backup files.
DateTimeString The format string to use for the date and time.
MySQLSSLMode A boolean indicating whether MySQL SSL mode should be used.
restoreadminDatabase A boolean indicating whether to restore the admin database.
restoreatavismDatabase A boolean indicating whether to restore the Atavism database.
restoremaserDatabase A boolean indicating whether to restore the Maser database.
restoreworldDatabase A boolean indicating whether to restore the world database.
adminDatabase A TextAsset object containing the admin database.
atavismDatabase A TextAsset object containing the Atavism database.
maserDatabase A TextAsset object containing the Maser database.
worldDatabase A TextAsset object containing the world database.

Interface:

None

Constructors:

None

Methods:

Method Description
provideListOfItemsToPackage() Returns an array of strings representing the items to include in the backup.
ConcatArrays<T>() Concatenates arrays of any type into a single array.
DeleteFiles() Deletes the files included in the backup.
ExportFiles() Exports the backup as a Unity package.

Properties:

None

Events:

None

Concepts/Guides:

None

Examples:

None