Open psociety opened 1 year ago
Do you know how to set it up now?
I went for another better documented solution:
bw_backup:
image: bruceforce/bw_backup
container_name: bw_backup
restart: unless-stopped
depends_on:
- vaultwarden
volumes:
- /YOUR_LOCAL_VAULT_FOLDER/:/data/
- /YOUR_LOCAL_FOLDER_FOR_THE_BACKUP/:/backup_folder/
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- DB_FILE=/data/db.sqlite3
- BACKUP_FILE=/backup_folder/bw_backup.sqlite3
# EVERY DAY 5am
- CRON_TIME=0 5 * * *
- TIMESTAMP=false
- UID=0
- GID=0
I went for another better documented solution:
Thank you, but it doesn't look like this image supports uploading to cloud storage?
Apologies, i saw the issue and i thought the image would do the same.
I'm running rclone along said image via a cron: 5 1 * * * rclone copy /YOUR_LOCAL_FOLDER_FOR_THE_BACKUP/backup.tar.xz cloudflarer2:vault >/dev/null 2>&1
In my case i'm uploading it to Cloudflare R2 as it has a free tier and it's east to setup.
Apologies, i saw the issue and i thought the image would do the same. I'm running rclone along said image via a cron:
5 1 * * * rclone copy /YOUR_LOCAL_FOLDER_FOR_THE_BACKUP/backup.tar.xz cloudflarer2:vault >/dev/null 2>&1
In my case i'm uploading it to Cloudflare R2 as it has a free tier and it's east to setup.
OK thank you, i will have a try.
Right on start it says
It's highly recommend you run via the docker-compose.yml provided.
but then the initial setup instructions saydocker run -it <...>
.So how exactly i have to set it up? Should i :
`docker-compose.yml
docker-compose up -d --no-deps --build bitwarden_dropbox_backup
to build the containerdocker run -it bitwarden_dropbox_backup
i guess? Or since i built the service i have to enter the shell likedocker-compose exec bitwarden_dropbox_backup sh
? Also, isn't it recommended on theyml
to havecontainer_name
set so it doesn't generate a random one?