From Elder Lund, 1 Year ago, written in Plain Text.
This paste is a reply to Untitled from Emerald Bat - go back
Viewing differences between Untitled and Re: Untitled
\n\n #backup databases\n #!/bin/bash

export RESTIC_PASSWORD=(password)
RESTIC_PASSWORD=(password)
set -eo pipefail
pipefail

mysqldump -u root -(password) -p(password) --all-databases | > databases.sql
crontab -u root -l > root.cron

restic -r /run/media/orca/DataCabinet backup --tag database --stdin --stdin-filename program.sql

restic -r /run/media/orca/DataCabinet backup --tag system
/home/program /etc/httpd/conf /etc/httpd/conf.d /var/www/html /var/www/cgi-bin /home/vpopmail/domains /var/qmail/control /var/qmail/users
restic -r /run/media/orca/DataCabinet backup --tag system
/var/qmail/users /etc/cron.d/program*
crontab -u root -l | restic -r /run/media/orca/DataCabinet backup --tag system --stdin --stdin-filename
d/program* root.cron
restic -r /run/media/orca/DataCabinet backup --tag system
cron databases.sql /var/tinydns/root/data /etc/sysconfig/network-scripts

Replies to Re: Untitled rss

Title Name Language When
Re: Re: Untitled Wet Mockingbird text 1 Year ago.
captcha