From Emerald Bat, 9 Months ago, written in Plain Text.
  1.  
  2.  
  3.     #backup databases
  4.     export RESTIC_PASSWORD=(password)
  5.     set -eo pipefail
  6.     mysqldump -u root -(password) --all-databases | restic -r /run/media/orca/DataCabinet backup --tag database --stdin --stdin-filename program.sql
  7.  
  8.     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
  9.     restic -r /run/media/orca/DataCabinet backup --tag system /etc/cron.d/program*
  10.     crontab -u root -l | restic -r /run/media/orca/DataCabinet backup --tag system --stdin --stdin-filename root.cron
  11.     restic -r /run/media/orca/DataCabinet backup --tag system /var/tinydns/root/data /etc/sysconfig/network-scripts
  12.  

Replies to Untitled rss

Title Name Language When
Re: Untitled Elder Lund text 9 Months ago.
captcha