I'm interested in proactively learning the recovery path for password databases in Bitwarden. Imagine I'm cut off from the server somehow, possibly permanently. What courses of action do I have to recreate the setup? Does this course of action apply to non-admin users as well?
With 1Password, KeePass etc there's always the option to have the password archive being backed up to a second location, off-site, cold storage or similar.
Other Bitwarden users seem to confirm this missing feature, at least with it being automated.
Seems like the
bwCLI can be put to use. By scheduling a cron job to do:
bw export --format encrypted_json --output file
and then to run some kind of process to upload that file to the backup location could work.
@yusf the problem with the export from the bitwarden cli is that this would only concern the actual password data, but would not include any of the attachments.
In that sense Bitwarden is only good enough for a whole installation disaster recovery (since Cloudron is doing regular backups, you can restore the setup as it was at a given time). If you want per user backups you could use https://github.com/vwxyzjn/portwarden however (would need the credentials of the given user, but could be used for migrations as well).
@fbartels Thanks for the suggestion! Looks like that tool needs the master password every time it performs an action so no automation possible, but still good for periodical manual backups.