August 15, 20205 yr Hello all, I use the appdata backup pluggin for all my apps, however I want to make double sure that I have no issues retrieving my passwords for Bitwarden in the event of a system failure. As such, would the following script work in backing up my Bitwarden passwords to G-Suite via Rclone crypt (I'll set it to run daily); sudo docker stop bitwardenrs rclone copy /mnt/user/appdata/bitwarden/ GoogleDriveBackupCrypt:unraid/Bitwarden_Backup sudo docker start bitwardenrs This is my first attempt at any sort of script that I haven't simply copied and pasted from a tutorial. Many thanks. ***Edit*** It works, well when I press "run in background" anyway, so should be ok running via schedule. It's the simplest script I think you could run, but I'm quietly pleased I managed it myself. 😂 Edited August 15, 20205 yr by LoneTraveler
August 30, 20214 yr Hello, I am interested in bitwarden backup as well. Does this scrtipt actually back up everything? Included atachements? Did you try to recover your backup? Did it work?
October 11, 20214 yr This is a nice idea! I'm going to try to pad it out a little more to answer the questions about what's backed up, and setting up cron jobs to do it on a scheduled but it's deffo I great starting point for anyone who wants an application aware backup of their bitwarden / vaultwarden vault!
October 13, 20214 yr On 8/15/2020 at 2:36 PM, BeardedNoir said: Hello all, I use the appdata backup pluggin for all my apps, however I want to make double sure that I have no issues retrieving my passwords for Bitwarden in the event of a system failure. Good to hear that the back-up process works for you. Just out of curiosity, did you actually try to recover that back-up into freshly new bw install, to make sure the back-up can be restored including all user accounts, and their data?
October 17, 20214 yr Author Hello all, In the end I decided to use the free option that Bitwarden provides and backup to their servers. I didn't want to run the risk of needing to gain access to my server and there being a connection issue.
December 8, 20232 yr On 10/13/2021 at 4:49 PM, Januszmirek said: Good to hear that the back-up process works for you. Just out of curiosity, did you actually try to recover that back-up into freshly new bw install, to make sure the back-up can be restored including all user accounts, and their data? I know this is an old post but hopefully the question is still relevant to someone! Well, it was to me yesterday... I can confirm that this method works. I tested it by: Running the OP's script to backup my VaultWarden container to a cloud service, Then I created a second VaultWarden container (pointing it to a different data directory), Stopped the container, From the command line I copied back from the cloud service to overwrite the files in the new data directory, Then fired up the 2nd container And finally tested it by logging in and checking my settings and vault contents. Boom, I essentially have a duplicate working VaultWarden.
January 7, 20242 yr On 12/9/2023 at 12:09 AM, DANgerous25 said: I know this is an old post but hopefully the question is still relevant to someone! Well, it was to me yesterday... I can confirm that this method works. I tested it by: Running the OP's script to backup my VaultWarden container to a cloud service, Then I created a second VaultWarden container (pointing it to a different data directory), Stopped the container, From the command line I copied back from the cloud service to overwrite the files in the new data directory, Then fired up the 2nd container And finally tested it by logging in and checking my settings and vault contents. Boom, I essentially have a duplicate working VaultWarden. That's great. Can you confirm that you were actually able to recover other users account data? I have multiple accounts set up on my vaultwarden instance and am interested to know if all these accounts can be restored when needed. Thanks;)
January 8, 20242 yr 8 hours ago, Januszmirek said: That's great. Can you confirm that you were actually able to recover other users account data? I have multiple accounts set up on my vaultwarden instance and am interested to know if all these accounts can be restored when needed. Thanks;) My setup is only a single user, so I can’t answer conclusively. However, I don’t see why it shouldn’t work for all of your users, because all it is doing is essentially making a clone of your installation. Best bet is to test it for yourself (as in the worst case scenario it will be good for you to know it does work and how to do it!).
January 8, 20242 yr 7 hours ago, DANgerous25 said: My setup is only a single user, so I can’t answer conclusively. However, I don’t see why it shouldn’t work for all of your users, because all it is doing is essentially making a clone of your installation. Best bet is to test it for yourself (as in the worst case scenario it will be good for you to know it does work and how to do it!). Fair point. So I just go and install the same container under a different name and it becomes a completely separate instance I can play with?
January 8, 20242 yr 1 hour ago, Januszmirek said: Fair point. So I just go and install the same container under a different name and it becomes a completely separate instance I can play with? Yes exactly. The only thing to change is the data directory of the second container when you set it up. When you restore your backup, restore it to that 2nd data directory. (Otherwise you will restore over your existing instance which may result in data loss if you saved anything in your vault since your backup).
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.