Changes

Jump to navigation Jump to search
pg_dump -Fc vcdb20h1 > vcdb20h1_Fc.dump
pg_dump -Fc vcdb4 > vcdb4_Fc.dump
mysql -u root -p
SHOW DATABASES;
\q
mysqldump --databases --password mcnair > mcnair.sql
mysqldump --databases --password wordpress > wordpress.sql
mysqldump --password mcnair > mediawiki.sql
Do the file transfers
mkdir /media/usb/mother-2020-08-09/bulk
rsync -av --progress --exclude="mcnair" /bulk/ /media/usb/mother-2020-08-09/bulk/
mv /media/usb/mother-2020-08-09/bulk/backups/lbo_Fc.dump /media/usb/mother-2020-08-09/bulk/backups/lbo_Fc.dump.org rsync -av --progress /bulk/backups /media/usb/mother-2020-08-09/bulk/backups mkdir /media/usb/mother-2020-08-09/html rsync -av --progress /var/www/html/ /media/usb/mother-2020-08-09/html/
Finally:

Navigation menu