First script attempt......Bitwarden backup


Recommended Posts

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 by LoneTraveler
  • Like 1
Link to comment
  • 1 year later...
  • 1 month later...

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! 

Link to comment
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?

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.