Backup

From miki
Revision as of 08:31, 24 June 2015 by Mip (talk | contribs) (Created page with "* {{file|/home directory}} * {{file|/etc directory}} * {{file|/usr/local directory}} * {{file|/root directory}} In addition: * Get a copy of crontab (although they are in {{f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • /home directory
  • /etc directory
  • /usr/local directory
  • /root directory

In addition:

  • Get a copy of crontab (although they are in /var. For each user:
crontab -l
  • Copy all mysql database (although they are in /var and /etc.
sudo su -
mysqldump -u root -p --all-databases > mysql-$hostname.dump