Skip to content

Commit 04c379d

Browse files
committed
correct restore script
1 parent 4432cda commit 04c379d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
services:
22

3-
movement-backup-db:
3+
movement-restore-db:
44
image: restic/restic
55
container_name: movement-restore-db
66
environment:
77
- AWS_REGION=${AWS_REGION}
88
- RESTIC_PASSWORD=${RESTIC_PASSWORD}
99
- RESTIC_HOST=${RESTIC_HOST}
1010
- SYNC_BUCKET=${SYNC_BUCKET}
11-
12-
command: -r s3:s3.${AWS_REGION}.amazonaws.com/${SYNC_BUCKET}/restic_node_backup --host ${RESTIC_HOST} restore latest --target . --include /.movement/maptos --include /.movement/maptos-storage --include /.movement/movement-da-db --include /.movement/default_signer_address_whitelist
11+
entrypoint: ["/bin/sh", "-c"]
12+
command: >
13+
"restic --no-lock -r s3:s3.${AWS_REGION}.amazonaws.com/${SYNC_BUCKET}/restic_node_backup
14+
--host ${RESTIC_HOST} restore latest
15+
--target .
16+
--include /.movement/maptos
17+
--include /.movement/maptos-storage
18+
--include /.movement/movement-da-db
19+
--include /.movement/default_signer_address_whitelist
20+
-o s3.unsafe-anonymous-auth=true"
1321
volumes:
1422
- ${DOT_MOVEMENT_PATH}:/.movement

docs/movement-node/run-fullnode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Running a follower node locally allows you to evaluate performance on a given ne
1212

1313
## Container Revision
1414

15-
The current container revision for installation is: `CONTAINER_REV=09d2b26-amd64` githut commit:`09d2b26612a904fed4f12fd89eacc3de9993c50b`
15+
The current container revision for installation is: `CONTAINER_REV=4432cda-amd64` githut commit:`4432cda5057c3e88bf876ac58c5a502b0e1a2b72`
1616

1717
## Running a Movement Full Node
1818

0 commit comments

Comments
 (0)