My YunoHost server
Hardware: VPS bought online
YunoHost version: 11.1.18
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
Description of my issue
I have a yunohost instance that I would like to move to a new server. One key reason for this move is to have better partitioning (to prevent greedy users from breaking the whole system).
To make this move, I thought the easiest would be to make a full backup on old server, install a fresh yunohost on new server and restore the backup. But the restore command fails with this error:
Error: Not enough space (space: 64599695360 B, needed space: 71516405367 B, security margin: 104857600 B)
It seems the available space seen by the command is only the space available on home partition (maybe because that’s where the backup folder is?):
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 25G 2.2G 22G 10% /
/dev/xvdb 64G 368K 61G 1% /home
/dev/xvda15 124M 11M 114M 9% /boot/efi
/dev/xvdd 15G 713M 14G 6% /var
/dev/xvde 4.9G 559M 4.1G 12% /var/log
/dev/xvdc 20G 684K 19G 1% /var/mail
/dev/xvdf 74G 67G 2.8G 97% /media/initial_backup
The 67G archive is on a temporary volume mounted on /media/initial_backup
and symlinked from the backup folder. As you can see, there is enough space on the overall system, but not enough in home folder. I made the partition sizes according to what was used on the old server (with some margin), so I know there is enough space on each partition.
Is there a way to bypass this check? Someone asked a similar question on another post, but that specific question didn’t get an answer. I saw there is a --force
option, but seems to be for another purpose.