more backup fixes
This commit is contained in:
		| @@ -1,15 +1,8 @@ | ||||
| # How to restore | ||||
| # How to initialize a new target | ||||
| I used multiple targets for backup. Each target needs to be initialized with a repository. | ||||
|  | ||||
| 1.  Port forward the rest api for gcloud | ||||
|     ```bash | ||||
|     kubectl port-forward -n backup service/rclone-gcloud 8000 | ||||
|     ``` | ||||
| After the target (bucket or other) is created, run the following command **locally** to initialize the target: | ||||
|  | ||||
| 2. Load the snapshots locally | ||||
|     ```bash | ||||
|     restic -r rest:http://127.0.0.1:8000/kluster mount /mnt/restic | ||||
|     ``` | ||||
|     (The password is in a secret) | ||||
|  | ||||
| 3. Copy relevant files to the correct location on the NAS | ||||
|      | ||||
| ```bash | ||||
| restic -r <target> init | ||||
| ``` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user