Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以提供对Vaultwarden更简便的备份方案吗 #103

Open
ccc-3po opened this issue Jan 26, 2024 · 4 comments
Open

可以提供对Vaultwarden更简便的备份方案吗 #103

ccc-3po opened this issue Jan 26, 2024 · 4 comments

Comments

@ccc-3po
Copy link

ccc-3po commented Jan 26, 2024

看了网上的备份方案,相对来说还是比较复杂,请问backup-x能提供更简单易搭建的备份方案吗?谢谢。

@ccc-3po ccc-3po changed the title 请提供对Vaultwarden的备份 可以提供对Vaultwarden更简便的备份方案吗 Jan 26, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Jan 27, 2024

参考备份文件的说明,自行写一下

@wo8335224
Copy link

你可以了吗?可以贡献一下吗?

@xianjianqiyuan
Copy link

xianjianqiyuan commented Nov 25, 2024

image

@xianjianqiyuan
Copy link

xianjianqiyuan commented Nov 25, 2024

  1. 拉取代码到本地,dockerfile添加apt-get install -y sqlite3并保存
  2. 进入代码目录,编译镜像:docker build . -t jeessy/backup-x:vw
  3. 修改docker容器存储库标签,并将vaultwarden的db文件映射到容器的/data/vaultwarden/db.sqlite3(权限:只读),重启容器
  4. 最后页面配置参考上面图片,脚本名日期格式必须是%Y-%m-%d-%H-%M,否则任务执行完成后会扫描不到文件,webhook提示备份失败

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants