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?
-
- 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 -
@3246 said in Access denied - Backup and restore with mounts:
sshfs -o uid=998 -o gid=998
Did you check that yellowtent user is actually 998 locally and in the remote?
-
@girish I did, yep.
axel@my:~$ cat /etc/passwd |grep yellowtent yellowtent:x:998:998:Cloudron Box:/home/yellowtent:/usr/sbin/nologin
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

