gufo.thor.backup.rm¶
Remove a local database backup.
remove_backup(name)
¶
Remove a backup directory from the local backup directory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Name of the backup directory to remove. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the name is invalid or the backup does not exist. |
OSError
|
If the backup directory cannot be removed. |