pytower.backup
- class pytower.backup.BackupIndex(data=None)[source]
Data structure used internally to represent information about each backup
- pytower.backup.fix_canvases(path, force_reupload=False, backend=<pytower.image_backends.catbox.CatboxBackend object>)[source]
- Parameters:
path (str)
force_reupload (bool)
backend (ResourceBackend)
- pytower.backup.restore_backup(path, force_reupload=False, backend=<pytower.image_backends.catbox.CatboxBackend object>)[source]
Restores a backup from the backups folder
- Parameters:
path (
str) – Path to the backupforce_reupload (
bool) – Whether to force reuploading files to backendbackend (
ResourceBackend) – Backend to use (Catbox by default)