Feature #2637

Backup to sysmocom's backup system

Added by zecke about 1 year ago. Updated 8 months ago.

Target version:
Start date:
Due date:
% Done:


Spec Reference:


The existing backup is to my personal NAS but due to my current housing situation it can't be powered 24/7 which means backups might not be current. It is better to backup to an offsite system that is always reachable.

The current set-up consists out of:

  • A OpenVPN server on (backup-openvpn)
  • The remote NAS using OpenVPN client to connect to backup-openvpn
  • /root/backup/ is executed by cron

I think to migrate to rsnapshot we would need:

  • Decide if the sysmocom-backup uses OpenVPN client or we are using the existing jenkins<->sysmocom link?
  • Convert to something usable by rsnapshot
  • Verify it is working?

How can I help? Should I do the config for rsnapshot?


#1 Updated by laforge about 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

this is actually already running, AFAICT. I'm havin trouble getting the crontab to actually execute ("crontab -e" as root on rita and sysmocom-admin), and I haven't yet tested to restore any of those backups, but at least a big step is already done.

#2 Updated by laforge 8 months ago

  • Priority changed from Normal to Urgent

it seems there's some routing related issue why rita can no longer reach the backup server

#3 Updated by zecke 8 months ago

Note to myself. "rs-backup" was configured to connect to at sysmocom. Using this IPv4 address piggy-backed the VPN set-up to allow Jenkins to connect to the GSM tester at sysmocom. I assume when jenkins was moved to another machine this VPN was manually shutdown and hence broke the back-up.

Looks like someone stopped an OpenVPN instance?

   824    13:54    cd /usr/local/etc/openvpn/
   826    13:54    cat openvpn.conf
   829    14:04    c64 ; 1 ; 2 ; 6 ; 9 ; 15 ; 18 ; 21 ; 22cat openvpn.conf
   830    14:04    cat openvpn.conf
   832    14:07    cat openvpn.conf
   835    14:12    ./openvpn stop
   841    15:01    cd openvpn

#4 Updated by laforge 8 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)