Backup: Difference between revisions

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

List of backup software.

=== BackupPC ===
See [[BackupPC]].

=== Bup ===
See [[Bup]].

=== Burp ===
See [[Burp]].

== What? ==

A backup checklist.

=== On Linux ===
* {{file|/home}} directory
* {{file|/home}} directory
* {{file|/etc}} directory
* {{file|/etc}} directory
Line 6: Line 24:
In addition:
In addition:
* Get a copy of crontab (although they are in {{file|/var}}. For each user:
* Get a copy of crontab (although they are in {{file|/var}}. For each user:
<source lang="bash">
crontab -l
crontab -l
</source>
* Copy all mysql database (although they are in {{file|/var}} and {{file|/etc}}.
* Copy all mysql database (although they are in {{file|/var}} and {{file|/etc}}.
<source lang="bash">
sudo su -
sudo su -
mysqldump -u root -p --all-databases > mysql-$hostname.dump
mysqldump -u root -p --all-databases > mysql-$hostname.dump
</source>

Revision as of 05:43, 27 April 2017

How?

List of backup software.

BackupPC

See BackupPC.

Bup

See Bup.

Burp

See Burp.

What?

A backup checklist.

On Linux

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