Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Database backups

    Vaultwarden
    2
    4
    346
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yusf
      yusf last edited by

      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.

      1 Reply Last reply Reply Quote 1
      • yusf
        yusf last edited by

        Other Bitwarden users seem to confirm this missing feature, at least with it being automated.

        Seems like the bw CLI 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.

        fbartels 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels App Dev @yusf last edited by

          @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).

          yusf 1 Reply Last reply Reply Quote 4
          • yusf
            yusf @fbartels last edited by

            @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.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB