Hi there, On Sat, 3 Feb 2024, daggs wrote:
I want to restore a remote backup to a external device which is connected to my backup server under mount. I've selected the remote host and the backup host (localhost) at path /mnt but I get the below error. Error: Can't open/create /var/lib/backuppc/pc/localhost/restoreReq.22495.0 what can be the issue?
When you do *anything*, for example in this case a restore, there's a 'user' involved. That user has permissions. The permissions need at least to grant read access to what needs to be read and write access to what needs to be written. The 'open/create' in the error message *seems* to be telling us that the user doesn't have permission, but I wouldn't rule out the possibility that the path is non-existent from what I've seen so far. Is there any more to the error message? It might be as simple as giving write permission on a directory to the user doing the restore, but you might need to look at (a) the user ids - which user is doing the restore - where the restored files are expected to be written - what permissions will the user need to do whatever is required (b) those parts of the BackupPC configuration which concern - the locations of the various bits of the BackupPC system and - the user(s) which are allowed to run backups and restores If you can give more details about how you attempted to perform the restore (if you used the command line, then let us see the commands), about your configuration, about all the different bits of equipment, and how they're supposed to talk to each other, we should be able to give you better help. If you mounted any of the bits manually, let us see the mount command(s) (and the content of /etc/fstab if used). -- 73, Ged. _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/