Provides static methods for backing up and restoring the iPod database. This is a static class (Module in Visual Basic)static classModule and so cannot be inherited or instantiated.
The following tables list the members exposed by IPodBackup.
Public Properties
| Name | Description | |
|---|---|---|
|
BackupsFolder | If not set, this defaults to [ApplicationData]\SharePod\Backups. |
|
EnableBackups | Enable/disable backup creation. By default this is set to true (Enabled) |
|
NumberBackupsToKeep | Number of backup files to keep before deleting old files. Defaults to 1 |
Public Methods
| Name | Description | |
|---|---|---|
|
GetBackups | Returns a list of SharePodLib backup files (files called *.spbackup in backups folder) |
|
RestoreDatabase | Restores the iPod's database from the given file. Use with care - no checking is done to ensure this is a valid iTunesDB, ArtworkDB. See GetBackups() for available backups |