Backup: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
m (Mip moved page Backup checklist to Backup: Small page, moved to a bigger one)

Revision as of 05:35, 27 April 2017

  • /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