I've done a backup from the backups app in Ubuntu 20.04 LTS.
Now, I want to restore those files in a different laptop, with Ubuntu 22.04 LTS.
- If I try to use the graphical way, I get the warning that Backups does not have permission to restore some files...
I can't find it now, but I remember reading an answer on this forum about a way to restore files from the terminal, when this happened.
- I've also tried
sudo duplicity restore file://<path_to_backup> /~
, however, I getdestination directory already exists. Will not overwrite
.
You can use
--force
Mind that this does not remove files on disk not restored from the backup so is kind of dangerous. (a backup should always restore to what it was and not aggregate files).
rm
to remove the destination. But what is the idea of/~
? I would assume~
or.
or am absolute directory.