Backup: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
Line 1: | Line 1: | ||
* {{file|/home |
* {{file|/home}} directory |
||
* {{file|/etc |
* {{file|/etc}} directory |
||
* {{file|/usr/local |
* {{file|/usr/local}} directory |
||
* {{file|/root |
* {{file|/root}} directory |
||
In addition: |
In addition: |
Revision as of 04:34, 29 September 2016
- /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