<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.tonytascioglu.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.tonytascioglu.com/feed.php">
        <title>Tony Tascioglu Wiki - scripts:backups</title>
        <description>TechnoTony Wiki - Tony Tascioglu's personal public knowledge-base!</description>
        <link>https://wiki.tonytascioglu.com/</link>
        <image rdf:resource="https://wiki.tonytascioglu.com/_media/wiki/logo.png" />
       <dc:date>2026-04-12T02:08:06+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.tonytascioglu.com/scripts/backups/dump_mysql_over_ssh?rev=1673824260"/>
                <rdf:li rdf:resource="https://wiki.tonytascioglu.com/scripts/backups/tar_over_ssh?rev=1673824386"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.tonytascioglu.com/_media/wiki/logo.png">
        <title>Tony Tascioglu Wiki</title>
        <link>https://wiki.tonytascioglu.com/</link>
        <url>https://wiki.tonytascioglu.com/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://wiki.tonytascioglu.com/scripts/backups/dump_mysql_over_ssh?rev=1673824260">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-15T23:11:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Dump and Backup a MySQL Database over SSH</title>
        <link>https://wiki.tonytascioglu.com/scripts/backups/dump_mysql_over_ssh?rev=1673824260</link>
        <description>Dump and Backup a MySQL Database over SSH

To do pull-backups of MySQL database tables from a server over SSH, I've found that just piping the data over SSH similar to how you would to run TAR over SSH works surprisingly well.

Depending on whether you use password with your database, or, rely on unix authentication, you will need to either use -p after the -u root or sudo.</description>
    </item>
    <item rdf:about="https://wiki.tonytascioglu.com/scripts/backups/tar_over_ssh?rev=1673824386">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-15T23:13:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TAR a system over SSH</title>
        <link>https://wiki.tonytascioglu.com/scripts/backups/tar_over_ssh?rev=1673824386</link>
        <description>TAR a system over SSH

Here is a sample command. You may need sudo/access to files/etc. I assume you can sort that out.
ssh user@host sudo tar -cvpf - --one-file-system / &gt; backup-(date +%Y-%m-%d--%H-%M).tar

This will print the file list to you over stdout, and create a tar file piped to your local system with the root filesystem.
Simple and effective to back up a VPS. SSH is encrypted, so this should be fine from that regard.</description>
    </item>
</rdf:RDF>
