BackUp Service Installation
From Gentoo Linux Wiki
| Installation • Kernel & Hardware • Networks • Portage • Software • System • X Server • Gaming • Non-x86 • Emulators • Misc |
- This page is a candidate for deletion
- Reason given: Entire article series:
- Very basic with installation instructions only and absolutely no explanations.
- Frequent abuses of USE and ACCEPT_KEYWORDS.
- A number of other security problems.
- All these subjects are already covered by far more indepth articles.
- Needs tidying and wikification.
- If you disagree with its deletion, please explain why on its discussion page.
- If you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
- Make sure no other pages link here and check the page's history before deleting.
This article is still a Stub. You can help Gentoo-Wiki by expanding it.
|
HOWTO The Home Network for Beginners |
|
| File: /etc/cron.daily/run_reoback.sh |
#!/bin/sh # Backup mysql databases mkdir /backup/mysql mysqlhotcopy -u root --password="********" --regexp=. /backup/mysql/ # Location of the configuration file. config=/etc/reoback/settings.conf # Change to reflect where REOBack is installed reoback=/usr/sbin/reoback.pl # Do not modify this line. $reoback $config # Removing mysql folder rm -r /backup/mysql |
# nano -w /etc/reoback/settings.conf
| File: /etc/reoback/settings.conf |
# Used only as an identifier for this backup. Normally the hostname. host = localhost # This is the number of days you want to keep backups. backupdays = 7 # Definitions of files/directories to backup. files = /etc/reoback/files.conf # Directory to store temporary files generated by REOBack. tmpdir = /backup/reoback/tmp/ # Directory to store data files generated by REOBack. Files created # here are files used to keep track of FULL/INCREMENTAL backups. datadir = /backup/reoback/data/ # Location of where to keep local backups. Also use as a temporary # storage of archives for transfer. Keep trailing slash! localbackup = /backup/reoback/backups/ # 1 = Keep local backups, 0 = Do not keep local backups keeplocalcopy = 1 # 1 = Transfer to remote location, 0 = Do not transfer remotebackup = 0 |
# nano -w /etc/reoback/files.conf
| File: /etc/reoback/files.conf |
File: MySQL /backup/mysql File: Mails_Testsite1 /var/vpopmail/domains/testsite1.ath.cx File: Mails_TestSite2 /var/vpopmail/domains/testsite2.ath.cx File: HomeDir_TestUser /home/testuser |
# crontab -u root -e
| File: /tmp/crontab.XXXXXXX |
10 3 * * * sh /etc/cron.daily/run_reoback.sh >> /backup/logs/backup.log |
# mkdir /backup/logs
