Backup

From Federal Burro of Information
Revision as of 01:05, 16 April 2024 by David (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

back up catalogue:

Machines

  • machine: piccolo
    • source: home dir ( C:\Documents and Settings\David )
      • desitnation H:\desktop\piccolo\david

Data Stores

  1. DOCS
  2. Archive
  3. Backups
  • from 320 gb drive to 1 TB drive
  • how: sync scripts on cydonia


Application Data

EVE

Media Wiki

Backup

nice -n 19 /usr/bin/mysqldump -u root -p wikidb2 -c | nice -n 19 /bin/gzip -9 > ~/backup/wikidb-$(date '+%Y%m%d').sql.gz

restore

zcat wikidb-20110206.sql.gz | nice -n 19 /usr/bin/mysqldump -u root -p wikidb2 -c

2024 update

nice -n 19 /usr/bin/mysqldump -u wikiuser -p wikidb -c | nice -n 19 /bin/gzip -9 > ~/backup/wikidb-$(date '+%Y%m%d').sql.gz


Also See