-
I am trying to restore a rclone repo using restore. This is my configuration: [repository]
repository = "rclone:remote:/Test"
repo-hot = "local:/home/jack/Desktop/backup/Test"
cache-dir = "local:/home/jack/Desktop/cache/Test"
password = "XXXXXX"
[repository.options]
rclone-command = "rclone --config /home/jack/Desktop/rclone.conf serve restic --addr localhost:0"
use-password = "true"
[global.env]
RCLONE_CONFIG_PASS = "YYYYYY"
[[backup.sources]]
source = "/home/jack/Desktop/Test" I run the following commands: rustic -P Test init
rustic -P Test backup
rustic -P Test restore latest /home/jack/Desktop/restore and they work, but if I then run rm -r /home/jack/Desktop/restore
rm -r /home/jack/Desktop/backup/Test
rustic -P Test restore latest /home/jack/Desktop/restore I receive the following error:
The same happens if I try to run a second What can I do in case my hard drive with the hot repo breaks down and I only have the cold rclone repo available? Should I do something with the output "[INFO] key 2797cd8f successfully added." of the init command? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@AlphaJack if you want to access a hot/cold repo where the hot part is actually no more present, you have to tell rustic to treat it like a normal repo. This means you should remove the There is so far no |
Beta Was this translation helpful? Give feedback.
-
Another question is: What do you want to achieve with this setup? Having a hot/cold repository with the hot part on local disc usually doesn't make sense, IMO. What are you trying to do or what do you expect from this setup? Also, just in case you really want to have the hot part on local disc: In that case you don't need an additional cache. |
Beta Was this translation helpful? Give feedback.
@AlphaJack if you want to access a hot/cold repo where the hot part is actually no more present, you have to tell rustic to treat it like a normal repo. This means you should remove the
repo-hot
from your config.There is so far no
repair hot
command which would be able to restore the hot part from the cold part.