[Dxspider-support] Migrating data to new DX Spider node

Nick-VE3EY nick.ve3ey at gmail.com
Tue Dec 21 14:34:57 GMT 2021


Hi Dirk/Kin and Mike -W1NR

Many thanks for your helpful suggestions.

The primary reason for moving my node to new platform was to bring DX 
Spider code up to latest release as per e-mail which came out around CQ 
WW.   My node was on that black list.

For some reason my git -pull attempt failed to update DX Spider and I am 
sure it was an operator error.      Otherwise,  the older product has 
been *very* stable and if it was not for periodic power outages, the 
node would have run forever.  Never got around to invest in a UPS.

I will go with a 64Gb SD card and take my chances.   I will supplement 
it with log2ram as VA3MW indicated earlier.   After 5 years of trouble 
free service, it is time to bring in new Rpi hardware, Raspbian OS and 
latest DX Spider code.   I just want to carry over my historical spots 
and user data.

Thanks and 73

Nick VE3EY-7


On 2021-12-21 4:50 a.m., dxspider-support-request at tobit.co.uk wrote:
> Send Dxspider-support mailing list submissions to
> 	dxspider-support at tobit.co.uk
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> or, via email, send a message with subject or body 'help' to
> 	dxspider-support-request at tobit.co.uk
>
> You can reach the person managing the list at
> 	dxspider-support-owner at tobit.co.uk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Dxspider-support digest..."
>
>
> Today's Topics:
>
>     1. Re: Migrating data to new DX Spider node (Joaquin .)
>     2. Re: Migrating data to new DX Spider node (Dirk Koopman)
>     3. Re: Migrating data to new DX Spider node (Mike McCarthy, W1NR)
>     4. Announces (Rob Harrison)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 20 Dec 2021 15:28:09 +0100
> From: "Joaquin ." <joaquin at cronux.net>
> To: The DXSpider Support list <dxspider-support at tobit.co.uk>
> Subject: Re: [Dxspider-support] Migrating data to new DX Spider node
> Message-ID:
> 	<CAHTVWh2Bge=wBERhpfxNWaAQJvtTpUm-9kVq3CVwmT3Y8S2rbQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Nick,
>
> Also: /spider/scripts
>
> Kin
>
>
>
>
> El dom, 19 dic 2021 a las 17:49, Nick-VE3EY via Dxspider-support (<
> dxspider-support at tobit.co.uk>) escribi?:
>
>> Hello Sysops.
>>
>> I decided to build a new DX Spider node on Rpi4 with latest Spider code
>> on most current Raspbian OS.
>>
>> I wanted to migrate all configuration data from the existing
>> installation over to the new hardware.    All users, historical data,
>> spots etc.
>>
>> After I install and configure DX Spider, as far as I can tell I think I
>> need to copy (rsync) the following from existing to new Rpi:
>>
>> /spider/connect/*
>>
>> /spider/local/*
>>
>> /spider/local_cmd/*
>>
>> /spider/data/*
>>
>> This is all in hope that users will not know the difference once they
>> connect to the new upgraded node after I swap the hardware in.
>>
>> Are there any other files or directories I need to bring over? Thanks in
>> advance
>>
>> 73 Nick
>>
>> VE3EY-7
>>
>>
>>
>>
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20211220/b2c8d6de/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 20 Dec 2021 14:42:13 +0000
> From: Dirk Koopman <djk at tobit.co.uk>
> To: dxspider-support at tobit.co.uk
> Subject: Re: [Dxspider-support] Migrating data to new DX Spider node
> Message-ID: <3abff579-4d57-99af-f04b-c864448ec8eb at tobit.co.uk>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> The standard advice I give is to rsync -av the complete /spider tree to
> the new machine. If you to want to prune spots or logs, do that on the
> new machine. If you want to create a new instance - with a new callsign
> and suchlike - rsync -av it and then run update_sysop.pl after changing
> /spider/local/DXVars.pm on the new machine.
>
> You *have* attached a usb3 connected disk of some kind to the RPi4,
> haven't you? Because, if you haven't, your SDCard will wear out and you
> will be back here in 6-12months with a load of "weird" errors.
>
> 73 Dirk
>
> On 20/12/2021 14:28, Joaquin . via Dxspider-support wrote:
>> Hi Nick,
>>
>> Also: /spider/scripts
>>
>> Kin
>>
>>
>>
>>
>> El dom, 19 dic 2021 a las 17:49, Nick-VE3EY via Dxspider-support
>> (<dxspider-support at tobit.co.uk <mailto:dxspider-support at tobit.co.uk>>)
>> escribi?:
>>
>>      Hello Sysops.
>>
>>      I decided to build a new DX Spider node on Rpi4 with latest Spider
>>      code
>>      on most current Raspbian OS.
>>
>>      I wanted to migrate all configuration data from the existing
>>      installation over to the new hardware.??? All users, historical data,
>>      spots etc.
>>
>>      After I install and configure DX Spider, as far as I can tell I
>>      think I
>>      need to copy (rsync) the following from existing to new Rpi:
>>
>>      /spider/connect/*
>>
>>      /spider/local/*
>>
>>      /spider/local_cmd/*
>>
>>      /spider/data/*
>>
>>      This is all in hope that users will not know the difference once they
>>      connect to the new upgraded node after I swap the hardware in.
>>
>>      Are there any other files or directories I need to bring over?
>>      Thanks in
>>      advance
>>
>>      73 Nick
>>
>>      VE3EY-7
>>
>>
>>
>>
>>
>>      _______________________________________________
>>      Dxspider-support mailing list
>>      Dxspider-support at tobit.co.uk <mailto:Dxspider-support at tobit.co.uk>
>>      https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>      <https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support>
>>
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20211220/564ae22d/attachment-0001.htm>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 20 Dec 2021 10:08:07 -0500
> From: "Mike McCarthy, W1NR" <lists at w1nr.net>
> To: dxspider-support at tobit.co.uk
> Subject: Re: [Dxspider-support] Migrating data to new DX Spider node
> Message-ID: <7c098a4f-e678-44e9-d2ac-ca4e7cc390ad at w1nr.net>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> If you use SD cards for Linux...
>
> Always choose a card larger than you need. Get one rated for "High
> Endurance" use like those designed for surveillance cameras. Only
> allocate (partition and format) 2/3 of the disk. The unused 1/3 will be
> available to be re-mapped by the wear algorithms as bad spots get detected.
>
> Run fstrim on each mount point in a daily cron job.
>
> This will greatly extend the life of an SD card used for Linux. BUT you
> still need to back up. I do an rsync of the entire disk on my servers
> weekly and I'm using enterprise grade SSD's in a RAID array. With SD
> cards you need to be vigilant and expect the drive to fail at some time
> in the future.
>
> 73 de Mike, W1NR
>
> On 12/20/2021 9:42 AM, Dirk Koopman via Dxspider-support wrote:
>> You *have* attached a usb3 connected disk of some kind to the RPi4,
>> haven't you? Because, if you haven't, your SDCard will wear out and you
>> will be back here in 6-12months with a load of "weird" errors.
>>
>> 73 Dirk
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 21 Dec 2021 09:50:41 +0000
> From: Rob Harrison <g4ujs at outlook.com>
> To: The DXSpider Support list <dxspider-support at dxcluster.org>
> Subject: [Dxspider-support] Announces
> Message-ID:
> 	<DB9P251MB0289878E7EA64D36C7E89926E37C9 at DB9P251MB0289.EURP251.PROD.OUTLOOK.COM>
> 	
> Content-Type: text/plain; charset="us-ascii"
>
> Hi All,
>
> Almost reluctant to post this after the recent posts about beacons. Anyway my ann/full beacon has now been switched off and will not return, apologies for the years of unnecessary posts!
>
> Anyway, I want to send an hourly beacon to my locals....just to those on GB7UJS. I want to encourage them to start using my MOJO branch cluster GB7UJS-2
>
> I set up the 2 crontab jobs below, which I thought would avoid the hourly (???) dupe check as the text is slightly different (I didn't want to time/date stamp). However, they don't seem to be working and don't get sent to users every hour.
>
> Although if I do a sh/ann I see them there but they have a * in front of them. Really not sure what is happening
>
> Any guidance please
>
> #0 1,3,5,7,9,11,13,15,17,19,21,23 * * * run_cmd('ann GB7UJS users please consider using GB7UJS-2, just change your port to 7300. New version has more functions. See https://www.qrz.com/db/GB7UJS for full details. 73 de Rob G4UJS.')
> #0 0,2,4,6,8,10,12,14,16,18,20,22 * * * run_cmd('ann GB7UJS users please consider using GB7UJS-2, just change your port to 7300. New version has more functions. See https://www.qrz.com/db/GB7UJS for full details. 73 de Rob G4UJS')
>
> Regards
>
> Rob G4UJS
>
> Rob Harrison
>
> Green Lane House, Whixall, Shropshire, SY13 2PT.
> M: 07826 958358
> E: g4ujs at outlook.com<mailto:g4ujs at outlook.com>
>   _________________________________________________________________________________________________
>
> This e-mail and any attachments are not guaranteed to be free from viruses, and are for the intended addressee(s) only
> and may contain confidential and/or privileged material, so if you are not a named or intended addressee, do not use,
> retain or disclose such information.
> P Consider the environment. Please don't print this e-mail unless you really need to.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20211221/3e165169/attachment.htm>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> ------------------------------
>
> End of Dxspider-support Digest, Vol 227, Issue 63
> *************************************************



More information about the Dxspider-support mailing list