Access denied - Backup and restore with mounts
-
- On my remote box, I have backed up a Cloudron via SSHFS to my NAS
- I am now on the local network, trying a test restore by mounting the NAS share locally using SSHFS.
- Cloudron restore.html always says it cannot read, which is odd, considering it has full access.
- What am I doing wrong?
Steps to replicate:
- Create a backup on the source Cloudron using SSHFS to a remote destination
- Create a fresh VM locally and mount the share
sshfs -o uid=998 -o gid=998 -v <USER>@<NAS>:/backups_cloudron /mnt/cloudronbackups
- Verify the permissions are a-okay:
drwxrwxrwx 1 yellowtent yellowtent 4.0K Aug 18 14:30 /mnt/cloudronbackups
- Upload the backup config from the last backup and change from SSHFS to Filesystem
- Receive the following error:
Access denied. Create the directory and run "chown yellowtent:yellowtent /mnt/cloudronbackups" on the server
-
Hey @3246, not with the Cloudron team, but can you 'cd' down into the /mnt/cloudronbackups folder (particularly, into it's subfolders)?
Beyond that... I think you might just need to follow the instructions and run chown yellowtent:yellowtent... but I'm not 100% sure that will work... so maybe make a local copy and restore from that just to be on the safe side.
-
-
@3246 said in Access denied - Backup and restore with mounts:
just entertainment
It'a really only entertaining when the user realizes what happened and posts about it.
BTW, did you run "chown yellowtent:yellowtent /mnt/cloudronbackups" and were you then able to restore from the SSHFS-mounted NAS?