Home / Linux / RV Offsite Backup Update | Linux Journal
RV Offsite Backup Update | Linux Journal
RV Offsite Backup Update | Linux Journal

RV Offsite Backup Update | Linux Journal

RV Offsite Backup Update | Linux Journal

Having an offsite backup for your RV is superb, and after a 12 months of use,
I have came upon many ways to make it even higher.

Last 12 months I wrote a feature-length article at the knowledge backup machine I
arrange for my RV (see Kyle’s “DIY
RV Offsite Backup and Media Server”
from the June 2018 factor of
LJ). If you have not learn that article but, I like to recommend
checking it out first so you’ll be able to get main points at the machine. In abstract,
I arrange a Raspberry Pi media heart PC attached to a 12V tv
within the RV. I attached an 8TB onerous force to that machine and
synchronized all of my recordsdata and media so it acted as one of those
off-site backup. Finally, I arrange a script that might try to sync
over all of the ones recordsdata from my NAS every time it detected that the RV used to be on
the native community. So right here, I supply an replace on how that
machine is operating and a couple of tweaks I have made to it since.

What Works

Overall, the media heart has labored smartly. It’s been nice to have all
of my media with me when I am on a street go back and forth, and my son appreciates
gaining access to his favourite cartoons. Because the interface is
similar to the media heart we have now at house, there is not any finding out
curve—the entirety simply works. Since the Raspberry Pi is powered off
the TV within the RV, you simply want to flip at the TV and the entirety fires

It’s additionally been nice realizing that I’ve a just right backup of all of my
recordsdata close by. Should the rest occur to my area or my major NAS, I do know
that I will simply get backups from the RV. Having peace of thoughts about
your essential recordsdata is efficacious, and it is great realizing within the worst
case when my NAS broke, I may simply disconnect my USB force from the
RV, attach it to an area machine, and be again up and working.

The WiFi booster I arrange at the RV additionally has labored lovely smartly to
build up the variability of the Raspberry Pi (and the laptops throughout the RV)
when at the street. When we get to a campsite that occurs to provide WiFi,
I simply reset the booster and arrange a brand new get admission to level that amplifies
the campsite sign for throughout the RV. On one go back and forth, I even took it out
of the RV and within a lodge room to spice up the vulnerable sign.

Room for Improvement

For probably the most section, I go away my RV plugged in when I am at house, however as a result of
the Raspberry Pi is powered off the TV, I do not essentially go away it
on at all times. Every week or so, I generally tend to show it on for an afternoon or
two to make certain that recordsdata are in sync, however I understand it can be a
lot higher if I simply left the Raspberry Pi on unbiased from the TV.
Even even though OSMC boots up briefly at the Raspberry Pi, it could be
lovely great for it to be in a position to head the instant I became at the TV.
Since the Raspberry Pi does not draw a lot energy when idle, I do not
actually want to fear about it draining my area batteries if I go away it
on at house—particularly because the RV is normally plugged in at house.

The WiFi booster works, however via default, it simply provides “_8C” to the far flung
get admission to level’s SSID. It additionally, via default, reuses the far flung get admission to
level’s password. This manner you chance other folks close by the use of your
get admission to level, pondering it is probably the most respectable repeaters. I have taken
to converting the default SSID it selections to one thing customized to me,
however sadly thus far, I have not discovered some way within the interface to provide my
boosted AP a distinct password, which means that that despite the fact that I select a
constant SSID for my WiFi booster, I nonetheless must reconfigure
laptops and the Raspberry Pi to make use of a distinct password.

I have began to wonder if it would make extra sense to attach a
higher-powered USB WiFi card with an exterior antenna to the Raspberry
Pi and switch it into the repeater as a substitute. Then I may use the OSMC
interface to connect with far flung get admission to issues and course connections over
the get admission to level I arrange at the Raspberry Pi.

Another factor I have run into when on lengthy street journeys is that whilst I am
the street, my RV is not in sync with my house NAS. That manner if
any new media presentations up on my house NAS, I would possibly not have it at the street. For
instance, if I adopted numerous podcasts and saved them on my
NAS, it could be great if new ones would additionally display up on my RV when
I am at the street.

Syncing from the Road

I used to be making plans to take an epic multi-week street go back and forth throughout America, and
I noticed a easy approach I may make certain I had new media with me on
the street—a VPN. These days, many of us call to mind VPNs simply within the
context of safety and privateness in an effort to offer protection to their techniques from
snooping via their ISP or from an area espresso store they’re attached
to. VPNs even though are only a approach so that you can attach two depended on networks
securely over a probably untrusted community. This is strictly what I
wanted for my RV.

By having a VPN connection between my Raspberry Pi and my house NAS, it
may connect with my house community anyplace it used to be out on the earth, supplied
it had a WiFi connection. What’s extra, since OpenVPN will also be configured
to assign purchasers a constant IP once they attach, when I set it up,
all I needed to do at the server aspect used to be adjust an area hosts access to
level to the VPN IP as a substitute of the RV’s customary IP at the native community,
and the sync script may keep the similar.

I already had arrange a easy native Puppet server on my house community
and added a module to control my VPN configuration, so it used to be slightly
easy so as to add a brand new shopper for my RV and generate a collection of keys and
configuration recordsdata. On the RV aspect, I simply copied over that shopper key
and configuration, and I made positive that OpenVPN used to be put in at the RV’s
Raspberry Pi. Finally, I edited the /and so on/default/openvpn record to make
positive my shopper configuration used to be set as much as get started via default, and I additionally
used systemctl to permit that OpenVPN shopper so it began at boot.

Once I arrange the VPN, I showed that the sync script nonetheless labored
over the brand new VPN IP whilst I used to be on my house community. The good thing
about OpenVPN purchasers is that they’re power—if a connection
drops, it frequently will attempt to reconnect. This intended that after the
Raspberry Pi used to be attached to a WiFi get admission to level, it used to be only a subject
of time prior to the VPN connection used to be restored.

We in the end took our epic summer season street go back and forth, and a couple of week into it, we
discovered there used to be some new media at house we might love to have within the RV.
We came about to be at a campsite that presented WiFi, so after we camped
there that night, prior to we went to mattress, I reconnected the Raspberry
Pi so it used to be powered off a 12V USB adapter as a substitute of the TV. That
approach, I may go away it on in a single day with out the glow from the TV making
it onerous to sleep. I logged in to my NAS at house and showed I may
ssh in to my RV from there after which went to mattress. When I
aroused from sleep, I
checked the media heart, and likely sufficient, new recordsdata were copied
over to the RV in a single day whilst we slept!


This tale would not be whole even though and not using a mistake. At some
level in our earlier travels, I had attached the Raspberry Pi to my
mobile phone’s tethering plan, and it had remembered that get admission to level. We
came about to be at every other campground that presented WiFi, so I made up our minds to
go away the Raspberry Pi on in a single day once more to get synced again up.
Unfortunately, the WiFi on the campsite did not paintings, and so we were
tethering our laptops off of my cellphone. When I went to mattress that evening, I
forgot to disable tethering on my cellphone, and once I aroused from sleep that
I came upon the telephone’s battery used to be utterly tired!

The second I noticed the battery used to be tired, I noticed what had
came about. I checked my knowledge plan, and likely sufficient, I had an enormous spike
over the last night. The Raspberry Pi had remembered that get admission to
level, had tethered over my mobile phone, and it had synced a number of media
over whilst we have been slumbering! Fortunately, although my plan is
metered, it has a cap in position that converts into “unlimited mode” as soon as
you utilize a certain quantity of knowledge, but when that hadn’t been in position, it
would had been a crisis. Suffice it to mention, I went into the Raspberry Pi
configuration and got rid of that get admission to level so it would not occur
once more.


I have been more than happy with the use of my RV media heart as an offsite
backup, and with the addition of a VPN, it is been even higher to have new
media whilst I am at the street. I simply want to discover a cost-effective approach
to stay the Raspberry Pi on and on-line with out racking up an enormous
cell-phone invoice, after which I’m going to really have an always-up-to-date off-site
backup. Since my ultimate street go back and forth, I have considered numerous
enhancements to this setup, so keep tuned for long term articles the place
I’m going to
describe much more updates.

Check Also

How to Watch TCP and UDP Ports in Real-time

How to Watch TCP and UDP Ports in Real-time

How to Watch TCP and UDP Ports in Real-time In tool phrases, particularly on the …

Leave a Reply

Your email address will not be published. Required fields are marked *


Recent Posts