documentation/backup.8

32 lines
798 B
Groff
Raw Normal View History

.TH backup 8 "24 September 2021" 1.0 "Thunix backup"
2021-09-24 22:24:56 +00:00
.SH NAME
backup - creating data backup script
2021-09-24 22:24:56 +00:00
.SH SYNOPSIS
backup
2021-09-24 22:24:56 +00:00
.SH DESCRIPTION
Thunix uses a daily cron job that runs /usr/local/bin/backup
2021-09-27 11:53:14 +00:00
script to store tar gzip compressed files located on local disk in BACKUPS
2021-09-24 22:24:56 +00:00
2021-10-06 15:25:39 +00:00
The files matching patterns listed in ~/.thunix/nobackup will be excluded.
Cycle: Full weekly and incrementals daily.
2021-09-24 22:24:56 +00:00
Incremental backup restore process:
2021-10-06 16:01:28 +00:00
Extract files from the full backup:
tar -x -f BACKUPS/DATE-full.tgz
Then, extract files in the correct order, up to DATE, from each incremental backup:
tar -x -g /dev/null -f BACKUPS/DATE-incremental.tgz
2021-09-24 22:24:56 +00:00
.SH BUGS
No known bugs.
2021-09-24 22:24:56 +00:00
.SH SEE ALSO
tar(1), gzip(1), crontab(1), find(1), mysqldump(1)
2021-09-24 22:24:56 +00:00
.SH AUTHOR
The official Thunix wiki (http://wiki.thunix.net)