How to backup / restore devices, groups, profiles, users #783
-
Hello, thank you for this project. As you can read in the title I want to backup my device, groups, etc if something bad happens. After this I want to be able to restore all my data as well. In detail my question is, can I backup the database from a filesystem directory or is it possible to make a backup of the db tables with the pocketbase dashboard? Can you provide a wiki article where the information is described? I could imagine this would be helpful for others as well. Thank you. Kindest regards rjs |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, you can either copy the whole pb_data directory while UpSnap is not running, or use pocketbase's backup and restore system described here: https://pocketbase.io/docs/going-to-production/#backup-and-restore You can reach the backend by opening http://localhost:8090/_/ It also offers an api for backups: https://pocketbase.io/docs/api-backups/ |
Beta Was this translation helpful? Give feedback.
Hi, you can either copy the whole pb_data directory while UpSnap is not running, or use pocketbase's backup and restore system described here: https://pocketbase.io/docs/going-to-production/#backup-and-restore
You can reach the backend by opening http://localhost:8090/_/
It also offers an api for backups: https://pocketbase.io/docs/api-backups/