Skip to content

Chris Taylor Developer

Guernsey and Jersey, Channel Islands, UK

  • Contact
  • Posts
  • Developer
    • Engineering notes
    • Links
    • Work with me
    • Clients area
  • About

Tag: socks

Backup mysql database via socks tunnel

By chris Last updated: 25 January 202112 September 2021

The following bash script will open a socks tunnel with a remote host and use a local mysqldump cli tool to backup a mysql database. #!/bin/sh DT=$(date ‘+%Y-%m-%dT%H:%M:%S’) SUFFIX= FILENAME=$DT$SUFFIX BACKUPSPATH= USER= IP= PORT= DBUSER=…

Read more of Backup mysql database via socks tunnel →

Posted in Backing up Tagged mysqldump, socks
© Copyright Chris Taylor Developer. All rights reserved.