db_curruption
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| db_curruption [2022/10/19 14:05] – admin | db_curruption [2022/10/19 14:12] (current) – admin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| If your interface is giving you an error like | If your interface is giving you an error like | ||
| + | |||
| + | {{: | ||
| Line 8: | Line 10: | ||
| **Method 1** | **Method 1** | ||
| - | Restoring your backup database found in the folder ' | + | UrBackup Server creates nightly backups of its database per default. If the restore procedure fails you can restore those. |
| + | |||
| + | Steps: | ||
| + | |||
| + | | ||
| + | |||
| + | Create a backup of the damaged database files. Delete all files belonging to the databases: | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | (rm backup_server*) | ||
| + | |||
| + | Copy the files from the urbackup folder in the storage directory (backup_server.db and backup_server_settings.db) and start UrBackup Server. | ||
| **Method 2** | **Method 2** | ||
| Line 31: | Line 50: | ||
| | | ||
| - | + | ||
| You can defragment the database (maybe this also fixes integrity issues) with: | You can defragment the database (maybe this also fixes integrity issues) with: | ||
| Line 46: | Line 65: | ||
| Delete file backup_server.db. | Delete file backup_server.db. | ||
| - | sqlite3 backup_server.db | + | sqlite3 backup_server.db |
| - | .read export.sql | + | .read export.sql |
| + | In most cases that should solve your issue. | ||
| \\ | \\ | ||
db_curruption.1666181153.txt.gz · Last modified: 2022/10/19 14:05 by admin
