My YunoHost server
Generic Contabo VPS
YunoHost version: 11.0.10.2 (stable)
I have access to my server : SSH | webadmin |
**vanilla YunoHost install
Description of my issue
Hi everyone! First let me thank you for creating YunoHost! It’s really easy and nice to use
I’m hosting a Mastodon instance (who doesn’t these day, right ) and now I’m having the situation that I need to backup my instance.
The first issue I encountered is the following:
I want to access /var/www/mastodon either by ssh or sftp (via Cyberduck). So I can login to the machine by using my standard user. Problem: this user has permission to /var/www but not /var/www/mastodon. Only the user www-data has:
drwxr-xr-x 2 root root 4096 Nov 9 22:02 html
drwxr-x— 6 mastodon www-data 4096 Nov 10 09:31 mastodon
So on the shell I could do su www-data but then I get a password prompt. But I don’t know the password, and never set one during the initial setup, so I can’t access any files.
How can I achieve that?
Looking beyond that: I want to backup the whole server periodically (or some files/folders) to an S3-compatible object storage. What would be the best noob way to archive that?
Thanks in advance to anyone who can help me with my issues.
Kind regards,
Jay