Page 1 of 1

Backup?

Posted: Sat Jul 19, 2014 1:40 pm
by gm4jjj
I don't seem to be able to get backup to work on the RPi. In the logfile I see:

Sat Jul 19 10:45:40 BST 2014: backup already running.

No message in the log to say that the backup has started when I pressed backup application data.

No sign of any file created in /public.

Does the created backup file only appear once it is finished?

Re: Backup?

Posted: Sat Jul 19, 2014 5:15 pm
by gm4jjj
Hello again, I tried running fullbackup from the command line via ssh and that appears to work, I then do get a message in the meteohub log that full backup has started. I see from the fullbackup script that the gzip file is hidden until it is completed.

I am not sure why running from the web interface did not start the full backup, instead I got a message that it was already running (which was not the case).

I hope that gives some clues to the problem.

Re: Backup?

Posted: Sun Jul 20, 2014 9:27 pm
by joachimF
There is a 'backup -problem'
Message of Meteohub:
Backup in Datei "/public/meteohub.backup" erfolgreich gestartet.
Wenn die Datei erstellt ist, erscheint ein entsprechender Eintrag in der Protokolldatei.

There is neither the directory 'public' nor the file 'meteohub.backup'

Terminal:
root@meteohub-rpi:~# mlocate public
/usr/share/man/man3/EVP_PKEY_print_public.3ssl.gz
/usr/share/man/man3/RSA_public_decrypt.3ssl.gz
/usr/share/man/man3/RSA_public_encrypt.3ssl.gz
/usr/share/python/runtime.d/public_modules.rtinstall
/usr/share/python/runtime.d/public_modules.rtremove

root@meteohub-rpi:~# mlocate meteohub.backup

Re: Backup?

Posted: Sun Jul 20, 2014 10:53 pm
by gm4jjj
Hello,

Could you try giving the command "fullbackup" from the terminal? This does work for me, but using the button in the web interface does not, as you are finding also.

If I do that then the backup does start and eventually the Meteohub.backup is created in the smb share "public". (The public share is /data directory in the terminal). It can take quite a long time for the backup file to be created, as it is hidden while it is being produced, but you should see an entry in the meteohub log that it has been started and that it has been completed.

I hope that helps.

Hopefully admin will correct me if I am wrong.

Best wishes

david

Re: Backup? [terminal solution]

Posted: Mon Jul 21, 2014 3:29 pm
by joachimF
Hallo David,
the teminal command './fullbackup' makes the file '/data/meteohub.backup' and
the message 'Mon Jul 21 13:52:02 CEST 2014: full backup done' is in the meteohub.log.

merci for helping

Re: Backup?

Posted: Wed Jul 23, 2014 11:08 am
by ajwhall
Hi to the Forum,

What folder are you running the "fullbackup" from?

Once I log in via SSH which folder do I need to change to?
Please can you write the full line for me as I always have trouble remembering the Linux file structure!

Best Regards,

Andrew.

Re: Backup?

Posted: Wed Jul 23, 2014 1:44 pm
by gm4jjj
I think the command ./fullbackup will work from any directory, however the script is in /home/meteohub so you could cd to there first .

Code: Select all

cd /home/meteohub
./fullbackup

Re: Backup?

Posted: Thu Jul 24, 2014 9:39 am
by ajwhall
Hi David,

Full backup started!

Many thanks.

Andrew.