Restoring backup not possible

My YunoHost server

Hardware: Fujitsu Esprimo Q920, Intel core i5-4590T, 16GB RAM, 256GB+8TB internal SSDs, 12TB+4TB external HDDs
YunoHost version: 11.2.17.1
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: added task-xfce-desktop which is not active unless I start it (for a short period of time usually), added printerserver functionality, the internal 256 GB SSD holds the standard yunohost installation except for /home/yunohost.app and /home/yunohost.multimedia, which are mounted on the otherwise empty internal 8TB SSD, and the /home/yunohost.backup is mounted on an external 12TB HDD.

Description of my issue

tl;dr: How do I extract the data of a single app from the backup .tar files?

Hi!

My last installation of yunohost went offline for no obvious reason and wouldn’t let me restart nginx at all. Since I wanted to reinstall yunohost anyway with a 2nd internal drive and a bigger boot partition (so I wouldn’t have to sudo apt autoremove on an almost daily basis), I didn’t try too hard to fix the nginx/systemd problem but make a clean install instead. (I have a clone of the old one though.)

I added the extra drives to the fstab and mounted yunohost.app, yunohost.multimedia and yunohost.backup as bind, so the system will use them as if they were all on the same drive. Then checked to make sure they’re working correctly. Next I tried to start the restore of the backup of a single app (Glitch-soc) which is 21GB according to the backup menu in yunohost.

When I click “wiederherstellen” (I guess that’s restore in the english yunohost translation), there’s an error message telling me, the backup is too big, claiming it would need about 4TB while I allegedly only had 3,8TB left on the drive. (The newly formatted and partitioned so far unused 8TB that is.)

I really don’t care about the rest of the backup, there’s nothing of importance there. But losing my Glitch-soc instance would be painful.

My actual question is: Is there any way to extract the relevant data from the backup .tar files so I can add them manually to a new installation of Glitch-soc on my newly installed server?

(I’m not sure whether this counts as general support or app support. If I’m in the wrong place please bear with me and move the post into the correct category, please. Thank you!)

Your configuration is hard to understand.
Did you try to restore from the command line?

sudo yunohost backup restore

Choose what to restore

--system [SYSTEM ...]
                    List of system parts
                    to restore (or all
                    if none is given)
  --apps [APPS ...]
                    List of application
                    names to restore (or
                    all if none is
                    given)

Add --force at the end of the command to : Force restauration on an already installed system

In your case
sudo yunohost backup restore --apps glitch-soc --force

Thanks for the hint. Unfortunately the outcome is just the same: Error message says “nicht genug Speicher” (not enough space: 3.8TB, needed: 4TB). It never asked me for a destination to where it is meant to restore the backup to, though. If yunohost randomly tries to restore the backup to my external drive (which coincidentally has about the amount of free space that yunohost claims to not be enough: 3.8TB) that would explain, where the utterly specific but wrong amount of alleged free space comes from, while the intended internal drive has about 6.9TB of free space.

OK. Did you try to extract the content of the backup on your pc, remove unneeded large folders and recreate the tar file on another location, then send it with the json and symlink to the backup directory.
Keep the original backup file untouched until you have your app restored and working

(The nginx is once again not working. That was the reason, why I installed the server newly in the first place. Since this time I did not do anything with yunohost except all that is written in this thread, I’m quite sure, it is not a problem caused by me. Plus I wasn’t even near the server when nginx quit working.

I’m done trying yunohost. It’s impossible to get it to work even without a single app installed.)

So I’m back to my original question:

Can I somehow extract the relevant data from the .tar backup file, so I can use it in a glitch-soc installation on a server without yunohost? I guess that would be a sql-dump and the files in www(?) and yunohost.app? Am I missing something?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.