Auto Backup

Discussion of the Meteohub software package

Moderator: Mattk

bolzano
Junior Boarder
Junior Boarder
Posts: 22
Joined: Sun Aug 31, 2008 10:10 pm

Re:Auto Backup

Post by bolzano »

admin wrote:you can remove the file/link "/home/meteohub/meteohub". This has been produced by one of the updates by accident.
Sure ?
Files in those directories seems to be up to date...
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7879
Joined: Mon Oct 01, 2007 10:51 pm

Re:Auto Backup

Post by admin »

"/home/meteohub/meteohub" is a symbolik link to "/home/meteohub". I don't exactly know if deleting that link via Windows, what might happen.

If you want to be sure, login via ssh:
1) login via ssh (putty for example), port 22, user root, password meteohub
2) give command "rm /home/meteohub/meteohub"
bolzano
Junior Boarder
Junior Boarder
Posts: 22
Joined: Sun Aug 31, 2008 10:10 pm

Re:Auto Backup

Post by bolzano »

Done.
thanks !
AAMFlyer
Gold Boarder
Gold Boarder
Posts: 213
Joined: Mon Aug 11, 2008 12:55 am
Location: Arvada, CO

Re:Auto Backup

Post by AAMFlyer »

For those that may run in Vista - Scheduler has an issue with running batch files - so you have to do the following...

Program Script is: cmd
argument line is: /c backup.bat
start in is your director of the bat file.

Gregg
User avatar
oliverb
Expert Boarder
Expert Boarder
Posts: 119
Joined: Mon Nov 19, 2007 7:59 pm

Re:Auto Backup

Post by oliverb »

I am having trouble running backup.bat in Windows 7 scheduler. The file runs fine when run within windows but does not run in scheduler. Can anyone help with my scheduler settings?
Thanks Brett. Image
AAMFlyer
Gold Boarder
Gold Boarder
Posts: 213
Joined: Mon Aug 11, 2008 12:55 am
Location: Arvada, CO

Re:Auto Backup

Post by AAMFlyer »

I just moved over to Win 7 too and don't seem to have any problems....but I will take a look at my settings this weekend when I get a chance.... I know before I moved from vista to Win 7 I exported my Schedule settings then just imported them back into Win 7.....

Gregg
User avatar
oliverb
Expert Boarder
Expert Boarder
Posts: 119
Joined: Mon Nov 19, 2007 7:59 pm

Re:Auto Backup

Post by oliverb »

Thanks Gregg.
I have got it working. I presumed wrongly it would work as Vista and require "CMD" in the Program box.
See working Windows 7 settings below. Image
User avatar
oliverb
Expert Boarder
Expert Boarder
Posts: 119
Joined: Mon Nov 19, 2007 7:59 pm

Re:Auto Backup

Post by oliverb »

This is the cmd screen during my backup.
Is there anything going wrong here?
End of backup Image
User avatar
oliverb
Expert Boarder
Expert Boarder
Posts: 119
Joined: Mon Nov 19, 2007 7:59 pm

Re:Auto Backup

Post by oliverb »

Start of backup. Image
User avatar
oliverb
Expert Boarder
Expert Boarder
Posts: 119
Joined: Mon Nov 19, 2007 7:59 pm

Re:Auto Backup

Post by oliverb »

My lost and found folder on Meteohub is empty could that be reason for the error on the top backup screen?
User avatar
LorieJCall
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Sun Feb 27, 2011 4:09 pm
Location: Minneapolis, MN
Contact:

Re: Auto Backup

Post by LorieJCall »

My apologies for bumping an ancient thread: I'm hoping someone can explain why Plans A and B didn't work, but Plan C did.

I was unable to find cwRsync anywhere in the Downloads section of the MeteoHub wiki. (I looked in all four sections: Documentation, Images, Updates, and Misc, but couldn't find it.) I googled through that part of the website, as well as the forum, and didn't see any updated location information, so I downloaded the SourceForge version at http://sourceforge.net/projects/sereds/ ... ync/4.0.6/.

After installation, I created the config and data folders, as well as a modified backup.bat file. (I omitted the "@echo off" line, and changed "Meteohub" to match my MeteoHub's hostname.):
sevenless wrote:3) Open notepad and insert the following text:
@echo off
rsync.exe -uav rsync://root@
Meteohub/data data
rsync.exe -uav rsync://root@
Meteohub/config config
When I ran backup.bat, I got connection timeouts for both command lines. I changed the hostname (which is mixed-case characters with numbers) to all lowercase, then to all uppercase; neither ran successfully. When I replaced the hostname with the static IP address, it appears to have backed-up everything except \\...\\public\\uploads, which is a symlink to /var/run/meteohub/uploads.

My Windows machines are running XP SP3. The MeteoHub is in the same workgroup and on the same subnet as the rest of my LAN; I'm able to access the Samba share from all computers on the LAN. While the MeteoHub's hostname is shown on Windows machines with mixed-case characters, I can't ping it that way, but again, I can ping the static IP address.

Can someone explain what I'm overlooking or doing wrong? Should I rename my MeteoHub's hostname to all lowercase? Do I need to be concerned about not including \\...\\public\\uploads? Or should I just take what I've got so far and run? Thanks in advance!

Lorie
User avatar
d_l
Expert Boarder
Expert Boarder
Posts: 140
Joined: Fri Mar 13, 2009 12:58 am
Location: Reno, Nevada USA
Contact:

Re: Auto Backup

Post by d_l »

The uploads folder is usually empty except for brief intervals when the Meteohub loads files into it just before making an upload. I think it is more of a scratch pad folder.

You didn't say if you have a hostname for your Meteohub listed with its IP address in your hosts file. That might account for the failure using the hostname, but its IP address works.
User avatar
LorieJCall
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Sun Feb 27, 2011 4:09 pm
Location: Minneapolis, MN
Contact:

Re: Auto Backup

Post by LorieJCall »

d_l wrote:The uploads folder is usually empty except for brief intervals when the Meteohub loads files into it just before making an upload. I think it is more of a scratch pad folder.

You didn't say if you have a hostname for your Meteohub listed with its IP address in your hosts file. That might account for the failure using the hostname, but its IP address works.
Thanks for the clarification on \\...\\public\\uploads. And correct, I didn't have the MeteoHub defined in my hosts file, and didn't even think of it, since I could access the Samba share without any issues. Once I added that entry, backup.bat was able to run using the hostname. Thanks for the quick response!
Post Reply