This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:use_case:how_to_perform_system_backup [2015/03/16 02:03] – solo | en:use_case:how_to_perform_system_backup [2015/05/15 07:17] (current) – [File Backup] liuxl | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| mysqldump -uroot -p astercc10 | gzip > astercc_db.sql.gz | mysqldump -uroot -p astercc10 | gzip > astercc_db.sql.gz | ||
| </ | </ | ||
| - | System will prompt for database root password, you can find it in / | + | System will prompt for database root password, you can find it in / |
| + | <note warning> | ||
| ===== File Backup ===== | ===== File Backup ===== | ||
| + | < | ||
| + | sudo tar czfP astercc_files.tar.gz / | ||
| + | </ | ||
| + | ===== Download Backup files===== | ||
| + | Now you have two files astercc_db.sql.gzip and astercc_files.tar.gz, | ||
| + | < | ||
| + | sudo mv astercc_files.tar.gz astercc_db.sql.gzip / | ||
| + | </ | ||
| + | Then you can download by visiting | ||
| + | |||
| + | | ||
| + | |||
| + | and | ||
| + | |||
| + | | ||
| + | |||
| + | <note tip>If you use CentOS,you can download by "wget http://your ip/ | ||