Difference between revisions of "Making backups"

From TermWiki
Jump to: navigation, search
(Ođđa siidu: * mysqldump -u userid -p dbname | gzip > backup-$(date +%Y-%m-%d).sql.gz * tar jcf ~/mediawiki-$(date +%Y-%m-%d).tar.bz2 /var/www/html/termwiki)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
* mysqldump -u userid -p dbname | gzip > backup-$(date +%Y-%m-%d).sql.gz
 
* mysqldump -u userid -p dbname | gzip > backup-$(date +%Y-%m-%d).sql.gz
 
* tar jcf ~/mediawiki-$(date +%Y-%m-%d).tar.bz2 /var/www/html/termwiki
 
* tar jcf ~/mediawiki-$(date +%Y-%m-%d).tar.bz2 /var/www/html/termwiki
 +
 +
[[Kategoriija:Veahkki]]

Latest revision as of 10:29, 29 October 2018

  • mysqldump -u userid -p dbname | gzip > backup-$(date +%Y-%m-%d).sql.gz
  • tar jcf ~/mediawiki-$(date +%Y-%m-%d).tar.bz2 /var/www/html/termwiki