OS / 가상화

Linnux, Hypervisor 등 OS와 가상화에 관련된 주제의 게시판입니다.
  • 돌아가기
  • 아래로
  • 위로
  • 목록
  • 댓글
달소 프로필 보기 [레벨:121]diamond달소

Docker Volume Backup을 위한 docker-volume-backup

정보 조회 수 5,478 댓글 0 0 복사 복사

나중에 테스트해볼것으로 ㅎ 와드입니당 

 

 

도커 볼륨 백업

Docker 볼륨을 로컬로 백업하거나 S3, WebDAV, Azure Blob Storage, Dropbox 또는 SSH 호환 스토리지에 백업하세요.

offen /docker-volume-backup Docker 이미지는 기존 Docker 설정에 대한 경량(15MB 미만) 동반 컨테이너로 사용할 수 있습니다. Docker 볼륨을 로컬 디렉터리 , S3 , WebDAV, Azure Blob Storage, Dropbox 또는 SSH 호환 스토리지(또는 이들의 조합)에 대한 반복 또는 일회성 백업을 처리 하고 구성된 경우 오래된 백업을 순환시킵니다. 또한 GPG를 사용하여 백업을 암호화 하고 (실패한) 백업 실행에 대한 알림을 보내는 기능 도 지원합니다 .        

설명서는 https://offen.github.io/docker-volume-backup 에서 찾을 수 있습니다.

 

version: '3'

services:
  volume-consumer:
    build:
      context: ./my-app
    volumes:
      - data:/var/my-app
    labels:
      # This means the container will be stopped during backup to ensure
      # backup integrity. You can omit this label if stopping during backup
      # not required.
      - docker-volume-backup.stop-during-backup=true

  backup:
    # In production, it is advised to lock your image tag to a proper
    # release version instead of using `latest`.
    # Check https://github.com/offen/docker-volume-backup/releases
    # for a list of available releases.
    image: offen/docker-volume-backup:latest
    restart: always
    env_file: ./backup.env # see below for configuration reference
    volumes:
      - data:/backup/my-app-backup:ro
      # Mounting the Docker socket allows the script to stop and restart
      # the container during backup. You can omit this if you don't want
      # to stop the container. In case you need to proxy the socket, you can
      # also provide a location by setting `DOCKER_HOST` in the container
      - /var/run/docker.sock:/var/run/docker.sock:ro
      # If you mount a local directory or volume to `/archive` a local
      # copy of the backup will be stored there. You can override the
      # location inside of the container by setting `BACKUP_ARCHIVE`.
      # You can omit this if you do not want to keep local backups.
      - /path/to/local_backups:/archive
volumes:
  data:

 

달소 달소

메인 서버 - Ryzen 9700x / Proxmox 8.3 / Ubuntu / Xpenology / 기타 VM 등등

2nd 서버 - Ryzen 5700G / Proxmox 7.2 / 보조서버

3th 서버 - Intel i9-9900ES(QQC0) / H370M / Proxmox 7.1 / 아직개발용서버로 사용중

백업스토리지서버 - DS920+ 
하드웨어,가상화 등등 여러 IT분야에 관심이 두루두루많습니다만 깊게알고있는건 없습니다 하하하

0
신고 공유 스크랩
facebooktwitterpinterestbandkakao story

댓글

댓글 쓰기

댓글 쓰기 권한이 없습니다.

취소 댓글 등록
목록

오늘의 베스트(조회순)

주간 베스트(추천순)

번호분류 제목 추천글쓴이날짜조회
공지 new 2026/06/15(월) 정전으로 인한 서버 점검 안내 (09:00~12:00) - [레벨:121]diamond달소 23분 전21:10 14
공지 [안내] 개인 개발 및 AI(바이브코딩) 기반 앱 공개/사용 시 유의사항 1 27 [레벨:121]diamond달소 26.03.28.23:38 1,645
5529 정보
image
2 [레벨:17]TryK 26.06.04.15:00 201
5528 정보
normal
3 [레벨:13]자혜 26.05.31.20:22 315
5527 질문
normal
2 [레벨:7]NAS뉴비 26.05.30.18:25 439
5526 정보
normal
2 [레벨:45]platinumkmw_ 26.05.29.19:58 228
5525 후기
image
3 [레벨:5]momn 26.05.28.23:26 269
5524 질문
image
1 [레벨:4]달빛한잔 26.05.26.14:50 306
5523 질문
normal
1 [레벨:4]달빛한잔 26.05.26.11:08 295
5522 잡담
image
3 [레벨:2]이리 26.05.24.19:35 315
5521 잡담
normal
3 [레벨:5]발냄새나요 26.05.24.16:14 375
5520 질문
normal
2 [레벨:1]당근감자 26.05.15.13:51 588
5519 질문
normal
2 [레벨:5]Thomas 26.05.14.16:03 454
5518 정보
image
4 [레벨:15]N4100 26.05.13.22:25 272
5517 질문
normal
2 [레벨:3]이짜슥 26.05.11.19:01 322
5516 질문
normal
1 [레벨:1]릴토끼 26.05.09.23:55 316
5515 정보
image
3 [레벨:12]새하얀구름 26.05.08.20:19 605
5514 정보
image
5 [레벨:18]gold한꼬푸 26.05.07.20:45 425
5513 정보
image
2 [레벨:5]너드남 26.05.05.20:39 1,057
5512 질문
image
2 [레벨:1]밍가우동 26.05.05.03:26 506
5511 후기
image
5 [레벨:45]platinumkmw_ 26.05.04.18:51 524
5510 가이드
image
3 [레벨:44]klayf 26.05.04.14:02 458