Copy Historical data (rra databases) between Toons

Everything about software tools, new software development and toolchains. For developers, mostly.

Moderators: marcelr, Toonz, TheHogNL, TerrorSource

Re: Copy Historical data (rra databases) between Toons

Postby ovdleun » Mon Jul 06, 2020 10:02 pm

Hi Marcelr,

The version from github, is that a working version?
https://github.com/ToonSoftwareCollective/transfer-logs

I'm having a hard time getting it to work ;) I can compile it under linux but it's, of course, not working on arm then:
# ./transfer-logs
./transfer-logs: line 1: syntax error: unexpected "("

I'd like to transfer the files from my old Toon1 to new Toon2, if even possible.
Any hints for me? Before I'm installing a full arm toolchain ;o)

Regards,
Onno.
ovdleun
Starting Member
Starting Member
 
Posts: 19
Joined: April 2016

Re: Copy Historical data (rra databases) between Toons

Postby marcelr » Tue Jul 07, 2020 4:39 pm

Hmmm .. apparently it has issues.
The best you can do is just copy the old rra databases + dat files to the new toon, together with the config_hcb_rrd.xml file and config_hcb_pwrusage.xml. These files hold all information regarding your history. And remember: Thou shalt make back-ups!
marcelr
Global Moderator
Global Moderator
 
Posts: 1149
Joined: May 2012
Location: Ehv

Re: Copy Historical data (rra databases) between Toons

Postby ovdleun » Tue Jul 07, 2020 8:31 pm

Tnx! Damn .. forgot about the layout files .. did copy the rra's but that doesn't work without the xml's of course. Fixed it.
ovdleun
Starting Member
Starting Member
 
Posts: 19
Joined: April 2016

Re: Copy Historical data (rra databases) between Toons

Postby Pieterraxis » Fri Jul 10, 2020 9:45 am

Maar....

Waar vind ik die bestanden?

Image
Pieterraxis
Starting Member
Starting Member
 
Posts: 12
Joined: June 2020

Re: Copy Historical data (rra databases) between Toons

Postby marcelr » Fri Jul 10, 2020 10:35 am

/mnt/data

and this thread is supposed to be English.
marcelr
Global Moderator
Global Moderator
 
Posts: 1149
Joined: May 2012
Location: Ehv

Re: Copy Historical data (rra databases) between Toons

Postby Pieterraxis » Fri Jul 10, 2020 1:44 pm

Tnx,

And do you guys have a samba server installed on the toon?

Can't get in with sftp
Code: Select all
Status:   Verbinden met 192.168.178.9...
Antwoord:   fzSftp started, protocol_version=9
Opdracht:   open "root@192.168.178.9" 22
Opdracht:   Pass: ****
Status:   Connected to 192.168.178.9
Fout:   FATAL ERROR: Received unexpected end-of-file from SFTP server
Fout:   Kan niet verbinden met server


I called the 2nd toon toon2 in smb.conf just in case.

But windows can't connect


Image
Pieterraxis
Starting Member
Starting Member
 
Posts: 12
Joined: June 2020

Re: Copy Historical data (rra databases) between Toons

Postby Pieterraxis » Tue Jul 14, 2020 10:49 am

voor sftp access :
Code: Select all
opkg install http://files.domoticaforum.eu/uploads/Toon/ipk/cortexa9hf-vfp-neon/openssh-sftp-server_6.7p1-r0_cortexa9hf-vfp-neon.ipk
Pieterraxis
Starting Member
Starting Member
 
Posts: 12
Joined: June 2020

Re: Copy Historical data (rra databases) between Toons

Postby Pieterraxis » Tue Jul 14, 2020 2:22 pm

I do have the file config_HAPP_pwrusage.xml but not config_HCB_pwrusage.xml

Searched all of "/" without capitals.
Pieterraxis
Starting Member
Starting Member
 
Posts: 12
Joined: June 2020

Previous

Return to Toon software development

Who is online

Users browsing this forum: No registered users and 1 guest