I use nc-backup-auto to run backups automatically on an external drive.
At the moment I have 2 backups, I need to restore the last one, but unfortunately I can’t, I get the message “disk full”.
I connected via ftp to download the backups to my pc and delete one to free up space “Impossible access denied”
please help
edition
the file is owned by: root
group: www-data
Yes, you don’t have the necessary permissions to do that.
I’m sure you could copy using sudo in the command line.
But I’m not sure why you would want to do that. I see that you still have 19% empty space on /media/savegarde (which I assume to be your Backup Drive). This should be enough to restore the backup, as far as I know, there is only a small file created for every time you restore a backup.
I’m sure you could copy using sudo in the command line.
I searched on the web how to download on my Windows pc with putty the backup, but unfortunately I didn’t find a solution.
if you have one, i would be grateful to you to give it to me.
But I’m not sure why you would want to do that. I see that you still have 19% empty space on /media/savegarde (which I assume to be your Backup Drive). This should be enough to restore the backup, as far as I know, there is only a small file created for every time you restore a backup.
Maybe the problem is that my backup is compressing. Before restoring, maybe you need to decompress?
Are you following these steps?
When exactly do you get the “disk full” message?
The only step I didn’t do is "11. On the left in the section “Backups” choose “nc-import-ncp”
But, I’m doing it right now, I’ll give you news when it’s finished. The process started 10 minutes ago.
Thank you for your help!
I managed to copy the backups to another hard drive with the terminal with sudo su.
Then I reinstalled nextcloudpi. At the moment I am trying to restore the backup without freeing up space on the hard drive that contains the backup. I’m pretty sure this won’t work. If it does, I will free up space by deleting a file on the backup drive and restart the restore.
@j-ed thanks for taking over, I was running out of wisdom… @Jeano How did it go? Was your Backup compressed? (Still trying to understand why it said “disk full”
That is only if you exported your ncp configs, not to restore the data backup.
I finally succeeded.
Little advice to succeed in your restoration.
when you backup your data, if you check the “compress” box, you need a large hard disk because the decompression of the hard disk is done in the disk that contains the backup. For my part, I would not check this box anymore.
launch the restoration from a machine that can be switched on 24 hours a day and that does not go to sleep otherwise you cannot see the progress of the restoration.
Be patient, it took more than 24 hours to restore 400GB.
J’ai finalement réussi.
Petits conseils pour réussir votre restauration.
lors de la sauvegarde de vos données, si vous cochez la case “compress” il faut prévoir un disque dur de grosse taille puisque la décompression de celui-ci se fait dans le disque que contient la sauvegarde. Pour ma part, je ne cocherais plus cette case.
Pour déplacer ou sauvegarder vos sauvegardes sur un autre disque dur il faut utiliser le terminal et avoir l’accès “root”. Avec l’utilisateur “pi” il faut utiliser la commande “sudo su”.
Pour copier, vous pouvez utiliser le tuto de ce site cp - Copier fichier et dossier en ligne de commande - www.octetmalin.net
lancez la restauration depuis une machine qui peut être allumée 24 sur 24 heures et que ne se met pas en veille autrement vous ne pouvez pas voir l’avancement de la restauration.
Armez-vous de patience, la restauration de 400go a pris plus de 24 heures.